> On 22. Mar 2023, at 13:43, César Catrián C. <[email protected]> wrote: > > Hi, please help with an issue while running dump(8) over a snapshotted > filesystem using fss. > > The system is current 10.99.2 pvh Xen VM, compiled with mar 18 2023 sources, > running under NetBSD Xen, current 10.99.2 also, with feb 23 2023 sources. > > Did other successful backups on two stable NetBSD 9.3 VMs. > > The dump file is being put over a nsf share in another NetBSD machine. > > These are the commands used: > /usr/sbin/fssconfig fss0 /home /var/tmp > /sbin/mount /dev/fss0 /mnt/fs3 > /sbin/dump -0af - /mnt/fs3 | /usr/bin/bzip2 > > /mnt/fs4/backups/current/home.dump.bz2
There is no need to mount the snapshot, the simplest way to dump is: /sbin/dump -0af - -x /var/tmp /home | ... Dump will take and release the snapshot for you, see "man dump". -- J. Hannken-Illjes - [email protected]
signature.asc
Description: Message signed with OpenPGP
