From owner-freebsd-questions@FreeBSD.ORG Sat Nov 21 13:00:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86D86106566C for ; Sat, 21 Nov 2009 13:00:08 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id A8F648FC19 for ; Sat, 21 Nov 2009 13:00:07 +0000 (UTC) Received: from kw.homeip.net (c80-217-70-227.bredband.comhem.se [80.217.70.227]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id nALCxukd084677; Sat, 21 Nov 2009 14:00:00 +0100 (CET) (envelope-from bernt@bah.homeip.net) Message-ID: <4B07E447.4050608@bah.homeip.net> Date: Sat, 21 Nov 2009 13:59:51 +0100 From: Bernt Hansson User-Agent: slrn/1.0.8 (FreeBSD) MIME-Version: 1.0 To: Mike Clarke References: <4B0562A4.5050405@bah.homeip.net> <4B056636.6050309@infracaninophile.co.uk> <4B075AAA.80205@bah.homeip.net> <200911210903.40812.jmc-freebsd2@milibyte.co.uk> In-Reply-To: <200911210903.40812.jmc-freebsd2@milibyte.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Nov 2009 13:00:08 -0000 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''." >