I'm trying to figure out how to take regular snapshots of my jails and also send/receive the data to an external drive for a backup solution, but I cannot seem to find my data. My zpool 'iocage' gets a snapshot with "zfs snapshot -r iocage@`date +"%Y-%m-%d"`. This will give something like this:
So in this case, I want to restore everything in zpool 'iocage' that was taken at 2017-08-06. Would I have to go through the list and select each one of those subvolumes individually or is there some sort of command that I can use that would restore that entire dataset if I did a zfs send to my destination?
Code:
iocage@2017-08-06 0 - 28K -
iocage/iocage@2017-08-06 16.5K - 26.5K -
iocage/iocage/download@2017-08-06 13K - 23K -
iocage/iocage/download/11.1-RELEASE@2017-08-06 0 - 119M -
iocage/iocage/images@2017-08-06 13K - 23K -
iocage/iocage/jails@2017-08-06 14K - 24K -
iocage/iocage/jails/homeBackup@2017-08-06 14K - 25.5K -
iocage/iocage/jails/homeBackup/data@2017-08-06 0 - 23K -
iocage/iocage/jails/homeBackup/root@2017-08-06 151K - 528M -
So in this case, I want to restore everything in zpool 'iocage' that was taken at 2017-08-06. Would I have to go through the list and select each one of those subvolumes individually or is there some sort of command that I can use that would restore that entire dataset if I did a zfs send to my destination?