From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NBA8j-0001uL-AN for garchives@archives.gentoo.org; Thu, 19 Nov 2009 16:45:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC3E1E0928; Thu, 19 Nov 2009 16:44:44 +0000 (UTC) Received: from mail-pz0-f174.google.com (mail-pz0-f174.google.com [209.85.222.174]) by pigeon.gentoo.org (Postfix) with ESMTP id A9932E0928 for ; Thu, 19 Nov 2009 16:44:44 +0000 (UTC) Received: by pzk4 with SMTP id 4so1599107pzk.32 for ; Thu, 19 Nov 2009 08:44:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=bnfTY6Y+Gas145bMKcf5S/Ug9sSXigCha2Kqh8Gsp7A=; b=qjXFe3XbLDGfpiIG601EApwJrMCP6FSjebER/WaVga+wIGigpIDWENouKT8UVIqU9z AdrKGn1KR6xkVHKaungsO7VFStNnIkglTgPQyJgkXC+Ir50JtzMm/wCafW727G8vrcix DZitKmLOCp0ECNTJv5N1yr41lO+cLrJxqrosk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WIIbL/ehXcFXW0hEbt+GCLgipe0McLICkkLW1ylC2mdWFkX5iyuMOEyS57yd+tB/hl uEZ9bmx7bMIL15QFwUhhJAnaBcTU2Nr+6X48uHCn4Sy7w+QRSx+SScrx27GeLhzWpxJa j4yRxK14xs3aJiQ0hg+D56rJ4reFGe5b0DpfA= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.115.102.9 with SMTP id e9mr172631wam.199.1258649084206; Thu, 19 Nov 2009 08:44:44 -0800 (PST) Date: Thu, 19 Nov 2009 08:44:44 -0800 Message-ID: <49bf44f10911190844i5cb77185me60d5eb44ff2bfc7@mail.gmail.com> Subject: [gentoo-user] rsync backup system From: Grant To: Gentoo mailing list Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: ca10b9ce-cd3e-4094-b806-2ee3aaf8050a X-Archives-Hash: c871404e3f73e1a0ffc38bdeb2818560 I just finished an rsync backup system that works like this: Each of 4 Gentoo systems contains a folder called "backup" which contains symlinks to local files and folders for backup. 2 of the systems contain a folder called "sync" which contains the contents of the "backup" folder for each of the 4 systems. 3 of the systems rsync with one of the "sync" systems, and that system rsyncs with the other "sync" system. I've got a few questions for you guys about this. 1. I back up the entire /etc folder of each system, and some files have read-only permissions. This means I get "permission denied" when I try to rsync them. How would you handle this? 2. Some of the files I back up only allow root to read. I can run rsync as root on each system, but I don't allow root logins. This means in order to rsync the second "sync" system with the first "sync" system, I must run the rsync command from the first "sync" system. This means I have to run rsyncd on the second "sync" system in addition to the first "sync" system. I'd rather only run one instance of rsyncd. Can anyone think of another option? 3. The rsync process always completes with "rsync error: some files/attrs were not transferred". How can I get more information about which files this pertains to? 4. Should I be comfortable running the entire sync operation every night, or am I jeopardizing the longevity of my HDs? 5. If I end up with filesystem corruption on the SRC system, will that corruption transfer over to the DST system during an rsync, or will the transfer just fail? 6. Can I run rsyncd on a system facing the internet without fear? - Grant