ID #1080

Snapshot-timer

Snapshot-timer

How to create snapshots automatically

On ESX this feature is hidden  - in Workstation and Fusion it is advertised as Autoprotect

Effectively it is a timer - and as every best-practice guide tells you to use snapshots with care
it really should not be used.

If you want to use it I highly recommed to also set
snapshot.minFreeSpace = <value in bytes>
snapshot.maxSnapshots = <number of allowed snapshots>


 


The basic parameters


rollingTier0.interval = "10"
This parameter sets a time-interval in seconds.
With this value a snapshot will be created every 10 seconds

snapshot.numRollingTiers = "3"
This parameter sets the number of timers you want to run.


rollingTier0.maximum = "33"
This parameter sets the maximum number of snapshots that will be created by the timer.


rollingTier0.live = "TRUE"
Also stores the memory along with the snapshot
 



Reasonable example



This example settings were created with the Workstation GUI

snapshot.numRollingTiers = "3"
rollingTier0.uid = "1"
rollingTier0.interval = "3600"
rollingTier0.maximum = "1"
rollingTier0.live = "TRUE"
rollingTier0.clientFlags = "8"
rollingTier0.displayName = "AutoProtect Snapshot"
rollingTier1.uid = "2"
rollingTier1.interval = "86400"
rollingTier1.baseTier = "1"
rollingTier1.baseTierInterval = "24"
rollingTier1.maximum = "1"
rollingTier1.live = "TRUE"
rollingTier1.clientFlags = "8"
rollingTier1.displayName = "AutoProtect Snapshot"
rollingTier2.uid = "3"
rollingTier2.interval = "604800"
rollingTier2.baseTier = "1"
rollingTier2.baseTierInterval = "168"
rollingTier2.maximum = "1"
rollingTier2.live = "TRUE"
rollingTier2.clientFlags = "8"
rollingTier2.displayName = "AutoProtect Snapshot"

 


 

 



Dangerous example

snapshot.maxSnapshots = "999"
snapshot.numRollingTiers = "1"

rollingTier0.uid = "1"
rollingTier0.interval = "10"
rollingTier0.maximum = "999"
rollingTier0.live = "TRUE"
rollingTier0.clientFlags = "8"
rollingTier0.displayName = "AutoProtect Snapshot"

This example works on all platforms.
Use it with care !
It can be used to stress-test the disk-subsystem or as a means of sabotage


Tags: -

Related entries:

You can comment this FAQ