@Apollo thank you for looking into this, though i understand your logic, but the replication is not happening at the end of the day.
The last replication was on march-1 since then am getting this error and replication as well as rsync fails.
You have another problem in your hand and you are only seeing the tree hiding the forest behind.
What is happening is as follow:
- During execution of the "zfs send" command, zfs will perform a sanity check of the datasets and snapshots it contains. (This is where you are warned about the last snapshot being skipped).
- Once the sanity check has been completed, it will indicate (when "-vv" option is used) the size/amount of the data that it is expected to send.
- "zfs receive ..." will start if there are no apparent issues at the destination.
There are also the following behaviors:
- If a snapshot to be sent is already present at destination, the snapshot is still going to be sent to the the destination, however, upon completion of the transfer, the destination will indicate that the snapshot already exist and will show as follow and the transmitted data will be discarded:
snap pool/Backup/zdataroot/Main_dataset@manual-2024-02-16_16-27 already exists; ignoring
What you really need to focus on are on the actual failure conditions such as:
cannot receive incremental stream: most recent snapshot of pool/Backup/zdataroot/.bhyve_containers does not match incremental source
or
cannot receive incremental stream: destination 'pool/Backup/zdataroot/dataset' does not exist
or
local fs pool/Backup/zdataroot/dataset does not have fromsnap (auto-2023-12-28_00-00 in stream); must have been deleted locally; ignoring
Which appear on the sending end as:
warning: cannot send 'pool/zdataroot/Main_dataset@manual-2024-02-16_16-27': Broken pipe
Which curiously enough report it as a warning rather than an error, because from this point on, replication has been cancelled/terminated.
To get such level of reporting details, you need to use the -vv in the zfs receive command such as:
In summary, don't get fixated by this very warning as it is not the cause of your failling replication:
skipping snapshot ServerPool/MasterDataset/Projects@auto-2024-03-01_16-00 because it was created after the destination snapshot (auto-2024-03-01_14-00)