Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] rsync backup system
Date: Thu, 19 Nov 2009 16:45:49
1 I just finished an rsync backup system that works like this:
3 Each of 4 Gentoo systems contains a folder called "backup" which
4 contains symlinks to local files and folders for backup. 2 of the
5 systems contain a folder called "sync" which contains the contents of
6 the "backup" folder for each of the 4 systems. 3 of the systems rsync
7 with one of the "sync" systems, and that system rsyncs with the other
8 "sync" system.
10 I've got a few questions for you guys about this.
12 1. I back up the entire /etc folder of each system, and some files
13 have read-only permissions. This means I get "permission denied" when
14 I try to rsync them. How would you handle this?
16 2. Some of the files I back up only allow root to read. I can run
17 rsync as root on each system, but I don't allow root logins. This
18 means in order to rsync the second "sync" system with the first "sync"
19 system, I must run the rsync command from the first "sync" system.
20 This means I have to run rsyncd on the second "sync" system in
21 addition to the first "sync" system. I'd rather only run one instance
22 of rsyncd. Can anyone think of another option?
24 3. The rsync process always completes with "rsync error: some
25 files/attrs were not transferred". How can I get more information
26 about which files this pertains to?
28 4. Should I be comfortable running the entire sync operation every
29 night, or am I jeopardizing the longevity of my HDs?
31 5. If I end up with filesystem corruption on the SRC system, will that
32 corruption transfer over to the DST system during an rsync, or will
33 the transfer just fail?
35 6. Can I run rsyncd on a system facing the internet without fear?
37 - Grant


Subject Author
Re: [gentoo-user] rsync backup system Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] rsync backup system Albert Hopkins <marduk@×××××××××××.org>