Remove borg aliases, as I have switched to using borgmatic

This commit is contained in:
Adam Goldsmith 2020-11-02 01:44:55 -05:00
parent c3f0f20728
commit 52c1171151

View File

@ -1,14 +0,0 @@
#!/bin/zsh
# borg
backupName='{hostname}-{now:%Y-%m-%d}'
borgArgs="--compression auto,lzma \
--progress --stats \
--exclude-caches \
--exclude-from ~/Documents/backuplist.txt"
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' create thewarehouse:borg-backups::$backupName $backupTargets $borgArgs --files-cache=ctime,size --remote-path /usr/local/bin/borg"
unset backupName borgArgs backupTargets