I have a ZFS pool that contains 3 disks mirroring each other. I would like to be able to take one of the disks and store it offline and offsite for a few months then re-introduce it to the pool, sync the data, take another drive offline and repeat. This scheme will always leave 2 drives active in the ZFS pool. Sending the data to another server is not an option. I would like the data on the disk that will be taken offline to be available if I ever need to access that backup (say the server burns down or something catastrophic). I would also like to still be able to monitor the health of the ZFS pool in case one of the 2 active drives starts to have issues. ZFS dataset encryption will be used on all 3 drives.
What is the best method to accomplish this? Would the ZFS "offline" command be sufficient to take one of the disks offline and then simply bring it back "online" at a later date to re-sync the data? Would the data on the offlined disk be available using this method if I ever need to access it?
Would ZFS complain about the offlined disk using this method? I basically want to be able to check on the health of the pool with the 1 disk removed in case any of the 2 remaining drives fail.
Any foreseeable issues if I use ZFS native encryption for the datasets in the pool using this schema? I am thinking if the server burns down, would I have any issues decrypting the data on the remaining drive in the future?
Thanks for your help!
zfs send
to do a proper backup.