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 
<https://docs.gocd.org/21.3.0/advanced_usage/cron_backup.html> 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?



-- 


This e-mail (and any
attachments), is confidential and may be privileged. 
It may be read, copied and
used only by intended recipients. Unauthorized 
access to this e-mail (or
attachments) and disclosure or copying of its 
contents or any action taken in reliance
on it is unlawful. Unintended 
recipients must notify the sender immediately by
e-mail or phone and delete 
it from their system without making any copies or
disclosing it to a third 
person. BRIDGEi2i Analytics Solutions reserves the right to store, monitor 
and
review the content of all messages sent to or from this email address.

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/e5ff6971-c654-4b9b-9d87-d8d3d65e7d1fn%40googlegroups.com.

Reply via email to