Add borg-backup alias

This commit is contained in:
Adam Goldsmith 2016-02-13 19:53:22 -05:00
parent 47ffc993be
commit bbb236eb61
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
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 /home/adam/.cache \
--exclude /home/adam/.local/share/Steam \
--exclude /home/adam/.local/share/openjk \
--exclude /home/adam/.local/share/lutris \
--exclude /home/adam/.local/share/wineprefixes \
--exclude /home/adam/.stowsync \
--exclude /home/adam/.wine \
--exclude /home/adam/.wine-pipelight \
--exclude /home/adam/.tor-browser-en \
--exclude /home/adam/.xsession-errors.old \
--exclude /home/adam/Documents/Google\ Drive \
--exclude /home/adam/Documents/eBooks \
--exclude /home/adam/Documents/kindle \
--exclude /home/adam/Downloads \
--exclude /home/adam/Programs/Games \
--exclude /home/adam/Programs/build \
--exclude /home/adam/Sync \
--exclude /home/adam/VirtualBox\ VMs \
--exclude /home/adam/faterealtanua_savedata \
--exclude /home/adam/scratch \
--exclude /home/adam/.config/ppsspp"