This is an extremely useful function within FreeNAS. It allows you to travel back in time (without the use of a DeLorean car) to a point when that important file you deleted was still on your FreeNAS system (and Fester’s restraining order was not yet in place). OK I am exaggerating about time travel, but this marvelous function does work a bit like that. It takes a snapshot of the volume or any dataset on the FreeNAS system at a particular point in time. A snapshot in this case is basically a file that contains within it all and any changes to the volume or dataset that have occurred since the last snapshot. This allows the volume or dataset to revert back to a particular point in time. A corollary of this is that the files within that volume or dataset also revert back to the condition they were in at the time the snapshot was taken.
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”, cheeky sod!).
An entry should be created in the Periodic Snapshot Tasks window and you should see something like this.
That’s periodic snapshots done.