Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 15:57:32 -0600
From:      "Scott Gerhardt" <scott@gerhardt-it.com>
To:        "FreeBSD" <freebsd-questions@FreeBSD.ORG>
Subject:   Tar Backup
Message-ID:  <KPEMLBLEMPMHGLJOCDEGEEGPECAA.scott@gerhardt-it.com>

next in thread | raw e-mail | index | archive | help
I'm using tar to do a full system backup using the following command:

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

What other directories should I exclude?
/usr/src?

My goal is to do a system dump which can be moved off the machine and
burned to CD.  Total including /usr/src is about 450MB.

Any suggestions to do this better.

Thanks,



_________________________________

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