feat(backups): add automated backups
This commit is contained in:
parent
d1248694db
commit
a9f196e0aa
3 changed files with 5 additions and 3 deletions
|
@ -32,6 +32,7 @@ rsync-cmd() {
|
|||
|
||||
export BORG_REPO="tria.waarp.org:~/borg-backups"
|
||||
export BORG_PASSCOMMAND='secret-tool lookup borg passphrase'
|
||||
export BORG_RSH="ssh -i $HOME/.ssh/bca-work-worklaptop"
|
||||
|
||||
borg create \
|
||||
--verbose \
|
||||
|
@ -47,7 +48,7 @@ borg create \
|
|||
borg prune \
|
||||
--list \
|
||||
--show-rc \
|
||||
--keep-hourly 24 \
|
||||
--keep-hourly 24 \
|
||||
--keep-daily 7 \
|
||||
--keep-weekly 4 \
|
||||
--keep-monthly 6 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue