Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2002 14:26:36 -0600
From:      "Scott Gerhardt" <scott@gerhardt-it.com>
To:        "FreeBSD" <freebsd-questions@FreeBSD.ORG>
Subject:   Backup using TAR
Message-ID:  <KPEMLBLEMPMHGLJOCDEGMEDMDGAA.scott@gerhardt-it.com>

next in thread | raw e-mail | index | archive | help
I am experimenting with tar as a mechanism to do a full backup of my
system.
I would like to backup the entire system to file which will later be copied
to cd (roughly 450MB).

Here is the command I'm using:

tar  cpf /usr/archive/full-backup-`date '+%d-%B-%Y'`.tar
--directory / --exclude=/usr/ports --exclude=/mnt
--exclude=/usr/archive --exclude=/proc .

What other directories should I exclude?
Are there any other recommended parameters?

I've looked at the tar manpage but it is a little overwhelming.



_________________________________

Scott Gerhardt, P.Geo.
Gerhardt Information Technologies


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?KPEMLBLEMPMHGLJOCDEGMEDMDGAA.scott>