BackupPC-users

Re: [BackupPC-users] Wierd backup problem

2010-11-13 13:33:34
Subject: Re: [BackupPC-users] Wierd backup problem
From: "B. Alexander" <storm16 AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sat, 13 Nov 2010 13:31:01 -0500
On Sat, Nov 13, 2010 at 3:20 AM, Tyler J. Wagner <tyler AT tolaris DOT com> 
wrote:
> 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.

Hmmm...I might just look at that. I was running into space problems on
the backup server a while back, basically because of hardware. It uses
PATA drives, and the largest one you can get is 500GB. I have since
found that Apple sells 750GB PATA drives, but I don't want to pay
Apple prices for obsolescent technology. My plan is to migrate my
backups to my file server (in my copious free time), and now that 2TB
SATA drives are under $100, so much the better...I will probably be
rethinking my backup strategy based on that...

> 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.

Well, I wasn't concerned about someone getting the key as much as I
was someone compromising the backup server. At that point, they would
have unrestricted root access. Of course, if the backup server does
get compromised, they would have access to backups as well, but you
can't cover everything...

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

I will try that. I watched the backup with tree, and it always stopped
at the same file...However, if I changed the order of directories, it
would stop at a different file, but always the same one.

--b

> 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/
>

------------------------------------------------------------------------------
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/