Forum Discussion

mhab11's avatar
mhab11
Level 5
13 years ago

How do I Overwrite SFW Snap Shots?

I am testing a new backup soultion for my group and have been playing with Snap/Snap Shots. Everything works just how I need it to until it is time to overwrite an old Snap Shot. The only way I have ...
  • mikebounds's avatar
    13 years ago

    You use snapback - this will not overwrite your good data - you woukd use resyncfromreplica option if you wanted to overwrite original data with snapshot data.

    Just to clarify:

    You start with volume A which has normal plex A and snapshot plex B (i.e volume A contains 2 copies of data - plex A and plex B)

    You create a snapshot B so that volume A, now JUST has plex A and you have a new snapshot B volume with plex B.

    If you use snapback, then contents of plex B gets overwriten with contents of plex A in volume A and snapshot B must be unmounted to do this.

    If you use snapback with resyncfromreplica option then plex A gets overwritten with contents of plex B - i.e volume A get overwritten with data in snapshot B and to do this you must unmount volume A first.

    If you are ever unsure which way copy is going to go, then mount the filesystem you want and then if you use the wrong option, it will fail as mounted filesystem will be "open" so it cannot be written to from snapshot command.

    Mike