I'm hoping that someone who has some experience with snapshots can help me.
I have saved a number of snapshots of datasets from pool TANK using zfs send/receive to a removable pool BACKUP01.
(TANK has grown too large for a single backup volume, so I need to back it up in pieces.)
My problem is that the parent dataset TANK (which as expected contains none of the child datasets) is preventing me from accessing any of the child datasets that I have backed up.
For example if I try to access /BACKUP01/TANK/video it points to an empty directory in the parent dataset instead of the 836G of data that was backed up as a separate snapshot.
What is the best way to access the copy of BACKUP01/TANK/video that contains the data instead of the empty one.
Also if anyone has seen any good articles/videos that explain the finer points of handling snapshots of pools/child pools it would be much appreciated.
I've figured out how to save the data, now I have to figure out how I'm going to restore it if TANK ever gets corrupted.
Any hints/advice/assistance is much appreciated.
I have saved a number of snapshots of datasets from pool TANK using zfs send/receive to a removable pool BACKUP01.
(TANK has grown too large for a single backup volume, so I need to back it up in pieces.)
Code:
NAME USED AVAIL REFER MOUNTPOINT BACKUP01 6.23T 816G 88K /BACKUP01 BACKUP01/TANK 6.23T 816G 230G /BACKUP01/TANK BACKUP01/TANK@__BKP01_VJQRCPRG_20171229_143300 111M - 230G - BACKUP01/TANK@__BKP01_VJQRCPRG__20180421_224503 0 - 230G - [Deleted for clarity] BACKUP01/TANK/video 836G 816G 836G /BACKUP01/TANK/video BACKUP01/TANK/video@__BKP01_VJQRCPRG_20171229_143300 208K - 818G - BACKUP01/TANK/video@__BKP01_VJQRCPRG__20180421_224503 0 - 836G -
For example if I try to access /BACKUP01/TANK/video it points to an empty directory in the parent dataset instead of the 836G of data that was backed up as a separate snapshot.
What is the best way to access the copy of BACKUP01/TANK/video that contains the data instead of the empty one.
Also if anyone has seen any good articles/videos that explain the finer points of handling snapshots of pools/child pools it would be much appreciated.
I've figured out how to save the data, now I have to figure out how I'm going to restore it if TANK ever gets corrupted.
Any hints/advice/assistance is much appreciated.