aliases: Set new global borg location on thewarehouse
This commit is contained in:
parent
e3362805b4
commit
9cfe45a8d8
@ -9,6 +9,6 @@ borgArgs="--compression auto,lzma \
|
||||
backupTargets="/home/adam/ /etc/"
|
||||
|
||||
alias borg-backup="sudo borg create /run/media/adam/Backup/borg-backups::$backupName $backupTargets $borgArgs"
|
||||
alias borg-backup-home="sudo BORG_RSH='sudo -u adam ssh' borg create thewarehouse:borg-backups::$backupName $backupTargets $borgArgs --files-cache=ctime,size --remote-path /var/services/homes/adam/bin/borg"
|
||||
alias borg-backup-home="sudo BORG_RSH='sudo -u adam ssh' borg create thewarehouse:borg-backups::$backupName $backupTargets $borgArgs --files-cache=ctime,size --remote-path /usr/local/bin/borg"
|
||||
|
||||
unset backupName borgArgs backupTargets
|
||||
|
Loading…
Reference in New Issue
Block a user