I scheduled zxfer in /etc/crontab to backup Samba server data. It has been working great. Lately I found the backup server is not up to date. By running the same zxfer commands as in /etc/crontab mannually on Samba server, I see some errors.
Despite the error on dataset store1, the snapshots still get transferred.
On dataset store2, snapshots transfer has stopped for months. Why the error, what makes zfs send not to work?
On backup server 192.168.1.151.
What am I doing wrong here?
Despite the error on dataset store1, the snapshots still get transferred.
% sudo zxfer -dFkPv -I keylocation,keyformat,pbkdf2iters -T root@192.168.1.151 -R zroot/jtanks/samba/store1 backup/samba
Sending zroot/jtanks/samba/store1@2025-05-06_13.30.00--2w to backup/samba/store1.
(incremental to zroot/jtanks/samba/store1@2025-05-06_12.30.00--2w.)
Writing backup info to location /backup/samba/.zxfer_backup_info.store1
sh: cannot create /backup/samba/.zxfer_backup_info.store1: Read-only file system
Error writing backup file. Is filesystem mounted?
On dataset store2, snapshots transfer has stopped for months. Why the error, what makes zfs send not to work?
% sudo zxfer -dFkPv -I keylocation,keyformat,pbkdf2iters -T root@192.168.1.151 -R zroot/jtanks/samba/store2 backup/samba
Sending zroot/jtanks/samba/store2@2025-04-22_23.00.00--2w to backup/samba/store2.
cannot unmount '/backup/samba/store2': pool or dataset is busy
warning: cannot send 'zroot/jtanks/samba/store2@2025-04-22_23.00.00--2w': signal received
Error when zfs send/receiving.
On backup server 192.168.1.151.
% ll
total 52
-rw-r--r-- 1 root wheel 1.9K Jun 16 2023 .zxfer_backup_info.store1
-rw-r--r-- 1 root wheel 1.9K Jun 16 2023 .zxfer_backup_info.store2
drwxrwxr-x 11 1004 1017 15B May 6 13:26 store1/
drwxrwxr-x+ 13 1004 1017 13B Jun 8 2023 store2/
What am I doing wrong here?