Update btrfs-backup script
This commit is contained in:
parent
1a9ed94290
commit
9d8e794c24
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ verify_remote() {
|
||||||
|
|
||||||
# Function to get remote snapshots
|
# Function to get remote snapshots
|
||||||
get_remote_snapshots() {
|
get_remote_snapshots() {
|
||||||
ssh "$REMOTE_HOST" "find '$BASE_DEST_PATH' -maxdepth 1 -type d -name 'snapshot*' | sort -n"
|
# ssh "$REMOTE_HOST" "find '$BASE_DEST_PATH' -maxdepth 2 -type d -name 'snapshot*' | sort -n"
|
||||||
|
ssh "$REMOTE_HOST" "btrfs subvolume list /volume1/ -t | grep `hostname` | grep $SNAPPER_CONFIG"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Function to cleanup old remote snapshots
|
# Function to cleanup old remote snapshots
|
||||||
|
|
Loading…
Reference in a new issue