$Conf{XferLogLevel} = 3; $Conf{BackupZeroFilesIsFatal} = '0'; *$Conf{BackupFilesExclude} = undef;*
I tried this, but the same results. But I think Holger nailed it with the --one-file-system arg. And you got it ... backing up a NAS where each sharepoint is also a separate mountpoint. Thanks, -Kris Kris Lou k...@themusiclink.net On Thu, Sep 27, 2018 at 4:33 PM, Holger Parplies <wb...@parplies.de> wrote: > Hi, > > Kris Lou via BackupPC-users wrote on 2018-09-27 15:22:20 -0700 > [[BackupPC-users] 4.2.1 Rsync and BackupFilesOnly]: > > [...] > > Need More Eyes! > > 8-) > > > $Conf{BackupFilesOnly} = { > > '*' => [ > > '/SysData' > > ] > > }; > > This is translated by BackupPC to what you see below - --include=/SysData > --exclude=/* - > because rsync has no notion of "only". "Only" means "include /SysData but > exclude everything > else". > > > [...] > > /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/ / > > > > [...] > > If I change the share name to "/sharedfolders/SysData" and blank out the > > Only/Excludes, then it'll dump it correctly. > > Let me guess. /sharedfolders/SysData is a mount point, right? You have > --one-file-system > in the rsync args, so starting from /sharedfolders, rsync won't recurse > into a different > file system. If you start at /sharedfolders/SysData, you're already on the > target fs, so > everything will work as expected. Try removing the --one-file-system. > > Regards, > Holger >
_______________________________________________ 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/