One of my backup procedures is to zfs send from my main pool to another disk that I periodically insert into my NAS. I've done this many times with no problems. It failed yesterday with:
This I suspect is because since the last backup, I deleted the 'foo' dataset and created another with the same name in the same place. Probably confused it. So I added
Note the second message is about the 'bar' dataset, not 'foo'. I'm thinking maybe this is because before the first error the 'bar' dataset was partially backed up? Anyway, what to do now? Should I delete the snapshot on the destination disk as it suggests?
Thanks.
cannot receive new filesystem stream: destination 'offsite1/tank-backup/VMs/foo' exists
must specify -F to overwrite it
This I suspect is because since the last backup, I deleted the 'foo' dataset and created another with the same name in the same place. Probably confused it. So I added
-F
, but then:cannot receive new filesystem stream: destination has snapshots (eg. offsite1/tank-backup/VMs/bar@OFFSITE-2020-06-04)
must destroy them to overwrite it
Note the second message is about the 'bar' dataset, not 'foo'. I'm thinking maybe this is because before the first error the 'bar' dataset was partially backed up? Anyway, what to do now? Should I delete the snapshot on the destination disk as it suggests?
Thanks.