I have been using simplesnap for a few years now. Thanks for this great piece of code!
I recently decided I wanted my offsite backup encrypted. The current git master of zfs on linux supports encryption. I took a fresh Debian 9 VM, installed spl/zfs from git, and set up an encrypted pool. I could then send a ZFS snapshot from my server [called spinel] to the backup machine [called zfse for zfs-encryption] like this:
However, when trying to set up simplesnap (as I had before, but to another backuphost using the debian stable package of ZFS) I get these errors:
Dec 24 17:48:54 zfse simplesnap[12418]: Invoked as: /usr/sbin/simplesnap --host spinel --store backuppool/simplesnap --setname zfse --backupdataset searaid/snapped/git
Dec 24 17:48:54 zfse simplesnap[12418]: Store backuppool/simplesnap is mounted at /backuppool/simplesnap
Dec 24 17:48:54 zfse simplesnap[12418]: Lock obtained at /backuppool/simplesnap/spinel/.lock with dotlockfile
Dec 24 17:48:54 zfse simplesnap[12418]: Option --backupdataset searaid/snapped/git requested; not asking remote for dataset list.
Dec 24 17:48:54 zfse simplesnap[12418]: Running /sbin/zfs receive -F backuppool/simplesnap/spinel/searaid/snapped/git
Dec 24 17:48:54 zfse simplesnap[12418]: Running ssh spinel simplesnapwrap sendback zfse searaid/snapped/git
Dec 24 17:48:56 zfse simplesnap[12418//sbin/zfs]: cannot receive: stream has unsupported feature, feature flags = 4
Dec 24 17:48:56 zfse simplesnap[12418]: /sbin/zfs exited with error 1
Dec 24 17:49:01 zfse simplesnap[12418]: ssh exited with error 141
Dec 24 17:49:01 zfse simplesnap[12418]: zfs receive died with error: 1
I don't understand why I can use ZFS to send/receive from server spinel to backuphost zfse, but not pull ZFS snapshots from zfse using simplesnap. What's the difference? And what feature flags is ZFS complaining about?
Sorry, this was [somehow] caused by multiple versions of zfs installed. Simplesnap uses /sbin/zfs when the most recent version was in /usr/local/sbin/zfs. Solved by symlink.
Hi,
I have been using simplesnap for a few years now. Thanks for this great piece of code!
I recently decided I wanted my offsite backup encrypted. The current git master of zfs on linux supports encryption. I took a fresh Debian 9 VM, installed spl/zfs from git, and set up an encrypted pool. I could then send a ZFS snapshot from my server [called spinel] to the backup machine [called zfse for zfs-encryption] like this:
However, when trying to set up simplesnap (as I had before, but to another backuphost using the debian stable package of ZFS) I get these errors:
I don't understand why I can use ZFS to send/receive from server spinel to backuphost zfse, but not pull ZFS snapshots from zfse using simplesnap. What's the difference? And what feature flags is ZFS complaining about?