Replication

linedpaper

Cadet
Joined
Jan 20, 2019
Messages
9
I was able to successfully replicate my data from my old/current FreeNAS box to the new one, however I'm not sure how to restore the snapshot to make the data available at this point. I had replication set to volume1\media and then cloned it to media1 as I didn't know what I was doing. Currently I'd like to get it back to just volume1\media and have the data restored/available from there. I cannot delete the sub dataset of \volume1\media\media, I also cannot clone the snapshot back to the other dataset as I get an already exists error. Any help would be much appreciated.

1548637448722.png
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Hey Linedpaper,

You got it right : To make the data available in the second NAS, you need to clone the dataset / snapshot you wish exactly the way you did. Once done with that clone, you can just delete it as easily as you created it. As it is called, it is a clone, not the original. Destroying the clone will not touch the original in anyway.
 

linedpaper

Cadet
Joined
Jan 20, 2019
Messages
9
One more question...I've cutover my data, now I still see the snapshot on the destination box. All data looks good, but if I delete the snapshot will it affect the data? Following replication I cloned the snapshot to my new dataset, shared it out and all is good. Now I want to remove the snapshot, just worried it will also remove my data.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Hi Linedpaper,

So the question is if deleting a snapshot affects the data. The answer is kind of a half yes and half no.

A snapshot represents the state in which your data was at that moment in time. To delete it will not affect the data as they are now in the active dataset.

But should you have some data that were modified since that snapshot, or deleted since that snapshot was taken, their then state is preserved in that snapshot for now as they do not exist in the "active" data anymore. Should you delete that snapshot then Yes, these previous data that survived only in the snapshot up to now will then be deleted.

Hope it helps,
 
Top