Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2005 17:53:39 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        FreeBSD <freebsd-questions@freebsd.org>
Cc:        v.demartino2@virgilio.it
Subject:   Re: backup with tar: Which dirs
Message-ID:  <20050503155338.GA56956@slackbox.xs4all.nl>
In-Reply-To: <427197A300008993@ims3e.cp.tin.it>
References:  <427197A300008993@ims3e.cp.tin.it>

next in thread | previous in thread | raw e-mail | index | archive | help

--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 03, 2005 at 09:32:10AM +0200, v.demartino2@virgilio.it wrote:
> I have a large usb harddisk with a 60GB freebsd slice that I want to use
> to backup the FreeBSD 5.4 installation on my laptop once in a while.
> I think that tar is the right tool for this purpuse.

You could also use dump, combined with bzip2. If you want to use tar,
use gtar with the  --one-file-system option.

> Now I ask:
> What directories do *** NOT *** require to be backed up?
> I know this is the case of /tmp=20
> but what about /dev? and /var?

The /dev/ directory is filled automagically. You don't have to back it
up. I would make a backup of /var, since things like your ports database
and mail queue reside there.

In short; back up /, /usr and /var, and /home if you have that on a
seperate slice.

Roland
--=20
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/         X     No Word docs in e-mail
public key: http://www.keyserver.net / \    Respect for open standards

--UugvWAfsgieZRqgk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCd56CEnfvsMMhpyURAmVMAJ4zriPiyAuQXZhBdbOCM1w2JZF9MwCfdKgp
iGDGmBpzVzKBTwJ2DBopcLA=
=UFAy
-----END PGP SIGNATURE-----

--UugvWAfsgieZRqgk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050503155338.GA56956>