All of my excludes look like this:
$Conf{BackupFilesExclude} = ['/proc', '/var/named/chroot/proc', '/mnt',
'/sys', '/media'];
$Conf{XferMethod} = 'rsyncd';
$Conf{RsyncShareName} = 'wholedrive';
They seem to work fine. I'm using 3.0.0beta3. Is your rsync share name
correct? Shouldn't your exclude path be _relative_ to that directory
then? My "wholedrive" is "/", so my directories are relative. Yours
aren't.
JH
James Kyle wrote:
I figure I'm doing something wrong here, but I wish to backup
/usr/local, but not /usr/local/var/backups
_TOPDIR_/pc/localhost/config.pl:
$Conf{RsyncShareName}
<http://airto.hosted.ats.ucla.edu:8080/cgi-bin/BackupPC_Admin?action=view&type=docs#item_%24conf%7brsyncsharename%7d>
= ['/usr/local'];
$Conf{BackupFilesExclude}
<http://airto.hosted.ats.ucla.edu:8080/cgi-bin/BackupPC_Admin?action=view&type=docs#item_%24conf%7bbackupfilesexclude%7d>
= ['/usr/local/var/backups'];
$Conf{RsyncClientCmd}
<http://airto.hosted.ats.ucla.edu:8080/cgi-bin/BackupPC_Admin?action=view&type=docs#item_%24conf%7brsyncclientcmd%7d>
= '/usr/bin/sudo $rsyncPath $argList';
$Conf{RsyncClientRestoreCmd}
<http://airto.hosted.ats.ucla.edu:8080/cgi-bin/BackupPC_Admin?action=view&type=docs#item_%24conf%7brsyncclientrestorecmd%7d>
= '/usr/bin/sudo $rsyncPath $argList';
localhost full backup log:
Contents of file /usr/local/var/backups/pc/localhost/XferLOG.0.z,
modified 2007-01-24 12:03:32 (Extracting only Errors)
Running: /usr/bin/sudo /usr/bin/rsync --server --sender --numeric-ids --perms
--owner --group --devices --links --times --block-size=2048 --recursive
--exclude=/usr/local/var/backups --ignore-times . /usr/local/
Xfer PIDs are now 315
Got remote protocol 28
Negotiated protocol version 26
Sent exclude: /usr/local/var/backups
Xfer PIDs are now 315,316
[ skipped 2037 lines ]
Done: 1892 files, 214682497 bytes
And yet,
Name Type Mode # Size Date Modified
backups dir 0755 0 544 2007-01-24 -8:00
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/