Advertisement
Guest User

Jeremy - Snapshots oh my!

a guest
Jul 6th, 2016
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. Greetings. After listening to your show for quite some time and educating myself on ZFS, I soon realized that I can greatly benefit from it in my work environment. I am now in the process of testing ZFS in my work environment and have some questions that I was hoping you or some of your listeners may be able to answer.
  2.  
  3. I have two servers, the Main is a live server that will be receiving data sporadically from end users and a Mirror (off site) that is acting as a backup and/or cold failover device. My goal is to periodically create zfs snapshots on the Main and send them to the Mirror server. While simply using a single temporary snapshot just for the send/recv would suffice to replace our current system, I figured that I might as well keep a few snapshots around on the Main and a larger number of snapshots on the Mirror, just in case.
  4.  
  5. Question #1: Let's say, for example, I decide to keep 7 daily snapshots on the Main and 30 daily snapshots on the Mirror. Now I need to restore a dataset on Main to a snapshot from 14 days ago, which no longer exists on the Main. Is it possible to use ZFS to incrementally restore those older snapshots that have since been deleted on the Main? If not, what would be the most efficient way to get the data back to that state (rsync from the snapshot on the Mirror back to the live dataset on Main?)
  6.  
  7. Question #2: If I can guarantee that a set of files and their metadata on non-ZFS filesystems are identical on two servers (and assuming I have enough free space to store a duplicate copy of the data on both servers), are you aware of any methods or tools that can be used to migrate or copy that data to ZFS filesystems in such a manner as to end up with identical datasets on the two servers so that I could use incremental zfs send/recv after that initial migration? I have many servers that I hope to migrate to ZFS and would like to avoid physically shipping 100s of terabytes of data around when I know I already have the identical data at the second location.
  8.  
  9. Thanks in advance for any help you can provide and keep up the great work with everything!
  10.  
  11. Cheers,
  12.  
  13. Jeremy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement