From: Chris Koeritz Date: Wed, 6 Jul 2016 13:59:05 +0000 (-0400) Subject: new cron job for backing up a git account that serves the git revision subsystem... X-Git-Tag: 2.140.90~515 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=226e7028b02e8ef1bbeba7e01168f4b371fb4bfd;p=feisty_meow.git new cron job for backing up a git account that serves the git revision subsystem, where the account itself holds all the data. --- 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.