BackupPC-users

[BackupPC-users] R: Re: Issue with specific share on Linux host

2014-11-03 07:20:06
Subject: [BackupPC-users] R: Re: Issue with specific share on Linux host
From: "absolutely_free AT libero DOT it" <absolutely_free AT libero DOT it>
To: <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 3 Nov 2014 13:18:33 +0100 (CET)
Hi Mauro,
the only difference between two share are hostname!

non working share:

$Conf{RsyncShareName} = [
  'home'
];
$Conf{RsyncdPasswd} = 'xxxxxxxxxxxx';
$Conf{RsyncdUserName} = 'server';
$Conf{XferMethod} = 'rsyncd';
$Conf{PingCmd} = '/bin/true';


working share:

$Conf{RsyncShareName} = [
  'home3',
];
$Conf{RsyncdPasswd} = 'xxxxxxxxxxxxx';
$Conf{RsyncdUserName} = 'server';
$Conf{XferMethod} = 'rsyncd';
$Conf{PingCmd} = '/bin/true';
$Conf{ClientNameAlias} = 'server2.domain.it';



# diff server2.domain.it.pl server2.domain.it-h3.pl
2c2
<   'home'
---
>   'home3',
7a8,9
> $Conf{ClientNameAlias} = 'server2.domain.it';
>

this is my server configuration:

