Update btrfs backups

This commit is contained in:
albert 2024-12-16 03:11:23 +01:00
parent 17b252413a
commit 5dbf3e9602
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -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