Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Oct 2021 22:23:33 +0000
From:      "Daniel Lysfjord" <lysfjord.daniel@smokepit.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: zfs q regarding backup strategy
Message-ID:  <9066d6906ef93ef4155016792cbe3ce4@smokepit.net>
In-Reply-To: <59ae4222-360c-afbe-4657-0a44d0d46d81@holgerdanske.com>
References:  <59ae4222-360c-afbe-4657-0a44d0d46d81@holgerdanske.com> <YVZM1HnPuwIUQpah@ceres.zyxst.net> <ba54a415-da45-e662-73fe-65702c4131e2@holgerdanske.com> <YVcXsF5NFq2abE%2B7@ceres.zyxst.net> <20211001222816.a36e9acbd4e8829aed3afb68@sohara.org> <809e4f3b-9e59-eb53-5b7d-0bcf7e401cd5@holgerdanske.com> <20211002115440.85c4342a49fe6e4573c37dd0@sohara.org> <daf9ba49-82a3-670c-f59c-745e0c315f18@holgerdanske.com> <20211002205504.9d81ee94caa231ee9b008d6a@sohara.org> <69954781-9e3c-ba96-5f1e-9b4043ecf56c@holgerdanske.com> <20211003063353.7415d12917f0e514d433ae1c@sohara.org> <f5bd4ea5-1bcd-9dc7-6898-9c6f236679ae@holgerdanske.com> <20211003102037.7da16f00d478fc1e8d15c443@sohara.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"David Christensen" <dpchrist@holgerdanske.com> skrev 3. oktober 2021 kl.=
 21:14:

> On 10/3/21 02:20, Steve O'Hara-Smith wrote:
>=20
>>=20On Sun, 3 Oct 2021 01:36:51 -0700 David Christensen wrote:
>>=20
>>=20The easy option is to have the archive server boot from UFS so that
>> it can do things before ZFS starts up.
>=20
>=20I ran into the bootpool/ zroot issue when I built a FreeBSD root-on-Z=
FS USB flash drive for
> maintenance purposes. I saw a few choices:
>=20
>=201. Install with UFS, as you suggest. I have done this in the past and=
 it works. But, ZFS is a
> killer feature. I want root-on-ZFS on all of my bootable devices; inclu=
ding maintenance USB flash
> drives.
>=20
>=202. Rename bootpool and zroot on the USB flash drive. I now set a uniq=
ue root pool name during
> installation, but have not tried renaming bootpool.
>=20
>=203. Use the FreeBSD installer USB stick rescue/ live shell. I do this =
when I need to get inside an
> offline FreeBSD disk.
>=20
>=204. Use my Debian maintenance USB flash drive (MBR, ext4). This, plus =
an external USB HDD, is how I
> take/ restore/ clone OS disk images. Unfortunately, I do not see Debian=
 packages for GELI or UFS. I
> have not tested ZFS compatability between Debian and FreeBSD.
>=20
>>>=20Do you have any idea if and what hooks are available during system =
boot
>>> and ZFS setup?
>>=20
>>=20The easiest thing is to use the rc script dependency mechanism to
>> do things before zfs gets going.
>=20
>=20That sounds like a possibility.
>=20
>>=20KISS and UFS[1] I think.
>=20
>=20+1
>=20
>=20David

I run my backups from a FreeBSD server to a Debian server via SSH and zfs=
 send | zfs receive. As long as you have the same features enabled on bot=
h sides, it works just fine.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9066d6906ef93ef4155016792cbe3ce4>