From 5dbf3e96029ad7a494fceedee7f740520eb52263 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 16 Dec 2024 03:11:23 +0100 Subject: [PATCH] Update btrfs backups --- nixos/common/software/cli/scripts/btrfs-backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/common/software/cli/scripts/btrfs-backup.sh b/nixos/common/software/cli/scripts/btrfs-backup.sh index a9c19960..7357afb8 100755 --- a/nixos/common/software/cli/scripts/btrfs-backup.sh +++ b/nixos/common/software/cli/scripts/btrfs-backup.sh @@ -20,7 +20,7 @@ if [ -z "$SOURCE_PATH" ]; then fi # Convert subvolume path to snapshot path -SNAPSHOT_PATH="$SOURCE_PATH.snapshots" +SNAPSHOT_PATH="$SOURCE_PATH/.snapshots" if [ ! -d "$SNAPSHOT_PATH" ]; then echo "ERROR: Snapshot directory '$SNAPSHOT_PATH' does not exist" exit 1