Thanks for pointing that out. I have a suspicion that the problem has to do with the intersection of the BackupFilesOnly and BackupFilesExclude options in your config file. I know I wrestled with something like this once long ago, and it took a lot of experimentation to get things to behave the way I wanted them to.
Here's some ideas to use for testing. Set this in your config file: $Conf{RsyncShareName} = '/mnt/user'; and then ONE of either: $Conf{BackupFilesOnly} = { '/mnt/user' => [ '/appdata', '/nextcloud', '/CentOS-Data', '/WINTESS' ] }; OR $Conf{BackupFilesExclude} = { '/' => [ '/CentOS-Data/9.6' ] }; and see if it at least backs up *something*. Then start trying different combinations of options to see where things work or break. On 02/07 10:51 , sse450 wrote: > Disabled pre and post script. Run the full backup. But, result is the same. > However, please note the bold section (--exclude=/\* --exclude=/mnt/\* > --exclude=/mnt/user/\*). I don't have such entries in the config page. The > only exclude is "--exclude=/mnt/user/CentOS-Data/9.6 agora.domain:/". > BackupPC inserts (--exclude=/\* --exclude=/mnt/\* --exclude=/mnt/user/\*) > section by itself. If BackupPC excludes /, then of course nothing is backup. > However, I run it again without any exclude in the config page, then > BackupPC removes the legitimate one, but keeps the same /* and /mnt/* parts > again. Is it a bug? Or a misconfiguration on my behalf? I don't know how to > delete them? > > Thanks for your support. > > [/] # /opt/local/backuppc/bin/BackupPC_dump -f -v agora.domain > Backup type: type = full, needs_full = , needs_incr = , lastFullTime = > 1549560452, opts{f} = 1, opts{i} = , opts{F} = > cmdSystemOrEval: about to system /opt/bin/sudo -u admin /opt/bin/ping -c 1 -w > 3 agora.domain > cmdSystemOrEval: about to system /opt/bin/sudo -u admin /opt/bin/ping -c 1 -w > 3 agora.domain > CheckHostAlive: ran '/opt/bin/sudo -u admin /opt/bin/ping -c 1 -w 3 > agora.domain'; returning 0.280 > XferLOG file /share/MD0_DATA/BackupPC/pc/agora.domain/XferLOG.1.z created > 2019-02-07 22:34:25 > Backup prep: type = full, case = 6, inPlace = 1, doDuplicate = 0, newBkupNum > = 1, newBkupIdx = 1, lastBkupNum = , lastBkupIdx = (FillCycle = 0, noFillCnt > = 0) > __bpc_progress_state__ backup share "/" > Running: /opt/bin/rsync_bpc --bpc-top-dir /share/MD0_DATA/BackupPC > --bpc-host-name agora.domain --bpc-share-name / --bpc-bkup-num 1 > --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 > --bpc-bkup-inode0 12 --bpc-attrib-new --bpc-log-level 1 -e /opt/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=/mnt > --include=/mnt/user --include=/mnt/user/appdata --include=/boot > --include=/mnt/user/nextcloud --include=/mnt/user/CentOS-Data > --include=/mnt/user/WINTESS*--exclude=/\* --exclude=/mnt/\* > --exclude=/mnt/user/\** --exclude=/mnt/user/CentOS-Data/9.6 agora.domain:/ / > full backup started for directory / > started full dump, share=/ > Xfer PIDs are now 11383 > xferPids 11383 > This is the rsync child about to exec /opt/bin/rsync_bpc > cmdExecOrEval: about to exec /opt/bin/rsync_bpc --bpc-top-dir > /share/MD0_DATA/BackupPC --bpc-host-name agora.domain --bpc-share-name / > --bpc-bkup-num 1 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp > -1 --bpc-bkup-inode0 12 --bpc-attrib-new --bpc-log-level 1 -e /opt/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=/mnt > --include=/mnt/user --include=/mnt/user/appdata --include=/boot > --include=/mnt/user/nextcloud --include=/mnt/user/CentOS-Data > --include=/mnt/user/WINTESS*--exclude=/\* --exclude=/mnt/\* > --exclude=/mnt/user/\** --exclude=/mnt/user/CentOS-Data/9.6 agora.domain:/ / > Xfer PIDs are now 11383,11385 > xferPids 11383,11385 > xferPids 11383,11385 > Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 > sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 13 inode > > Number of files: 4 > 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: 76 > File list generation time: 0.001 seconds > File list transfer time: 0.000 seconds > Total bytes sent: 247 > Total bytes received: 114 > sent 247 bytes received 114 bytes 722.00 bytes/sec > total size is 0 speedup is 0.00 > DoneGen: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, > 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 12 inode > Xfer PIDs are now > xferPids > Got fatal error during xfer (No files dumped for share /) > cmdSystemOrEval: about to system /opt/bin/sudo -u admin /opt/bin/ping -c 1 -w > 3 agora.domain > cmdSystemOrEval: about to system /opt/bin/sudo -u admin /opt/bin/ping -c 1 -w > 3 agora.domain > CheckHostAlive: ran '/opt/bin/sudo -u admin /opt/bin/ping -c 1 -w 3 > agora.domain'; returning 0.222 > Backup aborted (No files dumped for share /) > __bpc_progress_state__ fail cleanup > BackupFailCleanup: nFilesTotal = 0, type = full, BackupCase = 6, inPlace = 1, > lastBkupNum = > BackupFailCleanup: inPlace with no new files... no cleanup > __bpc_progress_state__ fsck > Running BackupPC_refCountUpdate -h agora.domain -f on agora.domain > cmdSystemOrEval: about to system > /opt/local/backuppc/bin/BackupPC_refCountUpdate -h agora.domain -f > Xfer PIDs are now 11390 > xferPids 11390 > __bpc_progress_state__ refCnt #0 > __bpc_progress_state__ cntUpdate #0 > __bpc_progress_state__ rename #0 > __bpc_progress_state__ refCnt #1 > __bpc_progress_state__ cntUpdate #1 > __bpc_progress_state__ rename #1 > __bpc_progress_state__ sumUpdate > __bpc_progress_fileCnt__ 0/128 > __bpc_progress_fileCnt__ 8/128 > __bpc_progress_fileCnt__ 16/128 > __bpc_progress_fileCnt__ 24/128 > __bpc_progress_fileCnt__ 32/128 > __bpc_progress_fileCnt__ 40/128 > __bpc_progress_fileCnt__ 48/128 > __bpc_progress_fileCnt__ 56/128 > __bpc_progress_fileCnt__ 64/128 > __bpc_progress_fileCnt__ 72/128 > __bpc_progress_fileCnt__ 80/128 > __bpc_progress_fileCnt__ 88/128 > __bpc_progress_fileCnt__ 96/128 > __bpc_progress_fileCnt__ 104/128 > __bpc_progress_fileCnt__ 112/128 > __bpc_progress_fileCnt__ 120/128 > __bpc_progress_state__ rename total > BackupPC_refCountUpdate: host agora.domain got 0 errors (took 0 secs) > Xfer PIDs are now > xferPids > Finished BackupPC_refCountUpdate (running time: 0 sec) > Xfer PIDs are now > xferPids > dump failed: No files dumped for share / > > > > > On 7.02.2019 21:44, Carl Soderstrom wrote: > > What happens if you stop the docker images manually, and disable the > > DumpPreUserCmd, then try running the backup? (Possibly with a command like: > > "/usr/share/backuppc/bin/BackupPC_dump -f -v host.example.tld" to get faster > > and more convenient feedback for debugging purposes). > > > > Have you verified that there are files there to be backed up, after you run > > the DumpPreUserCmd? > > > > On 02/07 09:01 , sse450 wrote: > > > Hi All, > > > > > > I am a long time user of BackupPC. I had no problem so far with this > > > fantastic software. > > > > > > Now, I cannot backup one of my servers no matter what I tried. I would > > > appreciate if you kindly help me. > > > > > > My BackupPC server was all functional before relocation the server. > > > Surely, > > > router etc were all changed at the new location. Now, I cannot backup just > > > one of my servers. All the other clients are being backup just fine. > > > Please > > > find below some information: > > > > > > *Symptom: *I start Full backup. BackupPC executes DumpPreUserCmd (stops > > > docker images), then log writes "full backup started for directory /". > > > Immediately after this log line, BackupPC starts to execute > > > "DumpPostUserCmd" (starts docker images). Then, the dreaded "Got fatal > > > error > > > during xfer (No files dumped for share /) and Backup aborted (No files > > > dumped for share /)" lines come up. Everything starts and finishes in > > > just a > > > few seconds. > > > > > > *General Server Information* > > > The servers PID is 13019, on host 859U, version 4.3.0, started at > > > 2019-02-06 > > > 11:58. > > > This status was generated at 2019-02-07 20:38. > > > The configuration was last loaded at 2019-02-07 20:07. > > > PCs will be next queued at 2019-02-07 21:00. > > > Other info: > > > 0 pending backup requests from last scheduled wakeup, > > > 0 pending user backup requests, > > > 0 pending command requests, > > > Pool is 1228.63GiB comprising 1112194 files and 16512 directories (as of > > > 2019-02-07 01:07), > > > Pool hashing gives 0 repeated files with longest chain 0, > > > Nightly cleanup removed 882 files of size 0.14GiB (around 2019-02-07 > > > 01:07), > > > > > > Pool file system was recently at 19% (2019-02-07 20:38), today's max is > > > 19% > > > (2019-02-07 10:29) and yesterday's max was 19%. > > > > > > Pool file system inode usage was recently at 1% (2019-02-07 20:38), > > > today's > > > max is 1% (2019-02-07 01:00) and yesterday's max was 1%. > > > > > > *Xfer method:*rsync > > > > > > *Client: *Unraid > > > > > > *XferLog:* > > > > > > XferLOG file /share/MD0_DATA/BackupPC/pc/agora.domain/XferLOG.0.z created > > > 2019-02-07 20:12:46 > > > Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, > > > newBkupNum > > > = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx = (FillCycle = 0, > > > noFillCnt = ) > > > Executing DumpPreUserCmd: /opt/bin/ssh -q -x -l root agora.domain > > > /boot/custom/scripts/unraid_pre_backuppc > > > 523e611fda90 > > > 4daf85bbc9a2 > > > 6e72d604f5dd > > > 5bf24587861e > > > 87e0d2ecbb91 > > > 1240621b6adb > > > 8a05b274e7b9 > > > cad94a3e886a > > > da375953cde2 > > > 37eb6503f86d > > > da13f78c91ef > > > 3782d35739bc > > > Running: /opt/bin/rsync_bpc --bpc-top-dir /share/MD0_DATA/BackupPC > > > --bpc-host-name agora.domain --bpc-share-name / --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 1 -e /opt/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=/mnt --include=/mnt/user --include=/mnt/user/appdata > > > --include=/boot --include=/mnt/user/nextcloud > > > --include=/mnt/user/CentOS-Data --include=/mnt/user/WINTESS --exclude=/\* > > > --exclude=/mnt/\* --exclude=/mnt/user/\* > > > --exclude=/mnt/user/CentOS-Data/9.6 > > > agora.domain:/ / > > > full backup started for directory / > > > Xfer PIDs are now 24804 > > > This is the rsync child about to exec /opt/bin/rsync_bpc > > > Xfer PIDs are now 24804,24809 > > > xferPids 24804,24809 > > > [ skipped 4 lines ] > > > Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, > > > 0 > > > sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 5 inode > > > > > > Number of files: 4 > > > 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: 76 > > > File list generation time: 0.001 seconds > > > File list transfer time: 0.000 seconds > > > Total bytes sent: 259 > > > Total bytes received: 122 > > > sent 259 bytes received 122 bytes 762.00 bytes/sec > > > total size is 0 speedup is 0.00 > > > DoneGen: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 > > > filesTotal, > > > 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 10 inode > > > Xfer PIDs are now > > > Executing DumpPostUserCmd: /opt/bin/ssh -q -x -l root agora.domain > > > /boot/custom/scripts/unraid_post_backuppc > > > 523e611fda90 > > > 4daf85bbc9a2 > > > 5bf24587861e > > > 324c01f22a5d > > > eaa59c68300d > > > e17f1b8f52b0 > > > 1240621b6adb > > > 8a05b274e7b9 > > > da375953cde2 > > > 37eb6503f86d > > > da13f78c91ef > > > 3782d35739bc > > > Got fatal error during xfer (No files dumped for share /) > > > Backup aborted (No files dumped for share /) > > > BackupFailCleanup: nFilesTotal = 4, type = full, BackupCase = 1, inPlace = > > > 1, lastBkupNum = > > > Keeping non-empty backup #0 (/share/MD0_DATA/BackupPC/pc/agora.domain/0) > > > Running BackupPC_refCountUpdate -h agora.domain -f on agora.domain > > > Xfer PIDs are now 24881 > > > BackupPC_refCountUpdate: agora.domain #0 inodeLast set to 10 (was 1) > > > BackupPC_refCountUpdate: host agora.domain got 0 errors (took 1 secs) > > > Xfer PIDs are now > > > Finished BackupPC_refCountUpdate (running time: 1 sec) > > > Xfer PIDs are now > > > > > > *The conf file of the client:* > > > > > > $Conf{DumpPostUserCmd} = '$sshPath -q -x -l root $host > > > /boot/custom/scripts/unraid_post_backuppc'; > > > $Conf{DumpPreUserCmd} = '$sshPath -q -x -l root $host > > > /boot/custom/scripts/unraid_pre_backuppc'; > > > $Conf{BlackoutPeriods} = [ > > > { > > > 'hourEnd' => '19.5', > > > 'hourBegin' => '7.9', > > > 'weekDays' => [ > > > 1, > > > 2, > > > 3, > > > 4, > > > 5 > > > ] > > > }, > > > { > > > 'weekDays' => [ > > > 0, > > > 6 > > > ], > > > 'hourBegin' => '7.9', > > > 'hourEnd' => 14 > > > } > > > ]; > > > $Conf{BackupFilesOnly} = { > > > '/' => [ > > > '/mnt/user/appdata', > > > '/boot', > > > '/mnt/user/nextcloud', > > > '/mnt/user/CentOS-Data', > > > '/mnt/user/WINTESS' > > > ] > > > }; > > > $Conf{BackupFilesExclude} = { > > > '/' => [ > > > '/mnt/user/CentOS-Data/9.6' > > > ] > > > }; > > > $Conf{EMailAdminUserName} = 'h...@domain.com'; > > > $Conf{EMailFromUserName} = 'backuppc@QNAP859U'; > > > $Conf{EMailUserDestDomain} = '@domain.com'; > > > $Conf{FullPeriod} = '29.97'; > > > $Conf{BackupZeroFilesIsFatal} = '0'; > > > > > > Thank you in advance > > > > > > > > _______________________________________________ > > > 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/ > > > _______________________________________________ > 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/ -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com _______________________________________________ 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/