$ENV{'PATH'} = '/bin:/usr/bin';
delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
$Conf{ServerHost} = 'backup';
chomp($Conf{ServerHost});
$Conf{ServerPort} = '-1';
$Conf{ServerMesgSecret} = '';
$Conf{MyPath} = '/bin';
$Conf{UmaskMode} = '23';
$Conf{WakeupSchedule} = [
  '1',
  '2',
  '3',
  '4',
  '5',
  '6',
  '7',
  '8',
  '9',
  '10',
  '11',
  '12',
  '13',
  '14',
  '15',
  '16',
  '17',
  '18',
  '19',
  '20',
  '21',
  '22',
  '23'
];
$Conf{MaxBackups} = '3';
$Conf{MaxUserBackups} = '4';
$Conf{MaxPendingCmds} = '10';
$Conf{MaxBackupPCNightlyJobs} = '2';
$Conf{BackupPCNightlyPeriod} = '8';
$Conf{MaxOldLogFiles} = '14';
$Conf{DfPath} = '/bin/df';
$Conf{DfCmd} = '$dfPath $topDir';
$Conf{SplitPath} = '/usr/bin/split';
$Conf{ParPath} = undef;
$Conf{CatPath} = '/bin/cat';
$Conf{GzipPath} = '/bin/gzip';
$Conf{Bzip2Path} = '/bin/bzip2';
$Conf{DfMaxUsagePct} = '98';
$Conf{TrashCleanSleepSec} = '300';
$Conf{DHCPAddressRanges} = [];
$Conf{BackupPCUser} = 'backuppc';
$Conf{TopDir} = '/var/lib/backuppc';
$Conf{ConfDir} = '/etc/backuppc';
$Conf{LogDir} = '';
$Conf{InstallDir} = '/usr/share/backuppc';
$Conf{CgiDir} = '/usr/share/backuppc/cgi-bin';
$Conf{BackupPCUserVerify} = '1';
$Conf{HardLinkMax} = '31999';
$Conf{PerlModuleLoad} = undef;
$Conf{ServerInitdPath} = undef;
$Conf{ServerInitdStartCmd} = '';
$Conf{FullPeriod} = '6.97';
$Conf{IncrPeriod} = '0.97';
$Conf{FullKeepCnt} = [
  '2'
];
$Conf{FullKeepCntMin} = '2';
$Conf{FullAgeMax} = '15';
$Conf{IncrKeepCnt} = '6';
$Conf{IncrKeepCntMin} = '1';
$Conf{IncrAgeMax} = '15';
$Conf{IncrLevels} = [
  '1'
];
$Conf{BackupsDisable} = '0';
$Conf{PartialAgeMax} = '3';
$Conf{IncrFill} = '0';
$Conf{RestoreInfoKeepCnt} = '10';
$Conf{ArchiveInfoKeepCnt} = '10';
$Conf{BackupFilesOnly} = {};
$Conf{BackupFilesExclude} = {};
$Conf{BlackoutBadPingLimit} = '3';
$Conf{BlackoutGoodCnt} = '-1';
$Conf{BlackoutPeriods} = [];
$Conf{BackupZeroFilesIsFatal} = '1';
$Conf{XferMethod} = 'rsync';
$Conf{XferLogLevel} = '1';
$Conf{ClientCharset} = '';
$Conf{ClientCharsetLegacy} = 'iso-8859-1';
$Conf{SmbShareName} = [
  'C$'
];
$Conf{SmbShareUserName} = '';
$Conf{SmbSharePasswd} = '';
$Conf{SmbClientPath} = '/usr/bin/smbclient';
$Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName $I_option -U 
$userName -E -d 1 -c tarmode\\ full -Tc$X_option - $fileList';
$Conf{SmbClientIncrCmd} = '$smbClientPath \\\\$host\\$shareName $I_option -U 
$userName -E -d 1 -c tarmode\\ full -TcN$X_option $timeStampFile - $fileList';
$Conf{SmbClientRestoreCmd} = '$smbClientPath \\\\$host\\$shareName $I_option -
U $userName -E -d 1 -c tarmode\\ full -Tx -';
$Conf{TarShareName} = [
  '/'
];
$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host env LC_ALL=C $tarPath -
c -v -f - -C $shareName+ --totals';
$Conf{TarFullArgs} = '$fileList+';
$Conf{TarIncrArgs} = '--newer=$incrDate+ $fileList+';
$Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host env LC_ALL=C 
$tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName+';
$Conf{TarClientPath} = '/bin/tar';
$Conf{RsyncClientPath} = '/usr/bin/rsync';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $host $rsyncPath 
$argList+';
$Conf{RsyncShareName} = [
  '/'
];
$Conf{RsyncdClientPort} = '873';
$Conf{RsyncdUserName} = '';
$Conf{RsyncdPasswd} = '';
$Conf{RsyncdAuthRequired} = '1';
$Conf{RsyncCsumCacheVerifyProb} = '0.01';
$Conf{RsyncArgs} = [
  '--numeric-ids',
  '--perms',
  '--owner',
  '--group',
  '-D',
  '--links',
  '--hard-links',
  '--times',
  '--block-size=2048',
  '--recursive'
];
$Conf{RsyncRestoreArgs} = [
  '--numeric-ids',
  '--perms',
  '--owner',
  '--group',
  '-D',
  '--links',
  '--hard-links',
  '--times',
  '--block-size=2048',
  '--relative',
  '--ignore-times',
  '--recursive'
];
$Conf{BackupPCdShareName} = '/';
$Conf{BackupPCdPath} = '';
$Conf{BackupPCdCmd} = '$bpcdPath $host $shareName $poolDir XXXX $poolCompress 
$topDir/pc/$client/new';
$Conf{BackupPCdRestoreCmd} = '$bpcdPath TODO';
$Conf{ArchiveDest} = '/tmp';
$Conf{ArchiveComp} = 'gzip';
$Conf{ArchivePar} = '0';
$Conf{ArchiveSplit} = '0';
$Conf{ArchiveClientCmd} = '$Installdir/bin/BackupPC_archiveHost $tarCreatePath 
$splitpath $parpath $host $backupnumber $compression $compext $splitsize 
$archiveloc $parfile *';
$Conf{SshPath} = '/usr/bin/ssh';
$Conf{NmbLookupPath} = '/usr/bin/nmblookup';
$Conf{NmbLookupCmd} = '$nmbLookupPath -A $host';
$Conf{NmbLookupFindHostCmd} = '$nmbLookupPath $host';
$Conf{FixedIPNetBiosNameCheck} = '0';
$Conf{PingPath} = '/bin/ping';
$Conf{PingCmd} = '$pingPath -c 1 $host';
$Conf{PingMaxMsec} = '20';
$Conf{CompressLevel} = '3';
$Conf{ClientTimeout} = '144000';
$Conf{MaxOldPerPCLogFiles} = '12';
$Conf{DumpPreUserCmd} = undef;
$Conf{DumpPostUserCmd} = undef;
$Conf{DumpPreShareCmd} = undef;
$Conf{DumpPostShareCmd} = undef;
$Conf{RestorePreUserCmd} = undef;
$Conf{RestorePostUserCmd} = undef;
$Conf{ArchivePreUserCmd} = undef;
$Conf{ArchivePostUserCmd} = undef;
$Conf{UserCmdCheckStatus} = '0';
$Conf{ClientNameAlias} = undef;
$Conf{SendmailPath} = '/usr/sbin/sendmail';
$Conf{EMailNotifyMinDays} = '2.5';
$Conf{EMailFromUserName} = 'backuppc';
$Conf{EMailAdminUserName} = '[email protected]';
$Conf{EMailUserDestDomain} = '';
$Conf{EMailNoBackupEverSubj} = undef;
$Conf{EMailNoBackupEverMesg} = undef;
$Conf{EMailNotifyOldBackupDays} = '7';
$Conf{EMailNoBackupRecentSubj} = undef;
$Conf{EMailNoBackupRecentMesg} = undef;
$Conf{EMailNotifyOldOutlookDays} = '5';
$Conf{EMailOutlookBackupSubj} = undef;
$Conf{EMailOutlookBackupMesg} = undef;
$Conf{EMailHeaders} = 'MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
';
$Conf{CgiAdminUserGroup} = 'backuppc';
$Conf{CgiAdminUsers} = 'backuppc';
$Conf{CgiURL} = 'http://server/backuppc/index.cgi';
$Conf{Language} = 'en';
$Conf{CgiUserHomePageCheck} = '';
$Conf{CgiUserUrlCreate} = 'mailto:%s';
$Conf{CgiDateFormatMMDD} = '1';
$Conf{CgiNavBarAdminAllHosts} = '1';
$Conf{CgiSearchBoxEnable} = '1';
$Conf{CgiNavBarLinks} = [
  {
    'link' => '?action=view&type=docs',
    'lname' => 'Documentation',
    'name' => undef
  },
  {
    'link' => 'http://backuppc.wiki.sourceforge.net',
    'lname' => undef,
    'name' => 'Wiki'
  },
  {
    'link' => 'http://backuppc.sourceforge.net',
    'lname' => undef,
    'name' => 'SourceForge'
  }
];
$Conf{CgiStatusHilightColor} = {
  'Reason_backup_failed' => '#ffcccc',
  'Reason_backup_done' => '#ccffcc',
  'Reason_backup_canceled_by_user' => '#ff9900',
  'Reason_no_ping' => '#ffff99',
  'Disabled_OnlyManualBackups' => '#d1d1d1',
  'Status_backup_in_progress' => '#66cc99',
  'Disabled_AllBackupsDisabled' => '#d1d1d1'
};
$Conf{CgiHeaders} = '<meta http-equiv="pragma" content="no-cache">';
$Conf{CgiImageDir} = '/usr/share/backuppc/image';
$Conf{CgiExt2ContentType} = {};
$Conf{CgiImageDirURL} = '/backuppc/image';
$Conf{CgiCSSFile} = 'BackupPC_stnd.css';
$Conf{CgiUserConfigEditEnable} = '1';
$Conf{CgiUserConfigEdit} = {
  'EMailOutlookBackupSubj' => '1',
  'ClientCharset' => '1',
  'TarFullArgs' => '1',
  'RsyncdPasswd' => '1',
  'FtpBlockSize' => '0',
  'IncrKeepCnt' => '1',
  'PartialAgeMax' => '1',
  'FixedIPNetBiosNameCheck' => '1',
  'SmbShareUserName' => '1',
  'EMailFromUserName' => '1',
  'ArchivePreUserCmd' => '0',
  'PingCmd' => '0',
  'FullAgeMax' => '1',
  'FtpUserName' => '0',
  'PingMaxMsec' => '1',
  'CompressLevel' => '1',
  'DumpPreShareCmd' => '0',
  'BackupFilesOnly' => '1',
  'EMailNotifyOldBackupDays' => '1',
  'EMailAdminUserName' => '1',
  'RsyncCsumCacheVerifyProb' => '1',
  'BlackoutPeriods' => '1',
  'NmbLookupFindHostCmd' => '0',
  'MaxOldPerPCLogFiles' => '1',
  'TarClientCmd' => '0',
  'EMailNotifyOldOutlookDays' => '1',
  'SmbSharePasswd' => '1',
  'SmbClientIncrCmd' => '0',
  'FullKeepCntMin' => '1',
  'RsyncArgs' => '1',
  'FtpFollowSymlinks' => '0',
  'ArchiveComp' => '1',
  'TarIncrArgs' => '1',
  'EMailUserDestDomain' => '1',
  'TarClientPath' => '0',
  'RsyncClientCmd' => '0',
  'IncrFill' => '1',
  'RestoreInfoKeepCnt' => '1',
  'UserCmdCheckStatus' => '0',
  'RsyncdClientPort' => '1',
  'IncrAgeMax' => '1',
  'RsyncdUserName' => '1',
  'RsyncRestoreArgs' => '1',
  'ClientCharsetLegacy' => '1',
  'SmbClientFullCmd' => '0',
  'ArchiveInfoKeepCnt' => '1',
  'FtpShareName' => '0',
  'BackupZeroFilesIsFatal' => '1',
  'EMailNoBackupRecentMesg' => '1',
  'FtpPort' => '0',
  'FullKeepCnt' => '1',
  'TarShareName' => '1',
  'EMailNoBackupEverSubj' => '1',
  'TarClientRestoreCmd' => '0',
  'EMailNoBackupRecentSubj' => '1',
  'ArchivePar' => '1',
  'XferLogLevel' => '1',
  'ArchiveDest' => '1',
  'RsyncdAuthRequired' => '1',
  'ClientTimeout' => '1',
  'EMailNotifyMinDays' => '1',
  'SmbClientRestoreCmd' => '0',
  'ClientNameAlias' => '1',
  'DumpPostShareCmd' => '0',
  'IncrLevels' => '1',
  'EMailOutlookBackupMesg' => '1',
  'BlackoutBadPingLimit' => '1',
  'BackupFilesExclude' => '1',
  'FullPeriod' => '1',
  'RsyncClientRestoreCmd' => '0',
  'ArchivePostUserCmd' => '0',
  'IncrPeriod' => '1',
  'RsyncShareName' => '1',
  'FtpTimeout' => '0',
  'RestorePostUserCmd' => '0',
  'BlackoutGoodCnt' => '1',
  'ArchiveClientCmd' => '0',
  'ArchiveSplit' => '1',
  'FtpRestoreEnabled' => '0',
  'XferMethod' => '1',
  'NmbLookupCmd' => '0',
  'BackupsDisable' => '1',
  'SmbShareName' => '1',
  'FtpPasswd' => '0',
  'RestorePreUserCmd' => '0',
  'RsyncArgsExtra' => '0',
  'IncrKeepCntMin' => '1',
  'EMailNoBackupEverMesg' => '1',
  'EMailHeaders' => '1',
  'DumpPreUserCmd' => '0',
  'RsyncClientPath' => '0',
  'DumpPostUserCmd' => '0'
};
$Conf{CmdQueueNice} = '0';
$Conf{FtpBlockSize} = '0';
$Conf{FtpFollowSymlinks} = '0';
$Conf{FtpPassive} = '0';
$Conf{FtpPasswd} = '';
$Conf{FtpPort} = '0';
$Conf{FtpShareName} = [];
$Conf{FtpTimeout} = '0';
$Conf{FtpUserName} = '';
$Conf{RsyncArgsExtra} = [];



>----Messaggio originale----
>Da: mc5686 AT mclink DOT it
>Data: 03/11/2014 12.38
>A: <backuppc-users AT lists.sourceforge DOT net>
>Ogg: Re: [BackupPC-users] Issue with specific share on Linux host
>
>It is difficult to help you if we can't see what you're trying to do.
>Please post BackupPC transfer configuration of failing and non failing 
>share.
>Also client setup for failing and working shares would be useful.
>
> From what You post it seems client refuses communication for the 
>failing share.
>It's impossible to determine reason.
>Could be misconfiguration on BackupPC side, but it could also be a 
>problem on client, depending on transfer method.
>
>HiH
>
>Nella citazione in data lunedì 3 novembre 2014 12:07:53, 
>absolutely_free AT libero DOT it ha scritto:
>> Hi,
>> I have an host with several share.
>> I have troubles in completing backup for a specifc share.
>> I configured one share for each /home  partition (/home, /home2, /home3 and 
so on)
>>
>> /home is around 60 GB, while /home3 and /home4 (for example) are bigger, 
130 GB.
>>
>>
>> I tried with manual cli backup, and I got this error:
>>
>> ..
>> ...
>> Parent read EOF from child: fatal error!
>> Done: 0 files, 0 bytes
>> Got fatal error during xfer (Child exited prematurely)
>> cmdSystemOrEval: about to system /bin/true
>> cmdSystemOrEval: finished: got output
>> cmdSystemOrEval: about to system /bin/true
>> cmdSystemOrEval: finished: got output
>> CheckHostAlive: can't extract round-trip time (not fatal)
>> CheckHostAlive: returning 0
>> Backup aborted (Child exited prematurely)
>> Not saving this as a partial backup since it has fewer files than the prior 
one (got 6 and 0 files versus 11)
>> dump failed: Child exited prematurely
>> Alarm clock
>>
>> Other share (on same Linux machine) are running fine.
>> How can I further investigate this strange problem?
>>
>> I'm using backuppc 3.2.1-4 on Debian.
>> Thank you
>>
>>
>>
>>
>> 
------------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> BackupPC-users mailing list
>> BackupPC-users AT lists.sourceforge DOT 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 AT lists.sourceforge DOT 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 AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>