Hey guys, This is driving me nuts. I just installed a new instance of 4.2.1, and for whatever reason, I can't get the BackupFilesOnly/BackupFilesExclude to work correctly. Need More Eyes!
$Conf{BackupFilesOnly} = { '*' => [ '/SysData' ] }; $Conf{RsyncShareName} = [ '/sharedfolders' ]; $Conf{XferMethod} = 'rsync'; $Conf{DumpPostUserCmd} = undef; $Conf{DumpPreUserCmd} = undef; $Conf{RestorePostUserCmd} = undef; $Conf{RestorePreUserCmd} = undef; $Conf{XferLogLevel} = 3; $Conf{BackupZeroFilesIsFatal} = '0'; $Conf{BackupFilesExclude} = {}; ~ As seen above, I've got 1 client share defined (/sharedfolders), and I'm trying to get "/SysData" and its content. BackupFilesExclude is currently blank. (BackupFilesExclude usually has stuff; this is an override to clear it out). >From XferLog: /usr/bin/rsync_bpc --bpc-top-dir /data/BackupPCPool --bpc-host-name shares.axlmusiclink.biz --bpc-share-name /sharedfolders --bpc-bkup-num 0 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 2 --bpc-attrib-new --bpc-log-level 3 -e /usr/bin/ssh\ -l\ root --rsync-path=/usr/bin/rsync --super --recursive --protect-args --numeric-ids --perms --owner --group -D --times --links --hard-links --delete --delete-excluded --one-file-system --partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats --checksum --timeout=72000 --include=/SysData --exclude=/\* shares.axlmusiclink.biz:/sharedfolders/ / So, I think that the "--exclude=/\*" is what's causing this to dump 0 files, but I have no idea where it came from. If I change the share name to "/sharedfolders/SysData" and blank out the Only/Excludes, then it'll dump it correctly. The rsync-bpc command then doesn't append the --include and --exclude strings. So, what's wrong with my syntax? Thanks, -Kris Kris Lou k...@themusiclink.net
_______________________________________________ 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/