zsh/.aliases/command-specific/borg

27 lines
963 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 /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"