BackupPC-users

Re: [BackupPC-users] Discrepant file size reports of backups

2009-10-16 07:26:16
Subject: Re: [BackupPC-users] Discrepant file size reports of backups
From: Holger Parplies <wbppc AT parplies DOT de>
To: sd AT pm7 DOT ch
Date: Fri, 16 Oct 2009 13:22:43 +0200
Hi,

sd AT pm7 DOT ch wrote on 2009-10-16 02:05:07 -0700 [Re: [BackupPC-users] 
Discrepant file size reports of backups]:
> [...]
> Both directories are in the same filesystem and the path was most likely
> changed right after the installation.

/var/lib/backuppc and /usr/share/backuppc/data ? That would be the root file
system. It's not really a good idea to put your pool on the rootfs.

> I don't fully understand why the changed path is a problem in this case,

Neither do I, but I remember that it *is* a problem. You can have a link for
$TopDir (i.e. $TopDir = '/var/lib/backuppc' and /var/lib/backuppc is a
softlink to somewhere), but softlinks below $TopDir don't seem to work
(whatever the reason was), even if they remain within one file system.

> but I can try to move the directory back to the default path (thanks for the
> link).

That case is not really covered on the wiki page, because it really depends on
what you did and thus need to revert. I was hoping the wiki page will explain
some of the background. If you need more help, we'd need to know a bit more
about your filesystem layout (i.e. 'df', any softlinks involved, layout below
/usr/share/backuppc/data, ...). If it's really all just one FS, you probably
just need to 'mv' some things around, though that won't re-establish pooling
if it wasn't working.

Also note that backup expiration is *not* done by BackupPC_nightly but by
BackupPC_dump. Changing the number of backups to keep and running
BackupPC_nightly (via the daemon, hopefully? :) will do exactly nothing. You
need to run a backup to expire old backups, and if pooling isn't working (not
sure from the info so far), you won't even need BackupPC_nightly to get back
some space.

On the other hand, moving things back into place just might make
BackupPC_nightly clean out the complete pool (because nothing has more than
the one pool link) without the need to expire any backups. That would however
mean that your existing backups do not participate in pooling (I believe
Jeffrey has scripts to fix that, but I'm not sure if it's worthwhile for you).

If you don't need to keep your backup history (as your attempt of reducing the
number of kept backups suggests), you might be best off to simply start over
with a new pool (and keep the old one around as long as you need it). Consider
putting this on a separate partition (or better yet: set of disks) from your
OS installation. But that matter is explained on the wiki page :).

Regards,
Holger

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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/