[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tarr'ing
- To: silug-discuss@silug.org
- Subject: Re: Tarr'ing
- From: "Koree A. Smith" <koreesmith@gmail.com>
- Date: Fri, 31 Mar 2006 21:56:42 -0600
- DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pPMV7e/utrQ9O7TGWyvHrAagJzkwxa3Agl+NswYx85ZVz9ULg/i9Jt/3RGqKxdIbp/SFRN99YRRhJpQgwiiYij8/pD5XqLZbe+QRWtucbHncYKsnpM2UgCP8qnlJqQIPU08GD0nEkZjuxVRj2zet3lyQbZgOvHfOkIJORrw8AOQ=
- In-Reply-To: <442DF83F.6020505@gmail.com>
- Organization: Southern Illinois Linux Users Group
- References: <442DF83F.6020505@gmail.com>
- Reply-To: silug-discuss@silug.org
- Sender: silug-discuss-owner@silug.org
I have really never had luck trying to use tar to back up. I would
suggest using rsync to rsync everything to another drive or directory.
Then, if you *really* want a tarball of the backup, you could tar the
directory you copy everything to.
If you do use rsync, make sure to look at all of the switches. You
want to use the option for numeric IDs, and you want to skip /dev and
/sys, and /proc. There's more to it, but I'm afraid that I'll tell
you improper switches as I am very tired :D
But, I think you'd be very happy using rsync for making backups. I
actually just restored a customer's drive today from an rsync backup
he had made on a second drive in his server. So, I just installed
RHEL 4 ES on a drive, copied his files back to their proper locations
on the newly installed drive. Booted the system, and had a working
server with Cpanel, and working web sites and named.
Koree
On 3/31/06, hbrhodes <hbrhodes@gmail.com> wrote:
> can anyone tell me what directories i really need to back up using
> tar? i keep getting error messages ... heh, its insane. this is my
> current attempt:
>
> tar -czf /misc/archive/fc4_backup.tar.gz --label=fc4_backup -pP
> --exclude=cache /bin /boot /etc /home /lib /net /opt /root /sbin
> /selinux /srv /usr /var
>
>
> -
> To unsubscribe, send email to majordomo@silug.org with
> "unsubscribe silug-discuss" in the body.
>
>
--
Koree A. Smith
--
Senior System Administrator
EV1Servers.net
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.