Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2009 02:26:46 +0100
From:      Bernt Hansson <bernt@bah.homeip.net>
To:        George Davidovich <freebsd@optimis.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Dump
Message-ID:  <4B089356.5000807@bah.homeip.net>
In-Reply-To: <20091121161415.GA68037@marvin.optimis.net>
References:  <4B0562A4.5050405@bah.homeip.net>	<4B056636.6050309@infracaninophile.co.uk>	<4B075AAA.80205@bah.homeip.net> <20091121161415.GA68037@marvin.optimis.net>

next in thread | previous in thread | raw e-mail | index | archive | help
George Davidovich said the following on 2009-11-21 17:14:
> On Sat, Nov 21, 2009 at 04:12:42AM +0100, Bernt Hansson wrote:
>> Matthew Seaman skrev:
>>> Bernt Hansson wrote:
>>>> I've been testing backups with dump, works well BUT
>>>> -L does not work. For example
>>>>
>>>> dump -0 -a -u -L -f /mnt/dump.home.full /dev/ad0s2d
>>> I believe that you need to tell dump the mount point of the file system in
>>> order for it to create a snapshot, rather than the device file for the
>>> partition. (ie. snapshotting only makes sense on a mounted read-write
>>> filesystem).
>>>
>>> Also, if you're dumping a snapshotted FS to a local file, then bump up the
>>> cachesize to improve performance a lot.  Add '-C 32' to your command-line.
>> Ok. I've tested this
>> dump -1 -a -u -L -C 64 -h 0 -f /usr/home/bernt/disk2/dump.backup.home.2 
>> /usr/home
>> dump -1 -a -u -L -C 64 -h 0 -f /usr/home/bernt/disk2/dump.backup.home.2 
>> /usr/home
>>
>> The error is
>> mksnap_ffs: Cannot create /usr/home/.snap/dump_snapshot: Invalid argument
>> dump: Cannot create /usr/home/.snap/dump_snapshot: No such file or directory
> 
> Aargh.  Must have missed the above when I last replied.  That error
> message indicates you're running dump without proper privileges.
> 
> Run dump as root, or add yourself to the operator group:

I did run it as root and got this error message:

mksnap_ffs: Cannot create /usr/home/.snap/dump_snapshot: Invalid argument
dump: Cannot create /usr/home/.snap/dump_snapshot: No such file or director




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