Hi GOCD
I am running gocd-server as a docker container
I need to backup the gocd-server db and config files so i have written a cron job to do backup and it was stored on /go-working-dir/artifacts/serverBackups
But i need to move those backup files which stored on docker container to outside the container
On
Admin->Backup->Configure Backup Setting there we have an option called
Post backup script where they suggested as "After a backup is completed, GoCD will invoke this script, allowing you to copy the backup to another machine or service. See the
help documentation for more information."
The documentation is not helping me to do write scripts
Can any one help me how to write the post backup script to move the files from docker container to local machine folder?