From bbb236eb6145feca9a95cdca5a6c111610f6a456 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 13 Feb 2016 19:53:22 -0500 Subject: [PATCH] Add borg-backup alias --- .aliases/command-specific/borg | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .aliases/command-specific/borg diff --git a/.aliases/command-specific/borg b/.aliases/command-specific/borg new file mode 100644 index 0000000..e7cc248 --- /dev/null +++ b/.aliases/command-specific/borg @@ -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"