Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2019 16:38:03 -0400
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: ZFS Backup on remote FreeBSD system
Message-ID:  <36c5cc26-33d9-3d04-2447-cd73dc062885@FreeBSD.org>
In-Reply-To: <87v9ybv938.fsf@x230.onfire.org>
References:  <87v9ybv938.fsf@x230.onfire.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--UHBWn2nItY8cEU7CFzWvMiFYFT2yc9Ctf
Content-Type: multipart/mixed; boundary="sCBLSO2Bv2JZqubghJbYJZc81XLoFmKqh";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-questions@freebsd.org
Message-ID: <36c5cc26-33d9-3d04-2447-cd73dc062885@FreeBSD.org>
Subject: Re: ZFS Backup on remote FreeBSD system
References: <87v9ybv938.fsf@x230.onfire.org>
In-Reply-To: <87v9ybv938.fsf@x230.onfire.org>

--sCBLSO2Bv2JZqubghJbYJZc81XLoFmKqh
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable

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






--sCBLSO2Bv2JZqubghJbYJZc81XLoFmKqh--

--UHBWn2nItY8cEU7CFzWvMiFYFT2yc9Ctf
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlzceKtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5
RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp
5OcFXw//StWADd5MZfWh1DUXAOTk5PBML0QCxQFPLYe92cj2qfrR4hzrlCe7vIzs
a7ov8Vk8rJrOFpLtW1fk0mcxniXAuMDZZT0CSxpNRCrNlNZW7FQGVynqimx9gJZy
HtzjsOj5qVYNp5FvJOo3OOL1Ed8ZkbNVYJP/BfcB9VVtakiLWbXSBX8Fq2gK/gPD
Hi50hFR40cu4PJfoO8wM59oW2wBiSjPAmwdXaW42MNaotamRoYwfvVTfC6a0z4Wb
HkRSw0L5BV1FVJdwaSeakdRleQvKgsQzGHuLEMAeb9Pvwid50f1CbV/edNSqxI/K
Q30O1tJmebRcZwchKdRF5hwBHxJCx9Xa32fPEEbhoXj3FTnf9JqMfdwn7bBBAfam
K/ohPubsB6XKRPVoBGKD9icDYUfjuhrhEFC00yI9q1ey12ntvlyALvmbSac5xdA+
Fx4IP+0T/9gyBB+OoJa86CFV1mcdv3LDhx/UkjhkOr2nQjaMXvSrLYFL0nGjGLNx
hXX0SCByMznT0pf/9nrKI1Qka1TpSwWj9jrFD8GkgFNlKW6ElQMaqxc/u2AmpBAa
uj+est/j060RWcTIuJP4HIgaxioP4KWdNNKXeQtXUF/dGxXwQ30ik3QGxfLXH87+
4Vbf78bPYcIjdQ//wVLjk+oRUxqwGuJQxznP0oIs9HhYHRkTm/A=
=M1Cq
-----END PGP SIGNATURE-----

--UHBWn2nItY8cEU7CFzWvMiFYFT2yc9Ctf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36c5cc26-33d9-3d04-2447-cd73dc062885>