no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | fester:snapshots [2016/06/11 14:36] (current) – created dan | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Creating a Periodic Snapshot Task ====== | ||
+ | |||
+ | This is an extremely useful function within FreeNAS. | ||
+ | |||
+ | Imagine for example you deleted a file from your FreeNAS system two days ago and then discover you now need that file. If a snapshot is available that has the file still present you can roll the volume or dataset back to that time and recover the file using the relevant snapshot (that’s freaking cool!). | ||
+ | |||
+ | If you want to set up a periodic snapshot here is how. | ||
+ | |||
+ | Go to the “Storage” page (1) and click on the “Periodic Snapshot Tasks” button (2). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Click on the “Add Periodic Snapshot” button. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | A new window should now pop up. | ||
+ | |||
+ | Fester wants 1 snapshot to be taken every day between the hours of 12:00 midnight and 1:00am in the morning. The server should not be busy at that time (unlike Fester who can be found in the nearest Discotheque in black crush velvet flares and a tangerine orange shirt (with matching cravat) dancing the night away, or as the manager refers to it “frightening the customers”, | ||
+ | |||
+ | * Select the volume or dataset you want from the “Volume/ | ||
+ | * Put a tick in the “Recursive: | ||
+ | * Determine how long you want the system to keep the snapshot before deleting it by typing a number into the “Lifetime” text box and then selecting the duration unit from hours, days, weeks, months, etc from the drop down selection box (3) (Fester’s snapshot will last 2 weeks before the system deletes it). | ||
+ | * Select the time after which the system will allow a snapshot to be taken in the “Begin: | ||
+ | * Select the cut off time after which the system is prohibited from making a snapshot from the “End:” drop down selection box (5). | ||
+ | * Select the minimum interval between snapshots from the “Interval: | ||
+ | * Next put a tick next to every day of the week in the “Weekday: | ||
+ | * Make sure the snapshot is enabled by ticking the “Enabled: | ||
+ | * Now click the “OK” button (9). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | An entry should be created in the Periodic Snapshot Tasks window and you should see something like this. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | That’s periodic snapshots done. | ||