Date: Mon, 29 Dec 2014 17:21:39 +0000 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: Backing Up a journaled FS Message-ID: <20141229172139.46b85f44@gumby.homeunix.com> In-Reply-To: <CAAdA2WPkX0qNKofG-U9fzOBH-Zh_uiCGmYodfy8NuSSO1YTQdw@mail.gmail.com> References: <CAAdA2WPkX0qNKofG-U9fzOBH-Zh_uiCGmYodfy8NuSSO1YTQdw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141229172139.46b85f44>