[BackupPC-users] Incremental backups aren't.

2008-12-10 Thread Mark Adams
I've Googled for this and scanned the BackupPC docs and I don't see a 
solution for this.

The issue is my desktop is spending hours creating huge backups on the 
server. The current incremental backup started at 7:00 this morning 
and is still running now at 12:15, and is running about 21G.  Listing 
the files under /mnt/backup/pc/spike/new indicates that all of the same 
files in the full backup are being backed up by this incremental.

All told, the initial full backup was only 16 Gigs!

[EMAIL PROTECTED] 0]# du -s
16G.

Here's a partial directory listing (no relatively small log files, lock, 
etc.) and the original full backup, plus the completed first 
incremental, plus almost 5 hours worth of the today's incremental backup 
amount to almost 70 Gig!

[EMAIL PROTECTED] spike]# ll
total 34904
drwxr-x--- 3 backuppc backuppc 4096 2008-12-08 14:28 0/
drwxr-x--- 3 backuppc backuppc 4096 2008-12-09 02:13 1/
drwxr-x--- 3 backuppc backuppc 4096 2008-12-10 07:00 new/

[EMAIL PROTECTED] spike]# du -s
70G .

Here is a link to the config I'm using. 
ftp://adams-lan.blogdns.org/config.pl.nocomments

And my per-pc config. Some of you have seen it before:
# cat spike.pl
$Conf{TopDir} = '/mnt/attic/spike_images';
$Conf{XferMethod} = 'rsync';
$Conf{BackupFilesExclude} = ['/floppy'];
$Conf{BackupFilesOnly} = ['/mnt/spike/images', '/mnt/spike/photos'];


How did I screw this up?

-- 
Mark E. Adams

Random Musing: 
My family history begins with me, but yours ends with you.
-- Iphicrates



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Incremental backups aren't.

2008-12-10 Thread Holger Parplies
Hi,

Mark Adams wrote on 2008-12-10 12:18:04 -0700 [[BackupPC-users] Incremental 
backups aren't.]:
 
 The issue is my desktop is spending hours creating huge backups on the 
 server. The current incremental backup started at 7:00 this morning 
 and is still running now at 12:15, and is running about 21G.  Listing 
 the files under /mnt/backup/pc/spike/new indicates that all of the same 
 files in the full backup are being backed up by this incremental.

this is - most probably - due to the fact that you changed your backup
definition after the last full backup. Even though you are backing up the same
files on the client, for BackupPC it's a different share and thus different
files now. Run a full backup and see if the problem goes away on subsequent
incrementals [but first see the notes on TopDir below].

 [EMAIL PROTECTED] 0]# du -s
 16G.
 
 [...]
 
 [EMAIL PROTECTED] spike]# du -s
 70G .

That is strange. It would seem that you are backing up significantly more than
on your first full backup - even if pooling is not working.

 Here is a link to the config I'm using. 
 ftp://adams-lan.blogdns.org/config.pl.nocomments

ftp:// ? Are you serious?

 And my per-pc config. Some of you have seen it before:
 # cat spike.pl
 $Conf{TopDir} = '/mnt/attic/spike_images';

That one is simply wrong and would probably explain why pooling is not
working. Which version of BackupPC did you say you are using?
Don't try to change TopDir in your configuration file(s) - least of all in the
host specific configuration file (then again, wouldn't it simply be ignored
there?). Use a symbolic link or a bind mount. See
http://backuppc.wiki.sourceforge.net/change+archive+directory ...

 $Conf{XferMethod} = 'rsync';
 $Conf{BackupFilesExclude} = ['/floppy'];
 $Conf{BackupFilesOnly} = ['/mnt/spike/images', '/mnt/spike/photos'];

The RsyncShareName seems to be missing ... '/', right?

Mark Adams wrote on 2008-12-10 13:40:14 -0700 [Re: [BackupPC-users] Incremental 
backups aren't.]:
 Just noticed the /var/log/backuppc/LOG file for BackupPC is pumping 
 these out mercilessly:
 
 2008-12-10 06:49:02 BackupPC_link got error -4 when calling 
 MakeFileLink(/mnt/backup/pc/shuttle 
 http://adamsmdk/backuppc/BackupPC_Admin.cgi?host=shuttle/0/f%2f/fhome/fmadams/f.beagle/fTextCache/f97/f1a4401-b13f-4ebb-bcc9-971de65dae6d,
  6c34911b58a200c2e8615c3d37c8e33d, 1)

See the note on TopDir above.

 And /home/madams/.beagle is supposed to be on the exclude list!

Well, it isn't, is it? /home/madams is not even in BackupFilesOnly. It would
seem that something got mixed up, but perhaps it's just that I didn't look at
config.pl. Could you please include the correct config files? :)

Regards,
Holger

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Incremental backups aren't.

2008-12-10 Thread Craig Barratt
Mark writes:

 Just noticed the /var/log/backuppc/LOG file for BackupPC is pumping
 these out mercilessly:
 
 2008-12-10 06:49:02 BackupPC_link got error -4 when calling 
 MakeFileLink(/mnt/backup/pc/shuttle 
 http://adamsmdk/backuppc/BackupPC_Admin.cgi?host=shuttle/0/f%2f/fhome/fmadams/f.beagle/fTextCache/f97/f1a4401-b13f-4ebb-bcc9-971de65dae6d,
  6c34911b58a200c2e8615c3d37c8e33d, 1)
 
 And /home/madams/.beagle is supposed to be on the exclude list!

 And my per-pc config. Some of you have seen it before:
 # cat spike.pl
 $Conf{TopDir} = '/mnt/attic/spike_images';
 $Conf{XferMethod} = 'rsync';
 $Conf{BackupFilesExclude} = ['/floppy'];
 $Conf{BackupFilesOnly} = ['/mnt/spike/images', '/mnt/spike/photos'];

As Holger notes you appear to be backing up more than you expect.
The $Conf{BackupFilesOnly} setting obviously isn't working.
Plus you can't set $Conf{TopDir} on a per-client basis, and
as Holger notes you should change TopDir with a symlink.

Also, is there any chance your desktop has nfs mounts of the
server, in particular including the BackupPC store?  That
recursion will make the next incremental quite large.

Craig

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/