I have been using backuppc for over 2 years without any big problems.
I now discover that everything that I though was being backed up is
NOT getting backed up. I'm using tar over ssh and these are all Linux
machines. The server and most clients are RHEL4U3. Backuppc is
2.1.2pl1. Attached is the config.pl file.
Here is a look at the processes with one full backup running (edfax is
the client hostname):
backuppc 25779 0.0 0.6 11892 6244 ? S 09:41 0:00
/usr/bin/perl /usr/local/backuppc/bin/BackupPC -d
backuppc 25780 0.0 0.3 8960 3888 ? S 09:41 0:00
/usr/bin/perl /usr/local/backuppc/bin/BackupPC_trashClean
backuppc 25809 1.8 0.8 13484 8480 ? S 09:42 0:01
/usr/bin/perl /usr/local/backuppc/bin/BackupPC_dump -f edfax
backuppc 25812 6.5 0.8 13572 9084 ? S 09:42 0:04
/usr/bin/perl /usr/local/backuppc/bin/BackupPC_tarExtract edfax / 3
backuppc 25813 6.9 0.2 5024 2332 ? S 09:42 0:04
/usr/bin/ssh -q -n -l root edfax /bin/gtar -c -v -f - -C / --totals
--exclude=./tmp --exclude=./var/tmp --exclude=./proc
--exclude=./dev/shm --exclude=./mnt .
And here are the processes on the client:
root 27843 2.2 0.9 7872 2516 ? Ss 09:42 0:00 sshd: [EMAIL
PROTECTED]
root 27845 0.8 0.3 3864 812 ? Ss 09:42 0:00
/bin/gtar -c -v -f - -C / --totals --exclude=./tmp --exclude=./var/tmp
--exclude=./proc --exclude=./dev/shm --exclude=./mnt .
That all looks good, but here is what actually gets to the backuppc server:
# pwd
/BACK/backuppc/pc/edfax/3/f%2f
# ls -al
total 32
drwxr-x--- 6 backuppc backuppc 4096 Apr 13 09:52 .
drwxr-x--- 3 backuppc backuppc 4096 Apr 13 09:42 ..
-rw-r----- 3 backuppc backuppc 57 Apr 13 09:03 attrib
drwxr-x--- 80 backuppc backuppc 8192 Apr 13 09:43 fetc
drwxr-x--- 2 backuppc backuppc 4096 Apr 13 09:43 fopt
drwxr-x--- 2 backuppc backuppc 4096 Apr 13 09:43 fselinux
drwxr-x--- 3 backuppc backuppc 4096 Apr 13 09:52 fsys
Obviously my / has more than just etc,opt,selinux, and sys in it. The
web interface shows the same information as this ls did.
Anyone have any idea why I'm not getting everything?
Thanks for any help.
--
C Lance Moxley
http://moxley.champaign.il.us:61821/
$Conf{ServerHost} = 'backup.news-gazette.com';
$Conf{ServerPort} = -1;
$Conf{ServerMesgSecret} = '';
$Conf{MyPath} = '/bin';
$Conf{UmaskMode} = 027;
$Conf{WakeupSchedule} = [1..23];
$Conf{MaxBackups} = 8;
$Conf{MaxUserBackups} = 4;
$Conf{MaxPendingCmds} = 10;
$Conf{MaxBackupPCNightlyJobs} = 8;
$Conf{BackupPCNightlyPeriod} = 4;
$Conf{MaxOldLogFiles} = 14;
$Conf{DfPath} = '/bin/df';
$Conf{DfCmd} = '$dfPath $topDir';
$Conf{SplitPath} = '/usr/bin/split';
$Conf{ParPath} = '/usr/bin/par2';
$Conf{CatPath} = '/bin/cat';
$Conf{GzipPath} = '/bin/gzip';
$Conf{Bzip2Path} = '/usr/bin/bzip2';
$Conf{DfMaxUsagePct} = 95;
$Conf{TrashCleanSleepSec} = 300;
$Conf{DHCPAddressRanges} = [];
$Conf{BackupPCUser} = 'backuppc';
$Conf{CgiDir} = '/var/www/cgi-bin';
$Conf{InstallDir} = '/usr/local/backuppc';
$Conf{BackupPCUserVerify} = 1;
$Conf{HardLinkMax} = 31999;
$Conf{SmbShareName} = 'C$';
$Conf{SmbShareUserName} = '';
$Conf{SmbSharePasswd} = '';
$Conf{TarShareName} = '/';
$Conf{FullPeriod} = 6.95;
$Conf{IncrPeriod} = 0.97;
$Conf{FullKeepCnt} = 8;
$Conf{FullKeepCntMin} = 2;
$Conf{FullAgeMax} = 190;
$Conf{IncrKeepCnt} = 6;
$Conf{IncrKeepCntMin} = 2;
$Conf{IncrAgeMax} = 45;
$Conf{PartialAgeMax} = 3;
$Conf{IncrFill} = 0;
$Conf{RestoreInfoKeepCnt} = 10;
$Conf{ArchiveInfoKeepCnt} = 10;
$Conf{BackupFilesOnly} = undef;
$Conf{BackupFilesExclude} = ['/tmp', '/var/tmp', '/proc', '/dev/shm', '/mnt'];
$Conf{BlackoutBadPingLimit} = 3;
$Conf{BlackoutGoodCnt} = 7;
$Conf{BlackoutPeriods} = [
{
hourBegin => 6.0,
hourEnd => 17.5,
weekDays => [1, 2, 3, 4, 5],
},
];
$Conf{BackupZeroFilesIsFatal} = 1;
$Conf{XferMethod} = 'tar';
$Conf{XferLogLevel} = 1;
$Conf{SmbClientPath} = '/usr/bin/smbclient';
$Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName'
. ' $I_option -U $userName -E -N -d 1'
. ' -c tarmode\\ full -Tc$X_option - $fileList';
$Conf{SmbClientIncrCmd} = '$smbClientPath \\\\$host\\$shareName'
. ' $I_option -U $userName -E -N -d 1'
. ' -c tarmode\\ full -TcN$X_option $timeStampFile - $fileList';
$Conf{SmbClientRestoreCmd} = '$smbClientPath \\\\$host\\$shareName'
. ' $I_option -U $userName -E -N -d 1'
. ' -c tarmode\\ full -Tx -';
$Conf{TarClientCmd} = '$sshPath -q -n -l root $host'
. ' $tarPath -c -v -f - -C $shareName+'
. ' --totals';
$Conf{TarFullArgs} = '$fileList+';
$Conf{TarIncrArgs} = '--newer=$incrDate+ $fileList+';
$Conf{TarClientRestoreCmd} = '$sshPath -q -l root $host'
. ' $tarPath -x -p --numeric-owner --same-owner'
. ' -v -f - -C $shareName+';
$Conf{TarClientPath} = '/bin/gtar';
$Conf{RsyncClientPath} = '/usr/bin/rsync';
$Conf{RsyncClientCmd} = '$sshPath -l root $host $rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -l root $host $rsyncPath $argList+';
$Conf{RsyncShareName} = '/';
$Conf{RsyncdClientPort} = 873;
$Conf{RsyncdUserName} = '';
$Conf{RsyncdPasswd} = '';
$Conf{RsyncdAuthRequired} = 1;
$Conf{RsyncCsumCacheVerifyProb} = 0.01;
$Conf{RsyncArgs} = [
#
# Do not edit these!
#
'--numeric-ids',
'--perms',
'--owner',
'--group',
'--devices',
'--links',
'--times',
'--block-size=2048',
'--recursive',
#
# Add additional arguments here
#
];
$Conf{RsyncRestoreArgs} = [
#
# Do not edit these!
#
"--numeric-ids",
"--perms",
"--owner",
"--group",
"--devices",
"--links",
"--times",
"--block-size=2048",
"--relative",
"--ignore-times",
"--recursive",
#
# Add additional arguments here
#
];
$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 -w 3 $host';
$Conf{ServerInitdPath} = '';
$Conf{ServerInitdStartCmd} = '';
$Conf{CompressLevel} = 3;
$Conf{PingMaxMsec} = 20;
$Conf{ClientTimeout} = 7200;
$Conf{MaxOldPerPCLogFiles} = 12;
$Conf{DumpPreUserCmd} = undef;
$Conf{DumpPostUserCmd} = undef;
$Conf{RestorePreUserCmd} = undef;
$Conf{RestorePostUserCmd} = undef;
$Conf{ArchivePreUserCmd} = undef;
$Conf{ArchivePostUserCmd} = undef;
$Conf{ClientNameAlias} = undef;
$Conf{PerlModuleLoad} = undef;
$Conf{SendmailPath} = '/usr/sbin/sendmail';
$Conf{EMailNotifyMinDays} = 2.5;
$Conf{EMailFromUserName} = '[EMAIL PROTECTED]';
$Conf{EMailAdminUserName} = '[EMAIL PROTECTED]';
$Conf{EMailUserDestDomain} = '';
$Conf{EMailNoBackupEverSubj} = undef;
$Conf{EMailNoBackupEverMesg} = undef;
$Conf{EMailNotifyOldBackupDays} = 7.0;
$Conf{EMailNoBackupRecentSubj} = undef;
$Conf{EMailNoBackupRecentMesg} = undef;
$Conf{EMailNotifyOldOutlookDays} = 5.0;
$Conf{EMailOutlookBackupSubj} = undef;
$Conf{EMailOutlookBackupMesg} = undef;
$Conf{CgiAdminUserGroup} = 'backuppc';
$Conf{CgiAdminUsers} = 'backuppc';
$Conf{CgiURL} = 'http://backup.news-gazette.com/cgi-bin/BackupPC_Admin';
$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", # actually displays $Lang->{Documentation}
},
{
link => "http://backuppc.sourceforge.net/faq",
name => "FAQ", # displays literal "FAQ"
},
{
link => "http://backuppc.sourceforge.net",
name => "SourceForge", # displays literal "SourceForge"
},
];
$Conf{CgiStatusHilightColor} = {
Reason_backup_failed => '#ffcccc',
Reason_backup_done => '#ccffcc',
Reason_no_ping => '#ffff99',
Reason_backup_canceled_by_user => '#ff9900',
Status_backup_in_progress => '#66cc99',
};
$Conf{CgiHeaders} = '<meta http-equiv="pragma" content="no-cache">';
$Conf{CgiImageDir} = '/var/www/html/BackupPC';
$Conf{CgiExt2ContentType} = { };
$Conf{CgiImageDirURL} = '/BackupPC';
$Conf{CgiCSSFile} = 'BackupPC_stnd.css';