I noticed that BackupPC 3.0.0beta1 seems to have a serious bug in 
incremental backups - "exclude" options are not respected.

When a full backup is made, BackupPC starts backup with these arguments, 
and "Send exclude" is respected - these directories are not transferred:

full backup started for directory /etc (baseline backup #0)
Running: /usr/bin/ssh -i /home/backuppc/.ssh/gr2.dsa -q -x -l buser 
grhost1 /usr/bin/rsync --server --sender -v --numeric-ids --perms 
--owner --group --devices --links --times --recursive --ignore-times . /etc/
Xfer PIDs are now 27576
Got remote protocol 29
Negotiated protocol version 28
Sent exclude: /backup/*
Sent exclude: /unattended/*


Incremental looks almost the same, it also says which "Sent exclude" it 
used:

incr backup started back to 2006-08-28 10:57:40 (backup #1) for 
directory /etc
Running: /usr/bin/ssh -i /home/backuppc/.ssh/gr2.dsa -q -x -l buser 
grhost1 /usr/bin/rsync --server --sender -v --numeric-ids --perms 
--owner --group --devices --links --times --recursive . /etc/
Xfer PIDs are now 30980
Got remote protocol 29
Negotiated protocol version 28
Sent exclude: /backup/*
Sent exclude: /unattended/*


In reality, with incremental backups, "Sent exclude" are ignored, and 
BackupPC tries to fetch excluded directories (which I don't want).


Is this bug known, and is there a remedy for it?


With the latest stable version everything worked as expected.
If it matters, I made an upgrade from 2.1.2p1 to 3.0.0beta1.

I have this config for a host:

$Conf{PingMaxMsec} = 400;
$Conf{XferMethod} = 'rsync';

  $Conf{RsyncClientPath} = '/usr/bin/rsync';

  $Conf{RsyncClientCmd} = '$sshPath -i /home/backuppc/.ssh/gr2.dsa -q -x 
-l buser $host $rsyncPath $argList+';
  $Conf{RsyncClientRestoreCmd} = '$sshPath -i 
/home/backuppc/.ssh/gr2.dsa -q -x -l buser $host $rsyncPath $argList+';

  $Conf{RsyncShareName} = [
                 '/etc',
                 '/home/samba'
  ];

  $Conf{RsyncArgs} = [
                  '-v',
                  '--numeric-ids',
                  '--perms',
                  '--owner',
                  '--group',
                  '--devices',
                  '--links',
                  '--times',
                  '--recursive',
                  '--exclude=/linuxbackup/*',
                  '--exclude=/unattended/*'
  ];


-- 
Tomasz Chmielewski
http://wpkg.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to