ZFS backup Q: send/recv and mountpoint property
Gary Palmer
gpalmer at freebsd.org
Fri Aug 10 14:48:06 UTC 2018
On Fri, Aug 10, 2018 at 05:42:46PM +0300, Dmitry Morozovsky wrote:
> On Sat, 4 Aug 2018, Gary Palmer wrote:
>
> > On my backup server I have two pools, zfsroot and data. I think I set
> > things up, and then exported data so that it's not auto-imported at boot.
> > I then put this in /etc/rc.local
> >
> > zpool import -N -R /backups data
> >
> > It lets the pool import filesystems with paths like / or /home
> > without over-writing the paths on the local system.
>
> that would fit for "normal" case, but does not survive sudden reboot ;-)
>
> I'm switching to zxfer for now; not ideal, but fair and usable enough
Hi,
I haven't tested reboot during sync, but I'm not sure why a sudden
reboot would cause issues - the -R should move mounts outside
critical areas. Could you elaborate please?
Thanks,
Gary
More information about the freebsd-fs
mailing list