Hello,

On BackupPC 4.1.3 with this jobs

$Conf{BackupFilesExclude} = {
  '/media' => [
    '/backup',
    '/backuppc',
    '/syno',
    '/usb',
    '/cdrom'
  ]
};
$Conf{XferMethod} = 'rsync';
$Conf{BlackoutPeriods} = [
  {
    'hourEnd' => '19.5',
    'weekDays' => [
      1,
      2,
      3,
      4,
      5
    ],
    'hourBegin' => 18
  }
];
$Conf{XferLogLevel} = 9;
$Conf{RsyncSshArgs} = [
  '-e',
  '$sshPath -l backuppc -i /home/backuppc/.ssh/id_rsa -x'
];
$Conf{BackupFilesOnly} = {
  '/media' => [
    '/netapp_www'
  ]
};
$Conf{ClientCharsetLegacy} = 'utf-8';

When I manually run a full backup I have the following error

No files dumped for share /media

In Xfer log i've this message

XferLOG file /media/backuppc/pc/svbackup04/XferLOG.0.z created 2017-09-25 11:23:28 Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle = 0, noFillCnt = ) Running: /usr/local/bin/rsync_bpc --bpc-top-dir /media/backuppc --bpc-host-name svbackup04 --bpc-share-name /media --bpc-bkup-num 0 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 1 --bpc-attrib-new --bpc-log-level 9 -e /bin/ssh\ -l\ backuppc\ -i\ /home/backuppc/.ssh/id_rsa\ -x --rsync-path=/usr/bin/sudo\ /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=/netapp_www --exclude=/\* --exclude=/backup --exclude=/backuppc --exclude=/syno --exclude=/usb --exclude=/cdrom svbackup04:/media/ /
full backup started for directory /media
Xfer PIDs are now 21104
This is the rsync child about to exec /usr/local/bin/rsync_bpc
bpc_lib_conf_init: topDir = /media/backuppc, logLevel = 9
bpc_path_create(/media/backuppc/pc/svbackup04/0)
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
bpc_stat(/)
splitPath: trimming path = ''
splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '' bpc_attribCache_loadPath: path = / -> dir = /, fileName = /media, attribPath = /attrib bpc_attrib_dirRead(/media/backuppc/pc/svbackup04/0//attrib); dirPath = /media/backuppc/pc/svbackup04/0, attribFilePath = /attrib, attribFileName = attrib
bpc_lstat(/)
splitPath: trimming path = ''
splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '' bpc_attribCache_loadPath: path = / -> dir = /, fileName = /media, attribPath = /attrib
splitPath: trimming path = ''
splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '' bpc_attribCache_loadPath: path = / -> dir = /, fileName = /media, attribPath = /attrib
bpc_mkdir(, 0777)
splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '' bpc_attribCache_loadPath: path =  -> dir = /, fileName = /media, attribPath = /attrib
bpc_path_create(/media/backuppc/pc/svbackup04/0/f%2fmedia)
bpc_path_create: found that /media/backuppc/pc/svbackup04/0 exists (1 levels up)
bpc_path_create: created /media/backuppc/pc/svbackup04/0/f%2fmedia
splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '' bpc_attribCache_loadPath: path =  -> dir = /, fileName = /media, attribPath = /attrib splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '' bpc_attribCache_loadPath: path =  -> dir = /, fileName = /media, attribPath = /attrib
IOdone: new .
bpc_chdir(/)
splitPath: trimming path = ''
splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '' bpc_attribCache_loadPath: path = / -> dir = /, fileName = /media, attribPath = /attrib
Xfer PIDs are now 21104,21111
xferPids 21104,21111
G bpc_lstat(.)
G splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '.' G bpc_attribCache_loadPath: path = . -> dir = /, fileName = /media, attribPath = /attrib
G bpc_lutimes(.)
G splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '.' G bpc_attribCache_loadPath: path = . -> dir = /, fileName = /media, attribPath = /attrib G splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '.' G bpc_attribCache_loadPath: path = . -> dir = /, fileName = /media, attribPath = /attrib
G bpc_lchmod(., 0755)
G splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '.' G bpc_attribCache_loadPath: path = . -> dir = /, fileName = /media, attribPath = /attrib G splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '.' G bpc_attribCache_loadPath: path = . -> dir = /, fileName = /media, attribPath = /attrib
G bpc_opendir(.)
G splitPath: returning dir = 'f%2fmedia', fileName = 'x', attrib = 'f%2fmedia/attrib' from path = '/x' G bpc_attribCache_loadPath: path = /x -> dir = f%2fmedia, fileName = x, attribPath = f%2fmedia/attrib G bpc_attrib_dirRead(/media/backuppc/pc/svbackup04/0/f%2fmedia/attrib); dirPath = /media/backuppc/pc/svbackup04/0, attribFilePath = f%2fmedia/attrib, attribFileName = attrib G splitPath: returning dir = 'f%2fmedia', fileName = 'x', attrib = 'f%2fmedia/attrib' from path = '/x' G bpc_attribCache_loadPath: path = /x -> dir = f%2fmedia, fileName = x, attribPath = f%2fmedia/attrib
G bpc_readdir -> .
G bpc_readdir -> ..
G bpc_readdir -> NULL
G bpc_closedir()
G bpc_lstat(.)
G splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '.' G bpc_attribCache_loadPath: path = . -> dir = /, fileName = /media, attribPath = /attrib
G bpc_lstat(netapp_www)
G splitPath: returning dir = 'f%2fmedia', fileName = 'netapp_www', attrib = 'f%2fmedia/attrib' from path = 'netapp_www' G bpc_attribCache_loadPath: path = netapp_www -> dir = f%2fmedia, fileName = netapp_www, attribPath = f%2fmedia/attrib G splitPath: returning dir = 'f%2fmedia', fileName = 'netapp_www', attrib = 'f%2fmedia/attrib' from path = 'netapp_www' G bpc_attribCache_loadPath: path = netapp_www -> dir = f%2fmedia, fileName = netapp_www, attribPath = f%2fmedia/attrib
G bpc_mkdir(netapp_www, 0700)
G splitPath: returning dir = 'f%2fmedia', fileName = 'netapp_www', attrib = 'f%2fmedia/attrib' from path = 'netapp_www' G bpc_attribCache_loadPath: path = netapp_www -> dir = f%2fmedia, fileName = netapp_www, attribPath = f%2fmedia/attrib
G bpc_path_create(/media/backuppc/pc/svbackup04/0/f%2fmedia/fnetapp_www)
G bpc_path_create: found that /media/backuppc/pc/svbackup04/0/f%2fmedia exists (1 levels up) G bpc_path_create: created /media/backuppc/pc/svbackup04/0/f%2fmedia/fnetapp_www G splitPath: returning dir = 'f%2fmedia', fileName = 'netapp_www', attrib = 'f%2fmedia/attrib' from path = 'netapp_www' G bpc_attribCache_loadPath: path = netapp_www -> dir = f%2fmedia, fileName = netapp_www, attribPath = f%2fmedia/attrib G splitPath: returning dir = 'f%2fmedia', fileName = 'netapp_www', attrib = 'f%2fmedia/attrib' from path = 'netapp_www' G bpc_attribCache_loadPath: path = netapp_www -> dir = f%2fmedia, fileName = netapp_www, attribPath = f%2fmedia/attrib
IOdone: new netapp_www
G bpc_lstat(netapp_www)
G splitPath: returning dir = 'f%2fmedia', fileName = 'netapp_www', attrib = 'f%2fmedia/attrib' from path = 'netapp_www' G bpc_attribCache_loadPath: path = netapp_www -> dir = f%2fmedia, fileName = netapp_www, attribPath = f%2fmedia/attrib
G bpc_lutimes(netapp_www)
G splitPath: returning dir = 'f%2fmedia', fileName = 'netapp_www', attrib = 'f%2fmedia/attrib' from path = 'netapp_www' G bpc_attribCache_loadPath: path = netapp_www -> dir = f%2fmedia, fileName = netapp_www, attribPath = f%2fmedia/attrib G splitPath: returning dir = 'f%2fmedia', fileName = 'netapp_www', attrib = 'f%2fmedia/attrib' from path = 'netapp_www' G bpc_attribCache_loadPath: path = netapp_www -> dir = f%2fmedia, fileName = netapp_www, attribPath = f%2fmedia/attrib
G bpc_lchmod(netapp_www, 0777)
G splitPath: returning dir = 'f%2fmedia', fileName = 'netapp_www', attrib = 'f%2fmedia/attrib' from path = 'netapp_www' G bpc_attribCache_loadPath: path = netapp_www -> dir = f%2fmedia, fileName = netapp_www, attribPath = f%2fmedia/attrib G splitPath: returning dir = 'f%2fmedia', fileName = 'netapp_www', attrib = 'f%2fmedia/attrib' from path = 'netapp_www' G bpc_attribCache_loadPath: path = netapp_www -> dir = f%2fmedia, fileName = netapp_www, attribPath = f%2fmedia/attrib
G bpc_lstat(.)
G splitPath: returning dir = '/', fileName = '/media', attrib = '/attrib' from path = '.' G bpc_attribCache_loadPath: path = . -> dir = /, fileName = /media, attribPath = /attrib
G bpc_lstat(netapp_www)
G splitPath: returning dir = 'f%2fmedia', fileName = 'netapp_www', attrib = 'f%2fmedia/attrib' from path = 'netapp_www' G bpc_attribCache_loadPath: path = netapp_www -> dir = f%2fmedia, fileName = netapp_www, attribPath = f%2fmedia/attrib
    new    recv cd+++++++++ rwxr-xr-x        0, 0        72 .
    new    recv cd+++++++++ rwxrwxrwx        0, 0      4096 netapp_www
R bpc_sysCall_cleanup: doneInit = 1
RefCnt Deltas for new backup
Uncompressed HT:
Compressed HT:
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 3 inode
Parsing done: nFilesTotal = 0

Number of files: 2
Number of files transferred: 0
Total file size: 0 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 42
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 111
Total bytes received: 69
sent 111 bytes  received 69 bytes  360.00 bytes/sec
total size is 0  speedup is 0.00
G bpc_sysCall_cleanup: doneInit = 1
G bpc_attribCache_dirWrite: writing /media/backuppc/pc/svbackup04/0//attrib with 1 entries (oldDigest = 0x0000...) G bpc_attrib_dirWrite(/media/backuppc/pc/svbackup04/0//attrib): dirPath = /media/backuppc/pc/svbackup04/0, attribFileName = /attrib, baseAttribFileName = attrib
G bpc_path_create(/media/backuppc/pc/svbackup04/0/)
G Wrote file /media: type = 5, mode = 0755, uid/gid = 0/0, size = 0, inode = 1, nlinks = 0, digest = 0x000000..., bufUsed = 4
G write_file_flush: writing 27 bytes to pool
G bpc_poolWrite_write: digest is 1640afe6f4d2eecb92a5ad34bea334d9
G Candidate matching file /media/backuppc/cpool/16/40/1640afe6f4d2eecb92a5ad34bea334d9 G bpc_fileZIO_open(/media/backuppc/cpool/16/40/1640afe6f4d2eecb92a5ad34bea334d9, 0, 3) -> 6 G match[0] now set to /media/backuppc/cpool/16/40/1640afe6f4d2eecb92a5ad34bea334d9 G Read 27 bytes of 27 from match[0] (/media/backuppc/cpool/16/40/1640afe6f4d2eecb92a5ad34bea334d9) G Read 0 bytes of 0 from match[0] (/media/backuppc/cpool/16/40/1640afe6f4d2eecb92a5ad34bea334d9) G Found match with match[0] (/media/backuppc/cpool/16/40/1640afe6f4d2eecb92a5ad34bea334d9)
G bpc_fileZIO_close(6)
G bpc_attrib_dirWrite: created new attrib file /media/backuppc/pc/svbackup04/0//attrib_1640afe6f4d2eecb92a5ad34bea334d9 G bpc_attrib_dirWrite: new attrib digest = 0x1640af..., oldDigest = 0x0000...
G bpc_poolRefDeltaUpdate(1640afe6f4d2eecb92a5ad34bea334d9, 1), count now 1
G bpc_attribCache_dirWrite: writing /media/backuppc/pc/svbackup04/0/f%2fmedia/attrib with 1 entries (oldDigest = 0x0000...) G bpc_attrib_dirWrite(/media/backuppc/pc/svbackup04/0/f%2fmedia/attrib): dirPath = /media/backuppc/pc/svbackup04/0, attribFileName = f%2fmedia/attrib, baseAttribFileName = attrib
G bpc_path_create(/media/backuppc/pc/svbackup04/0/f%2fmedia)
G Wrote file netapp_www: type = 5, mode = 0777, uid/gid = 0/0, size = 0, inode = 2, nlinks = 0, digest = 0x000000..., bufUsed = 4
G write_file_flush: writing 31 bytes to pool
G bpc_poolWrite_write: digest is aad4b0e000524d6dfb9eb29a1687eebf
G Candidate matching file /media/backuppc/cpool/aa/d4/aad4b0e000524d6dfb9eb29a1687eebf G bpc_fileZIO_open(/media/backuppc/cpool/aa/d4/aad4b0e000524d6dfb9eb29a1687eebf, 0, 3) -> 6 G match[0] now set to /media/backuppc/cpool/aa/d4/aad4b0e000524d6dfb9eb29a1687eebf G Read 31 bytes of 31 from match[0] (/media/backuppc/cpool/aa/d4/aad4b0e000524d6dfb9eb29a1687eebf) G Read 0 bytes of 0 from match[0] (/media/backuppc/cpool/aa/d4/aad4b0e000524d6dfb9eb29a1687eebf) G Found match with match[0] (/media/backuppc/cpool/aa/d4/aad4b0e000524d6dfb9eb29a1687eebf)
G bpc_fileZIO_close(6)
G bpc_attrib_dirWrite: created new attrib file /media/backuppc/pc/svbackup04/0/f%2fmedia/attrib_aad4b0e000524d6dfb9eb29a1687eebf G bpc_attrib_dirWrite: new attrib digest = 0xaad4b0..., oldDigest = 0x0000...
G bpc_poolRefDeltaUpdate(aad4b0e000524d6dfb9eb29a1687eebf, 1), count now 1
RefCnt Deltas for new backup
Uncompressed HT:
Compressed HT:
1640afe6f4d2eecb92a5ad34bea334d9 1
aad4b0e000524d6dfb9eb29a1687eebf 1
DoneGen: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 4 inode
Parsing done: nFilesTotal = 0
Xfer PIDs are now
Got fatal error during xfer (No files dumped for share /media)
Backup aborted (No files dumped for share /media)
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
bpc_fileZIO_open(/media/backuppc/pc/svbackup04/XferLOG.0.z, 1, 3) -> 4
bpc_attrib_dirRead(/media/backuppc/pc/svbackup04/0/f%2fmedia/attrib_aad4b0e000524d6dfb9eb29a1687eebf); dirPath = /media/backuppc/pc/svbackup04/0/f%2fmedia, attribFilePath = attrib_aad4b0e000524d6dfb9eb29a1687eebf, attribFileName = attrib_aad4b0e000524d6dfb9eb29a1687eebf bpc_attrib_dirRead: called with attrib file /media/backuppc/pc/svbackup04/0/f%2fmedia/attrib_aad4b0e000524d6dfb9eb29a1687eebf: digest = aad4b0e000524d6dfb9eb29a1687eebf, len = 16 bpc_fileZIO_open(/media/backuppc/cpool/aa/d4/aad4b0e000524d6dfb9eb29a1687eebf, 0, 3) -> 5 bpc_attrib_dirRead(/media/backuppc/cpool/aa/d4/aad4b0e000524d6dfb9eb29a1687eebf): Got file netapp_www: type = 5, mode = 0777, uid/gid = 0/0, size = 0
bpc_fileZIO_close(5)
bpc_attrib_dirRead(/media/backuppc/pc/svbackup04/0/attrib_1640afe6f4d2eecb92a5ad34bea334d9); dirPath = /media/backuppc/pc/svbackup04/0, attribFilePath = attrib_1640afe6f4d2eecb92a5ad34bea334d9, attribFileName = attrib_1640afe6f4d2eecb92a5ad34bea334d9 bpc_attrib_dirRead: called with attrib file /media/backuppc/pc/svbackup04/0/attrib_1640afe6f4d2eecb92a5ad34bea334d9: digest = 1640afe6f4d2eecb92a5ad34bea334d9, len = 16 bpc_fileZIO_open(/media/backuppc/cpool/16/40/1640afe6f4d2eecb92a5ad34bea334d9, 0, 3) -> 5 bpc_attrib_dirRead(/media/backuppc/cpool/16/40/1640afe6f4d2eecb92a5ad34bea334d9): Got file /media: type = 5, mode = 0755, uid/gid = 0/0, size = 0
bpc_fileZIO_close(5)
BackupFailCleanup: nFilesTotal = 2, type = full, BackupCase = 1, inPlace = 1, lastBkupNum =
Keeping non-empty backup #0 (/media/backuppc/pc/svbackup04/0)
Running BackupPC_refCountUpdate -h svbackup04 -f on svbackup04
Xfer PIDs are now 21116
BackupPC_refCountUpdate: host svbackup04 #0: gotFsck = 1, gotDelta = 1, gotPoolCnt = , gotNoPoolCntOk =
BackupPC_refCountUpdate: processing host svbackup04 #0 (fsck = 1)
BackupPC_refCountUpdate: processing host svbackup04 #0 deltaFile /media/backuppc/pc/svbackup04/0/refCnt/poolCntDelta_1_0_0_21116 with 2 entries
BackupPC_refCountUpdate: computing totals for host svbackup04
BackupPC_refCountUpdate: host svbackup04 got 0 errors (took 1 secs)
BackupPC_refCountUpdate total errors: 0
Xfer PIDs are now
Finished BackupPC_refCountUpdate (running time: 1 sec)
Xfer PIDs are now

But in /media/netapp_www, i've this

# ll /media/netapp_www/
total 8
drwxrwxr-x 10 root root 4096 21 juin  16:58 dev
drwxrwxr-x  7 root root 4096  9 juin  09:13 prod

I'm use a sudo method for start rsync

backuppc ALL=NOPASSWD: /bin/rsync
backuppc ALL=NOPASSWD: /usr/local/bin/rsync_bpc

And /media/ it's accesible for backuppc user

drwxrwxrwx 5 root root 4096 24 août  10:08 netapp_www/


Version software

BackupXS : 0.56

# rsync_bpc --version
rsync_bpc  version 3.0.9.8  protocol version 30

# rsync --version
rsync  version 3.0.9  protocol version 30

OS : redhat 7.4

--

*Philippe MALADJIAN
Responsable informatique | administrateur système*
Ligne directe : +33 (0)4 72 14 50 66 | pmaladj...@hilaire.fr <mailto:pmaladj...@hilaire.fr>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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/

Reply via email to