From owner-freebsd-questions Mon Sep 11 23:11:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 2CE4837B422 for ; Mon, 11 Sep 2000 23:11:45 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Mon, 11 Sep 2000 23:10:38 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id e8C6BfY69115; Mon, 11 Sep 2000 23:11:41 -0700 (PDT) (envelope-from cjc) Date: Mon, 11 Sep 2000 23:11:40 -0700 From: "Crist J . Clark" To: j mckitrick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: unrelated: mountpoints and backup strategies Message-ID: <20000911231140.F69158@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <20000911145420.B69890@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000911145420.B69890@dogma.freebsd-uk.eu.org>; from jcm@FreeBSD-uk.eu.org on Mon, Sep 11, 2000 at 02:54:20PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Sep 11, 2000 at 02:54:20PM +0100, j mckitrick wrote: > > First, for allowing user-mountable filesystems on a single-user system, does > it not make more sense to mount them to points under the user's home > directory rather than having to chmod the ones under /mnt every reboot? > > Also, does anyone know of a good backup strategy or program for zip drives? Are you backing up what is on the drive or to the drive? If you are backing up to it, put a filesystem on the disk, mount it, and backup to a file, # dump -ua0f /zip/root.0.dmp / > I don't have a tape, and i don't want to dump all of /etc and /home, since a > lot of that would be unnecessary for a system restore, and also > wastes time. Uhhh... /etc is one of the most critical things to backup. That's what contains all of your system customizations, and /etc is tiny size- and timewise. /home is also something unique to your system. The size varies widely with system uses. Stuff like /bin, /usr, and stuff from a standard FreeBSD installation you can typically backup once and forget. If you need it again, it is easy to get off your CD or other media. > So far, I dump the output of pkg_info to my home directory. Backup the whole /var/db/pkg. > I am also > considering just building a list of paths and filenames and use this as > arguments for tar and bzip. Does anyone have a better idea? Use dump(8). If you want to compress stuff I backed in the command up above, # dump -ua0f - / | gzip > /zip/root.0.dmp.gz Or bzip for gzip, whatever. Use dump levels to keep the sizes under control. This is how I used to backup my last office system to Jaz. Still got the scripts if you are interested. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message