Casper Dik wrote on 2010-09-26: > A incremental backup: > > zfs snapshot -r exp...@backup-2010-07-13 > zfs send -R -I exp...@backup-2010-07-12 exp...@backup-2010-07-13 | > zfs receive -v -u -d -F portable/export
Unfortunately "zfs receive -F" does not skip existing snapshots and thus if the "zfs send -R | zfs receive -F" process is somewhat interrupted (e.g. network downtime) it can't be simply retried, as some recursively-reached sub-filesystem will have some latest snapshot and some others would have a different latest snapshot. The code comments around libzfs_sendrecv.c:1885 seems to indicate that existing data should be properly skipped, using a call to recv_skip(), but the "zfs receive" process dies just after having warned about ignored data, and thus "zfs send" dies of a broken pipe. Also refer to: http://thread.gmane.org/gmane.os.freebsd.devel.file-systems/6490 In your opinion is this intentional (ignoring as in "stopping now") or really a bug (if my interpretation of the intent of recv_skip() is correct this should be the case, but I wonder...). -- Lapo Luchini - http://lapo.it/ “UNIX is user-friendly, it just chooses its friends.” (Andreas Bogk) _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss