Date: Mon, 11 Sep 2000 23:11:40 -0700 From: "Crist J . Clark" <cjclark@reflexnet.net> To: j mckitrick <jcm@FreeBSD-uk.eu.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: unrelated: mountpoints and backup strategies Message-ID: <20000911231140.F69158@149.211.6.64.reflexcom.com> 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 %2B0100 References: <20000911145420.B69890@dogma.freebsd-uk.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000911231140.F69158>