zsh/.aliases/command-specific/borg

8 lines
217 B
Plaintext

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