mirror of
https://asciireactor.com/o4data/zfs-backup.git
synced 2024-11-24 05:25:05 +00:00
Update backup.sh
This commit is contained in:
parent
0f2cc329e3
commit
81ff5ebf04
@ -162,7 +162,7 @@ get_latest_remote_snapshot()
|
|||||||
*) zroot="$zroot/" ;;
|
*) zroot="$zroot/" ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
list_cmd="zfs list -t snapshot $dset"
|
list_cmd="zfs list -t snapshot $rset"
|
||||||
remote_cmd="$list_cmd|tail -n1|cut -d'@' -f2|cut -d' ' -f 1"
|
remote_cmd="$list_cmd|tail -n1|cut -d'@' -f2|cut -d' ' -f 1"
|
||||||
run_remote
|
run_remote
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user