Page 1 of 1

snapshots, how to do a "manual" snapshot from webGUI

Posted: 23 May 2018 19:41
by raulfg3
well, my question to develkopers is:

actually it's possible to create a daily snapshot and only options are to define the hour of the snapshot and persistance ( days to delete automatically).

My suggest is to add more granurallity, so you can do snapshot once a week or once a hour, and best option for me , do a "manual" snapshot. (can be to executre a previosly automatic defined snapshot too)

eg: if I have OBI instaled on a ZFS Dataset and want to update Plex for example, can be more secure to do a snapshot prior to update, so i can revert changes in a esay way, or at least recover my config files if something goes really wrong.


Please think if is a good suggestion or not.

Snapshot.jpg

Re: snapshots, how to do a "manual" snapshot from webGUI

Posted: 23 May 2018 20:59
by sleid
I totally approve this suggestion, but in the meantime you can enter as a command:

zfs snapshot RPool/DATA@nameofsnapshot

Re: snapshots, how to do a "manual" snapshot from webGUI

Posted: 23 May 2018 21:22
by raulfg3
Thanks a lot, I use webGUI to DO: Tools > Execute Command
2.jpg
and works fine as expected, Thanks a lot sleid.
3.jpg
4.jpg

Re: snapshots, how to do a "manual" snapshot from webGUI

Posted: 23 May 2018 22:22
by sleid
Happy to have been able to help you!

Re: snapshots, how to do a "manual" snapshot from webGUI

Posted: 23 May 2018 22:46
by tony1
you could also use System > Advanced > Cron
something like "zfs snapshot tank/dataset@auto-`date "+%Y%m%d-%H%M%S"`"

put it in a little script to delete/prune the quantity of snapshots etc.

just an idea