Date: Fri, 10 Aug 2018 15:48:04 +0100 From: Gary Palmer <gpalmer@freebsd.org> To: Dmitry Morozovsky <marck@rinet.ru> Cc: freebsd-fs@freebsd.org Subject: Re: ZFS backup Q: send/recv and mountpoint property Message-ID: <20180810144804.GA83321@in-addr.com> In-Reply-To: <alpine.BSF.2.00.1808101740440.24808@woozle.rinet.ru> References: <alpine.BSF.2.00.1807222110450.28320@woozle.rinet.ru> <20180804220727.GA83288@in-addr.com> <alpine.BSF.2.00.1808101740440.24808@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180810144804.GA83321>