From owner-freebsd-questions@FreeBSD.ORG Mon Dec 29 17:21:43 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 6E898EDB for ; Mon, 29 Dec 2014 17:21:43 +0000 (UTC) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1E25A3856 for ; Mon, 29 Dec 2014 17:21:42 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id k14so19587444wgh.15 for ; Mon, 29 Dec 2014 09:21:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=H8hoWUtf2KoJN2zIMuij+stXaaVCskP/c50ioT9lAAI=; b=ADPP+jO5F7QHTLzsjm287c25HTf1IOshoJE32jHZ7XLy2v/y85fLB5Fs9edvF9tcIp fPKbW3zLFfEmoQ3avJaGoXFqJChpmOlv/RzH23NdMLWlcZhlRyr1Tn09N+CAFibQ/Hls duMnFT884WWiZB13jeMdrWNfC29LHn8uhnrFrajtfZDfyduGQ3bHBm3TLXfjprdOUKT3 1Ypw4oCSXj5AMFevKuwiU/PDCrErEpGme/lVCM234R9xAKjv8M5mRWaZ5ZDJo/MBEAhN FtYMdc0Ck1YUrxEepe0s2nmDb05AvZD5CA6qmtPBf5F2ZIy7FzGPSs2ztje3lKJueu4a bnWw== X-Received: by 10.180.109.45 with SMTP id hp13mr96393240wib.4.1419873701490; Mon, 29 Dec 2014 09:21:41 -0800 (PST) Received: from gumby.homeunix.com (5ec3c54b.skybroadband.com. [94.195.197.75]) by mx.google.com with ESMTPSA id r3sm40236144wic.10.2014.12.29.09.21.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Dec 2014 09:21:40 -0800 (PST) Date: Mon, 29 Dec 2014 17:21:39 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: Backing Up a journaled FS Message-ID: <20141229172139.46b85f44@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 17:21:43 -0000 On Mon, 29 Dec 2014 11:29:13 +0300 Odhiambo Washington wrote: > I hope everyone enjoyed their foods & drinks during Christmas:) > > Now, being new to 10-RELEASE, things continue to amaze me, but I > attribute that to my slowness in understanding 10. > > I have been used to 8.x and below so much that when changes started > getting into 9.x and into 10.x I was simply overwhelmed. Now it's > biting. > > I have a server I installed with two identical disks. I used BSD > labels instead of GPT and I had it a little rough creating my slices, > because I am used to a situation where I only created / amd swap for > such servers because it made life easy for me during backup. I would > completely wipe all data on the second disk every Saturday, via a > cron, and write it with data from the primary/running/active disk as > a means of backup. Not so dandy but works quite fine anyway. > > Now I have gotten to a point where I am stopped in my tracks because I > cannot do dump/restore on a journaled fs: Strictly speaking I think you can, you just can't use the -L option. Whether not you want to dump without a snapshot is up to you. > 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? Just in case you're not aware, all the journalling does is to help fsck recover unused blocks and inodes without doing a proper check or running a background fsck. It doesn't provide any extra protection against data loss, some of us have found SU + foreground fsck to be more reliable than either SU+J or SU + background fsck. I had a lot of trouble with SU+J and switched back to gjournal partitions, I think they do support snapshots. In your position I think I'd go for ZFS and have it keep two copies of everything.