summaryrefslogtreecommitdiffstats
path: root/backup.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-09-04backup.sh: do not allocate ttyCorentin LABBE1-6/+6
For backuping we dont need a tty. Furthermore, this break AGL cron backup.
2019-12-09backup.sh: remove docker interactive switch (does not work through crontab)Philippe Mazet1-6/+6
2019-12-06backup.sh: avoid "file changed as we read it" errorPhilippe Mazet1-1/+2
In some case (long jobs), backup failed because some files were changed during tar operation.
2019-12-06backup.sh: allow using different tmp dirPhilippe Mazet1-0/+5
When backup size grows, we had cases where tar was filling up /tmp This patch allows specifying a different tmp dir, used by tar (through TMPDIR variable). Example usage: TMPDIR=/home/user/mytempdir ./backup.sh
2018-12-11backup: backup also devices filesCorentin LABBE1-0/+4
The current way to do backup assume that slave will be restarted after each master maintainance. If master is restarted from backup without slaves restarting bring to devices files missing. By backuping devices, a master can be restored from backup without needing slaves worker to be restarted.
2018-12-11backup: remove backup-latest linkCorentin LABBE1-0/+1
When backup-latest destination exists, the new backup-latest is created inside. The simpliest way fo fix that is to always remove backup-latest before creating it.
2018-11-02backup: Create a symlink to recent backupCorentin LABBE1-0/+1
backup will now create a backup-latest symlink to the backup just being made.
2018-07-20Permit to backup/restore lavaserver databaseCorentin LABBE1-0/+22
This patch add an easy way to backup postgresql database and needed data stored in filesystem. In the mean time, a way to restore backup during start is added