zsh/.aliases/command-specific/borg

8 lines
217 B
Plaintext
Raw Normal View History

alias borg-backup="sudo borg create \
/run/media/adam/Backup/borg-backups::`hostname`-\`date +%Y-%m-%d\` \
--compression zlib,5 -p \
/home/adam/ \
/etc/ \
2016-07-19 02:25:25 -04:00
--exclude-caches \
--exclude-from ~/Documents/backuplist.txt"