From 226e7028b02e8ef1bbeba7e01168f4b371fb4bfd Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 6 Jul 2016 09:59:05 -0400 Subject: [PATCH] new cron job for backing up a git account that serves the git revision subsystem, where the account itself holds all the data. --- infobase/configuration/cron/git_account_backup.crontab | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 infobase/configuration/cron/git_account_backup.crontab diff --git a/infobase/configuration/cron/git_account_backup.crontab b/infobase/configuration/cron/git_account_backup.crontab new file mode 100644 index 00000000..77036adf --- /dev/null +++ b/infobase/configuration/cron/git_account_backup.crontab @@ -0,0 +1,10 @@ + +SHELL=/bin/bash + +# m h dom mon dow command + +USER=fred + +34 20 * * 5 tar -czf /z/stuffing/archives/git_archive_$(date +"\%Y_\%m_\%d_\%H\%M_\%S" | tr -d '/\n/').tar.gz /home/git >/home/git/archiving_log.txt + +# archives the whole ~git folder with all account databases into a compressed tar file. -- 2.34.1