Setting up Snapshot for previous Versions with Omni/Napp-it

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Davewolfs

Active Member
Aug 6, 2015
339
32
28
Hey folks,

I've setup OmniOs/Nappit on ESXi. Everything is going well so far. One feature that I would like to take advantage of on some of my mounts are snapshots. Specifically I'd like to automate how to setup snapshots so that my windows previous versions are along the lines of say monthly snaps with a 6 month retention, weekly with two month retention, daily with two week, hourly with 1 week, and every 5 minutes for two days.

Also, what are best practices for applying snapshots? For example, I plan to apply this to user data. Would there be any point in applying this to mount used for VM's?

I appreciate any feedback.
 

gea

Well-Known Member
Dec 31, 2010
3,156
1,195
113
DE
Snaps are on a per filesystem base.
You can create them in napp-it menu jobs >> snaps
with a keep or hold retention setting (a snap is only deleted when both settings are true)

ex monthly job: create a snap on 1st day of monthy, keep 6 snaps (number of snaps)
add weekly job: create a snap on sunday, keep 8 (or hold 60 days)
add daily job: create a snap on 11pm, keep 14
add hourly job: create a snap on every hour, hold 7 days
add minute job: create a snap on every minute (autojob every 5 minutes),
or every five minutes (autojob every minute,) hold 2 days

If you snap ESXi (NFS) datastores, the state of a snap is like a sudden powerfail.
This may corrupr your VMs. A workaround can be a powerdown prior a snap or
include an ESXi hot memory state snap within the ZFS snap.
This can be automated in menu Snaps.