BackupPC-users

Re: [BackupPC-users] Wierd backup problem

2010-11-13 03:23:29
Subject: Re: [BackupPC-users] Wierd backup problem
From: "Tyler J. Wagner" <tyler AT tolaris DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sat, 13 Nov 2010 08:20:57 +0000
On Fri, 2010-11-12 at 21:09 -0500, B. Alexander wrote:
> I have also found that a clean install of Debian plus an apt-get
> dselect-upgrade (I capture the package lists daily) takes about the
> same amount of time as a full restore.

Fair enough. I go the other way - backing up /usr/bin doesn't matter
much with disk pooling, and my restore method is to boot a live CD,
mount --rbind dev, proc, and sys into /mnt, and then restore over that.
Then chroot into it, install grub again, and reboot.

Installing over a base OS install works too, but it has one weakness:
files that exist as part of the base install, but which don't exist in
the backup, are retained. It also depends on the base OS installer (and
any web dependencies) working, which may not be the case if you are
running a dangerously old distro for some reason.

> Yeah, I have sudoers cranked down so the backuppc user can only do
> rsync, tar, and other things associated with the backup. Having a
> single user account that has root access to everything, especially an
> unattended one, causes those hairs on the back of my neck to rise. :)

Another option, or to add to what you've got anyway, is to restrict key
login by IP:

http://www.tolaris.com/2009/09/05/using-ssh-agent-and-setting-key-access-limits/

My backuppc keys can login as root, but only from the expected IPs.

Sorry I haven't been able to find your problem. Perhaps use lsof and top
to see what rsync is reading during the backup?

Regards,
Tyler

-- 
"The belief in immortality has always seemed cowardly to me. When very
young I learned that all things die, and all that we wish of good must
be won on this earth or not at all."
   -- Anne Smedley


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/