Add upgrade, restart-overnight-backups scripts for generic backup app
This commit is contained in:
parent
067c02e965
commit
0b5f6234ad
4 changed files with 46 additions and 17 deletions
5
rattail_fabric2/deploy/backup/restart-overnight-backups.sh.mako
Executable file
5
rattail_fabric2/deploy/backup/restart-overnight-backups.sh.mako
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
DATE=`date --date='yesterday' +%Y-%m-%d`
|
||||
|
||||
echo "${envpath}/bin/rattail -c ${envpath}/app/silent.conf --no-versioning run-n-mail -S 'Backups (continued)' '${envpath}/app/overnight-backups.sh $DATE'" | at 'now + 1 minute'
|
Loading…
Add table
Add a link
Reference in a new issue