This commit is contained in:
Austen Adler 2018-02-16 13:44:01 -05:00
parent 38b3332eab
commit 74ee4b6706

View File

@ -24,7 +24,7 @@ b-create() {
if [[ -f "/home/stonewareslord/syncthing/me/backup/$(hostname)/mount" ]]; then if [[ -f "/home/stonewareslord/syncthing/me/backup/$(hostname)/mount" ]]; then
"$SUDO" "/home/stonewareslord/syncthing/me/backup/$(hostname)/mount" "$SUDO" "/home/stonewareslord/syncthing/me/backup/$(hostname)/mount"
fi fi
"$SUDO" borg create -vpsx --exclude-caches --compression lzma,7 --exclude-from "$IGNORE_FILE" $BORG_REPO::$(hostname)-$(uuidgen) / /boot "$SUDO" borg create -vpsx --exclude-caches --compression lzma,7 --exclude-from "$IGNORE_FILE" $BORG_REPO::$(hostname)-$(uuidgen) / /boot /home
} }
b-rename() { b-rename() {
borg rename -v "$BORG_REPO::$1" "$2" borg rename -v "$BORG_REPO::$1" "$2"