winnielinnie
MVP
- Joined
- Oct 22, 2019
- Messages
- 3,641
I have a USB drive to occasionally make an offsite backup of my main pool.
Using the "-i" option during "zfs send" does in fact save a lot of time, as it only transfers the difference between the previous (old) and current (newly created) recursive snapshot of my entire main pool and all child datasets.
So far, so good...
However, I noticed an issue. It does not seem to essentially "clone" my main pool to the USB drive, as it is missing manual (and important) snapshots I've created on a few datasets. Here is an example.
mainpool/user1home@before-migration <--- Not on USB drive after send-and-recv
mainpool/user1home@auto-20191123 <--- Exists on USB drive after send-and-recv
mainpool/user1home@auto-20191122 <--- Exists on USB drive after send-and-recv
mainpool/user1home@auto-20191121 <--- Exists on USB drive after send-and-recv
mainpool/archives/isos@before-migration <--- Not on USB drive after send-and-recv
mainpool/archives/isos@auto-20191123 <--- Exists on USB drive after send-and-recv
mainpool/archives/isos@auto-20191122 <--- Exists on USB drive after send-and-recv
mainpool/archives/isos@auto-20191121 <--- Exists on USB drive after send-and-recv
Yet if I do a FULL send (not incremental), it essential does clone everything, including all snapshots. The pool on the USB is 100% identical to my main pool on the NAS.
Is there a way to "clone" the entire main pool on the NAS to a USB drive, without having to do a full send each time (for the sake of speed and practicality), while preserving EVERY snapshot that exists, including manually created ones?
Using the "-i" option during "zfs send" does in fact save a lot of time, as it only transfers the difference between the previous (old) and current (newly created) recursive snapshot of my entire main pool and all child datasets.
So far, so good...
However, I noticed an issue. It does not seem to essentially "clone" my main pool to the USB drive, as it is missing manual (and important) snapshots I've created on a few datasets. Here is an example.
mainpool/user1home@before-migration <--- Not on USB drive after send-and-recv
mainpool/user1home@auto-20191123 <--- Exists on USB drive after send-and-recv
mainpool/user1home@auto-20191122 <--- Exists on USB drive after send-and-recv
mainpool/user1home@auto-20191121 <--- Exists on USB drive after send-and-recv
mainpool/archives/isos@before-migration <--- Not on USB drive after send-and-recv
mainpool/archives/isos@auto-20191123 <--- Exists on USB drive after send-and-recv
mainpool/archives/isos@auto-20191122 <--- Exists on USB drive after send-and-recv
mainpool/archives/isos@auto-20191121 <--- Exists on USB drive after send-and-recv
Yet if I do a FULL send (not incremental), it essential does clone everything, including all snapshots. The pool on the USB is 100% identical to my main pool on the NAS.
Is there a way to "clone" the entire main pool on the NAS to a USB drive, without having to do a full send each time (for the sake of speed and practicality), while preserving EVERY snapshot that exists, including manually created ones?