ZFS Backup on remote FreeBSD system

Matthew Seaman matthew at FreeBSD.org
Wed May 15 20:38:10 UTC 2019


On 15/05/2019 14:58, Christian Barthel wrote:
> According to zfs(1), all properties and descendant file
> systems are copied as well (and of course, this works
> as described).  However, it also sets the mountpoint
> and canmount option and after a reboot of the backup
> host, ZFS mounts those file systems.  I am planning to
> have multiple hosts beneath zroot i.e. zroot/host1,
> zroot/host2, ... and because of that, I would prefer
> not automounting those file systems or mount them below
> /zroot/hostX/ (*).  Is this possible somehow i.e. is
> there a simple way to do that?  Anyone doing something
> similar?

You might be interested in some scripts I wrote to manage ZFS backups in
the way you describe:

https://github.com/infracaninophile/zfs-backup/blob/master/zfs-backup.sh

	Cheers,

	Matthew





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20190515/0e9e194f/attachment.sig>


More information about the freebsd-questions mailing list