You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for i in $( mount | grep zfs | grep -v /mnt | awk '{print $3}')
do
echo ln -s $i/.zfs/snapshot /backups${i}
done
Need a way to make sure the links are maintained as datasets change
Assumptions are all zfs datasets are bind mounted into the file system from /mnt/something and .zfs is only 1 level under the bind mounts.
Want /backups to lead to a tree of snapshot directories
/data/{dataset}/.zfs/snapshots => /backups/{dataset}/
The text was updated successfully, but these errors were encountered: