Good day Craig
Thank you so much for taking the time to reply.
I hope I correctly did what you asked.
Im using Debians packaged version I.e.
# dpkg -l | grep backuppc
ii backuppc 3.3.1-4 amd64
high-performance, enterprise-grade system for backing up PCs
I did what you asked.
I set the follopwing in backuppc config.pl as well as the hosts config
file (see attached).
$Conf{XferLogLevel} = '8';
$Conf{RsyncRestoreArgs} = '-vvv'
Here is the tail of the log:
Contents of file /var/lib/backuppc/pc/REMOVED/RestoreLOG.32.z, modified
2018-05-31 08:59:54
Connected to REMOVED:873, remote version 31
Negotiated protocol version 28
Got response: fc1338e205d19c0e5239d2a203efcf84
in mime: /BM44gXRnA5SOdKiA+/PhA
Auth: got challenge: A6+NF2ig5v6hstnJy3QzMw, reply: REMOVED
/BM44gXRnA5SOdKiA+/PhA
Connected to module REMOVED
Sending args: --server -vvv . /REMOVED/download/cougar/
Checksum seed is 1527749992
Got checksumSeed 0x5b0f9d68
fileListSend: sending file list: REMOVED/download/cougar/COU-IMMPRO.pdf
Sending REMOVED/download/cougar/COU-IMMPRO.pdf (remote=/COU-IMMPRO.pdf) type = 0
restore 664 10030/10030 37676705 REMOVED/cougar/COU-IMMPRO.pdf
Sorted file list has 1 entries
PostSortFile 0: /COU-IMMPRO.pdf
Read EOF:
Tried again: got 0 bytes
Done: 1 files, 37676705 bytes
restore failed: Unable to read 4 bytes
I too set rsyncd debugging (max verbosity = 2) and in the log I get:
2018/05/31 08:59:52 [4524] name lookup failed for REMOVED: Name or service not
known
2018/05/31 08:59:52 [4524] connect from UNKNOWN (REMOVED)
2018/05/31 08:59:52 [4524] rsync to REMOVED/download/cougar/ from
REMOVED@UNKNOWN (REMOVED)
2018/05/31 08:59:52 [4524] receiving file list
2018/05/31 08:59:52 [4524] ABORTING due to unsafe pathname from sender:
/COU-IMMPRO.pdf
2018/05/31 08:59:52 [4524] rsync error: protocol incompatibility (code 2) at
flist.c(742) [Receiver=3.1.1]
Attached you will see a sanitised backuppc configuration for the host.
Thank you again for your help.
Regards
Brent
On 30/05/2018 19:47, Craig Barratt via BackupPC-users wrote:
-vvv to
# THIS FILE IS AUTOMATICALLY DISTRIBUTED BY PUPPET. ANY CHANGES WILL BE
# OVERWRITTEN.
$Conf{BackupFilesExclude} = {
'*' => [
'REMOVED_LIST',
]
};
$Conf{PingMaxMsec} = '200';
$Conf{IncrLevels} = [
'1',
'2',
'3',
'4',
'5',
'6'
];
$Conf{BlackoutPeriods} = [
{
'hourEnd' => '21.5',
'weekDays' => [
'1',
'2',
'3',
'4',
'5',
'6',
'7'
],
'hourBegin' => '8'
}
];
$Conf{RsyncShareName} = [
'REMOVED'
];
$Conf{RsyncArgs} = [
'--numeric-ids',
'--perms',
'--owner',
'--group',
'-D',
'--links',
'--hard-links',
'--times',
'--inplace',
'--recursive',];
$Conf{RsyncdPasswd} = 'REMOVED';
$Conf{XferLogLevel} = '8';
$Conf{RsyncRestoreArgs} = '-vvv'
------------------------------------------------------------------------------
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/