Gentoo Archives: gentoo-user

From: Dave Nebinger <dnebinger@××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Using tar to backup my system
Date: Fri, 04 Nov 2005 00:51:25
Message-Id: 002101c5e0d8$7b0ffbd0$0a00a8c0@butthead
In Reply to: [gentoo-user] Using tar to backup my system by Richard Watson
1 > # tar -zcvf /backup/mylaptop.tar /[all directories] except /backup (as I
2 > don't want to go in circles).
3
4 You're going to want to exclude portions of /var, /dev, /proc & /sys, /tmp,
5 ... You're also going to want to dig deeper into command line options to
6 preserve ownership, links rather than hard files, etc.
7
8 > # tar -zxvf mylaptop.tar
9
10 Ah, -z isn't needed because mylaptop.tar is not compressed. The other
11 larger problem is that it overwrites all files, regardless of whether they
12 have been updated or not.
13
14 I guess really what I'm saying is no, it is not a good idea. There's plenty
15 of other backup solutions out there that would work better than this scheme.
16 If you have a server and space for the file, rsync would even be a better
17 solution.
18
19 --
20 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Using tar to backup my system Richard Watson <waty@×××××××××××.au>
Re: [gentoo-user] Using tar to backup my system Neil Bothwick <neil@××××××××××.uk>