allanjude / zxfer

A continuation of development on zxfer, a popular script for managing ZFS snapshot replication
BSD 2-Clause "Simplified" License
123 stars 40 forks source link

zxfer does not handle writing its metadata to unmounted file systems #19

Open brd opened 8 years ago

brd commented 8 years ago

Such as:

Writing backup info to location none/.zxfer_backup_info.tank
sh: cannot create none/.zxfer_backup_info.tank: No such file or directory
Error writing backup file. Is filesystem mounted?

Perhaps it could temporarily mount the filesystem path that it needs and the unmount after writing out the metadata.

corny commented 6 years ago

I have the same problem.