summaryrefslogtreecommitdiffstats
path: root/backup.sh
AgeCommit message (Collapse)AuthorFilesLines
2022-03-13backup.sh: Remove deprecation warning with borg 1.2Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-05-10backup.sh: Fix broken prune when doing full backupFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-02-14backup.sh: Show added/modified files when run interactivelyFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-01-27backup.sh: Only keep partial backups for 31 daysFlorian Pritz1-1/+1
It's difficult enough to recover from full + partial backups, but partial backups are really just a way to quickly save some stuff to the backup repo. They shouldn't be kept for very long. Also the partial- prefix is used by all partial backups, regardless of their actual content. different partial backups could contain different paths so once we start pruning some, we can't really use the others any more. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-01-27backup.sh: Only purge when doing full backupsFlorian Pritz1-2/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-01-27backup.sh: Error on undefined variablesFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-01-25backup.sh: Only create backup-data files when in backup pathFlorian Pritz1-11/+13
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-01-19backup.sh: Add mdadm and vgcfgbackup to backup-dataFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2020-01-19backup.sh: Support partial backupsFlorian Pritz1-6/+19
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-04-22miscFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-03-25backup.sh: Use $(hostname) instead of env variableFlorian Pritz1-2/+1
This way we don't have to worry about zsh and bash Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-20backup.sh: Add configuration file supportFlorian Pritz1-28/+53
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-20backup.sh: Only display stats on consoleFlorian Pritz1-2/+1
Keep cronjob mails or logfiles clean of stats. They can be viewed on demand with borg info. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-20backup.sh: Add email to copyrightFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-20backup.sh: Add licenseFlorian Pritz1-0/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-15backup.sh: Improve prune command to reduce number of archivesFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-16backup.sh: Fix possible quoting issue in exclude_mountpointsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-16backup.sh: Remove duplicate code; remove left over variableFlorian Pritz1-2/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-16backup.sh: disable --progress for cronjobs; add commentFlorian Pritz1-10/+14
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-14backup.sh: Add timestamp fileFlorian Pritz1-1/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-14backup.sh: Remove unused variableFlorian Pritz1-4/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-14backup.sh: Misc changes; drop duplicityFlorian Pritz1-52/+13
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-04-13backup.sh: Add borg support; improve fs whitelistingFlorian Pritz1-33/+58
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-01-21backup.sh: Drop logfileFlorian Pritz1-2/+1
Grows way too large Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-01-15backup.sh: Add missing variable; add timestamp fileFlorian Pritz1-1/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-12-05backup.sh: misc changesFlorian Pritz1-9/+18
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-28backup.sh: Fix seek error in globbing file listFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-13backup.sh: Rwrite the scriptFlorian Pritz1-16/+115
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-01-25backup.sh: fix typoFlorian Pritz1-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-01-23backup.sh: update for duplicity 0.7Florian Pritz1-5/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-09-13misc changesFlorian Pritz1-0/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-06backup.sh: comments; use sudo if necessary use sudo if necessaryFlorian Pritz1-12/+18
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-06-03misc changesFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-01-10add backup.shFlorian Pritz1-0/+39
Signed-off-by: Florian Pritz <bluewind@xinu.at>