diff options
| author | EuAndreh <eu@euandre.org> | 2020-11-12 11:30:46 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2020-11-12 11:30:46 -0300 |
| commit | d3fc775e8c6b626a914f0c6c23a9d422a727533f (patch) | |
| tree | 2b9944242fe69edc9d9987c12ade70e0be4c7cd6 /scripts | |
| parent | common.nix: Append .euandreh to cron log files (diff) | |
| download | dotfiles-d3fc775e8c6b626a914f0c6c23a9d422a727533f.tar.gz dotfiles-d3fc775e8c6b626a914f0c6c23a9d422a727533f.tar.xz | |
backup.sh: Add backup pruning
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/ad-hoc/backup.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/ad-hoc/backup.sh b/scripts/ad-hoc/backup.sh index 1a6dc8e8..a2aabfc2 100755 --- a/scripts/ad-hoc/backup.sh +++ b/scripts/ad-hoc/backup.sh @@ -29,6 +29,8 @@ borg create \ ~/.elfeed/ # add folders to be backed up here +borg prune --keep-last 10 --verbose "$R:desktop-borg" + cd ~/dev/libre/others/borg/ git add . git commit -m 'JOB: automated update of borg config files after backup.sh' |
