Why our backup scripts don't run
Hello,
We have implemented backup scripts based on ZFS snapshots and ZFS data replication features.
The scripts work correctly when performing full backups, but they do not work when performing incremental backups.
The backup scripts create compressed files on an NFS volume.
The restore scripts use these files to recreate the ZFS volume.
We perform one full backup per week and one incremental backup per day.
Data restoration consists of restoring the latest full backup followed by each incremental backup in sequence.
Example of a full backup script:
zfs snapshot -r dbp1c-data@snaptest20260622-FULLzfs send -R dbp1c-data@snaptest20260622-FULL | pigz > /backup/dbp1c-data@snaptest20260622-FULL.gz