Compare commits

...

3 Commits

Author SHA1 Message Date
78b00e2f17 Update backup.sh 2023-04-21 06:14:03 +00:00
81ff5ebf04 Update backup.sh 2023-04-21 06:13:32 +00:00
0f2cc329e3 Bugfix remote snapshot get. 2023-04-21 06:11:30 +00:00

View File

@ -162,7 +162,7 @@ get_latest_remote_snapshot()
*) zroot="$zroot/" ;;
esac
fi
list_cmd="zfs list -t snapshot $zroot$dset"
list_cmd="zfs list -t snapshot $zroot$rset"
remote_cmd="$list_cmd|tail -n1|cut -d'@' -f2|cut -d' ' -f 1"
run_remote
}