Confirm restore worked by logging into your instance
Run a backup. Either wait for cron task to execute or manually run command docker run --rm --network wt_mongo -v /mnt/home:/backup -v /home/core/rclone/:/conf wholetale/backup backup.sh -c cluster_id where cluster_id is a unique name for your cluster. This will create in Box WT// containing tgz files for both home directories and mongodb.
Confirm files are present via rclone (in backup container)
rclone --config /conf/rclone.conf ls backup:WT/<cluster_id>/<date>
By default, it will only retain backups for 7 days.
Along with repo https://github.com/whole-tale/backup This PR fixes https://github.com/whole-tale/terraform_deployment/issues/11
Changes:
Test case:
variables.tf
as per usual, then runterraform apply
ssh <fileserver>
and confirm/etc/systemd/system/backup.service
andbackup.timer
are presentinit-mongo.sh
to replace the domain and globus credentials. This step requires restarting Girder.docker run --rm --network wt_mongo -v /mnt/home:/backup -v /home/core/rclone/:/conf wholetale/backup backup.sh -c cluster_id
wherecluster_id
is a unique name for your cluster. This will create in Box WT/By default, it will only retain backups for 7 days.