From 59520328b4e5ecbf812358b231fdf48403a89fb8 Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 24 Dec 2024 20:24:05 +0100 Subject: [PATCH] Update backup script --- nixos/common/software/cli/scripts/btrfs-backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/common/software/cli/scripts/btrfs-backup.sh b/nixos/common/software/cli/scripts/btrfs-backup.sh index f1db9735..60170c4d 100755 --- a/nixos/common/software/cli/scripts/btrfs-backup.sh +++ b/nixos/common/software/cli/scripts/btrfs-backup.sh @@ -184,8 +184,8 @@ if [ -z "$NEW_SNAPSHOT" ]; then fi HOSTNME=$(hostname) -BASE_DEST_PATH="/volume1/BTRFS_Receives/`hostname`/${SNAPPER_CONFIG}" -DEST_PATH="/volume1/BTRFS_Receives/`hostname`/${SNAPPER_CONFIG}/${NEW_SNAPSHOT}" +BASE_DEST_PATH="/volume1/BTRFS_Receives/hosts/`hostname`/${SNAPPER_CONFIG}" +DEST_PATH="/volume1/BTRFS_Receives/hosts/`hostname`/${SNAPPER_CONFIG}/${NEW_SNAPSHOT}" STATE_FILE="/var/lib/snapper-backup-${SNAPPER_CONFIG}.state" LOG_FILE="/var/log/snapper-backup-${SNAPPER_CONFIG}.log"