Add home
This commit is contained in:
parent
38b3332eab
commit
74ee4b6706
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user