Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 2009 13:59:51 +0100
From:      Bernt Hansson <bernt@bah.homeip.net>
To:        Mike Clarke <jmc-freebsd2@milibyte.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Dump
Message-ID:  <4B07E447.4050608@bah.homeip.net>
In-Reply-To: <200911210903.40812.jmc-freebsd2@milibyte.co.uk>
References:  <4B0562A4.5050405@bah.homeip.net> <4B056636.6050309@infracaninophile.co.uk> <4B075AAA.80205@bah.homeip.net> <200911210903.40812.jmc-freebsd2@milibyte.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Clarke said the following on 2009-11-21 10:03:
> On Saturday 21 November 2009, Bernt Hansson wrote:
> 
>> 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
>>
>> 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

> Does the .snap directory exist, and with the correct ownership and 
> permissions?

Yes and yes
drwxrwx---   2 root   operator   512 16 Nov 19:19 .snap

>>From the man page:
> 
> "If the .snap directory does not exist in the root of the file system 
> being dumped, a warning will be issued and the dump will revert to the 
> standard behavior. This problem can be corrected by creating a .snap 
> directory in the root of the file system to be dumped; its owner should 
> be ``root'', its group should be ``operator'', and its mode should be 
> ``0770''."
> 



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