From owner-freebsd-questions@FreeBSD.ORG Mon Dec 29 09:33:26 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 44FED669 for ; Mon, 29 Dec 2014 09:33:26 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 04E2F19CB for ; Mon, 29 Dec 2014 09:33:25 +0000 (UTC) Received: from r56.edvax.de (port-92-195-39-170.dynamic.qsc.de [92.195.39.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 7766827945; Mon, 29 Dec 2014 10:33:16 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id sBT9XFgZ002001; Mon, 29 Dec 2014 10:33:15 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 29 Dec 2014 10:33:15 +0100 From: Polytropon To: Odhiambo Washington Subject: Re: Backing Up a journaled FS Message-Id: <20141229103315.734bc78a.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2014 09:33:26 -0000 On Mon, 29 Dec 2014 11:29:13 +0300, Odhiambo Washington wrote: > So, do I have to disable the journaling option from the FS, or is there a > better way to achieve the same result with journaling still on? If you want to use dump/restore, you will probably have to do one of the following things: a) boot into single user mode and mount / read-only, then run dump, or b) probably a bad idea, but you _could_ (technically) run "mount -fur /" and then run dump, afterwards running "mount -fuw /". Note that disabling the journaling option also requires that the partition is _not_ in use, which means, it is unmounted; see "man tunefs" for details. Otherwise, using something different from dump/restore could work better in your situation, maybe using cpio, tar, or cpdup. You'd have to verify that file attributes are also being copied 1:1, which is what dump/restore is actually good at. In worst case, you could use dd (like "dd if=/dev/ada0 of=/dev/ada1 bs=1m"), but even if this will surely work, make sure that _no_ writing is performed on the disk while reading. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...