From owner-freebsd-questions Mon Dec 2 4:34:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 059A537B401 for ; Mon, 2 Dec 2002 04:34:17 -0800 (PST) Received: from ip68-14-62-49.no.no.cox.net (ip68-14-62-49.no.no.cox.net [68.14.62.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FE8043EC2 for ; Mon, 2 Dec 2002 04:34:16 -0800 (PST) (envelope-from conrads@cox.net) Received: from ip68-14-62-49.no.no.cox.net (localhost [127.0.0.1]) by ip68-14-62-49.no.no.cox.net (8.12.6/8.12.6) with ESMTP id gB2CY8sP065274; Mon, 2 Dec 2002 06:34:08 -0600 (CST) (envelope-from conrads@ip68-14-62-49.no.no.cox.net) Received: (from conrads@localhost) by ip68-14-62-49.no.no.cox.net (8.12.6/8.12.6/Submit) id gB2CY2KQ065273; Mon, 2 Dec 2002 06:34:02 -0600 (CST) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.5.3 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021201171120.GA550@brad.ac.uk> Date: Mon, 02 Dec 2002 06:34:02 -0600 (CST) Reply-To: conrads@cox.net Organization: A Rag-Tag Band of Drug-crazed Hippies From: Conrad Sabatier To: K.Oikonomakos@brad.ac.uk Subject: Re: dump/restore after filesystem layout changes Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 01-Dec-2002 K.Oikonomakos@brad.ac.uk wrote: > On Sun, Dec 01, 2002 at 10:40:58AM -0600, Conrad Sabatier wrote: >> >> Ok, now on to my question: I'd like to do a full backup on each of my >> filesystems, zap all the partitions and do a new fdisk/disklabel with >> more filesystems than I'm currently using. For example, create a new >> /home partition instead of using a symlink in / to /usr/home. >> >> I'm just wondering if this will present any problems when restoring from >> backups. I can't seem to glean this information from the man pages. > > Well it is going to work as long as the directory structure is not > changed. > But you will have to be extra carefull with your permissions when you > backup/restore your files. (what are you going to use for backup? > dump/restore?) Yes, I'll be restoring from the backups I just finished making yesterday using dump/restore (with an ATAPI CD burner, no less; still in awe of that!). :-) I'm thinking it *should* work OK, as long as, as you said, I'm careful with permissions, and make sure everything gets restored to the right locations under the new filesystem layout. I figure mtree(8) should be helpful with this. The main reason I want to do this, besides to reclaim some wasted space from having /, /var, and /tmp partitions that are larger than I really need, is to make incremental backups easier later on (again, now that I can finally use dump/restore with my __ATAPI__ CD burner). :-) I'll report back later as to how it all went. Thanks. Oh, and if anyone's curious as to how I got my CD burner to work with dump/restore, just let me know. It was really simple actually. I'm running 5.0-CURRENT, by the way, but you -stable users definitely have something to look forward to very soon (if it hasn't already been MFC'ed). :-) -- Conrad Sabatier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message