From owner-freebsd-questions@FreeBSD.ORG Sun Nov 22 01:27:33 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 E10BE1065695 for ; Sun, 22 Nov 2009 01:27:33 +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 5BAFB8FC1B for ; Sun, 22 Nov 2009 01:27:33 +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 nAM1RVhM098237; Sun, 22 Nov 2009 02:27:32 +0100 (CET) (envelope-from bernt@bah.homeip.net) Message-ID: <4B08937E.7070908@bah.homeip.net> Date: Sun, 22 Nov 2009 02:27:26 +0100 From: Bernt Hansson User-Agent: slrn/1.0.8 (FreeBSD) MIME-Version: 1.0 To: utisoft@gmail.com References: <4B0562A4.5050405@bah.homeip.net> <4B056636.6050309@infracaninophile.co.uk> <4B075AAA.80205@bah.homeip.net> In-Reply-To: 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: Sun, 22 Nov 2009 01:27:34 -0000 Chris Rees said the following on 2009-11-21 17:44: > 2009/11/21 Bernt Hansson : >> Matthew Seaman skrev: >>> Bernt Hansson wrote: >>>> Hello list. >>>> >>>> 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 >> >> 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 >> > > Just for sanity... Are you root? Yes! > Chris >