BackupPC for SME Server

Sonora Communications, Inc.

  • Increase font size
  • Default font size
  • Decrease font size

BackupPC for SME Server

E-mail Print PDF

Before following this howto, check out this newer information:

BackupPC is a stable and mature backup solution and it is now at version 3.1.0.

This document is based on a SME contrib by Daniel at Thank you very much for your contribution and your hard work! Many thanks also to Craig Barratt and the other BackupPC developers for this incredibly useful package.


See Testing, Troubleshooting and Important Notes sections below.
Firewall Services BackupPC Howto

Configure the Backup Server

Installation and Upgrading

See Daniel's installation howto.

Removal (Uninstall)

This command will uninstall BackupPC but leave the data:

yum remove smeserver-backuppc.fws 

Perform these steps if you are trying to do a clean reinstall. This should uninstall all older versions as well. All backup data will be lost.

rpm -e smeserver-backuppc.fws perl-Archive-Zip perl-Compress-Zlib perl-File-RsyncP
/sbin/e-smith/signal-event ibay-delete backuppc
/sbin/e-smith/signal-event ibay-delete backup
/sbin/e-smith/signal-event user-delete backuppc
/sbin/e-smith/signal-event user-delete backup
/sbin/e-smith/signal-event group-delete backuppc
/sbin/e-smith/signal-event group-delete backup
db accounts delete backup
db accounts delete backups
db accounts delete backuppc
rm -rf /home/e-smith/files/users/backuppc
rm -rf /home/e-smith/files/users/backup
rm -rf /opt/backuppc
rm -rf /usr/share/backuppc
rm -rf /usr/local/BackupPC
rm -rf /etc/e-smith/web/functions/backuppc
rm -rf /etc/e-smith/web/panels/manager/cgi-bin/backuppc
rm -rf /etc/e-smith/db/configuration/defaults/backuppc
rm -rf /home/e-smith/db/backuppc
rm -rf /etc/e-smith/templates/etc/sudoers/30Backuppc
rm -rf /etc/e-smith/templates/home/e-smith/files/ibays/backup
rm /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99authbackuppc
rm /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99backuppc
expand-template /etc/httpd/conf/httpd.conf
expand-template /etc/sudoers
userdel backuppc
groupdel backuppc

Access to Web Interface

Use this URL in a browser to access the BackupPC console.


Use the login name admin and the normal SME admin password.

You can also access the BackupPC console from the SME Server-Manager.

By default, the SME 7 admin user is the BackupPC admin. Other BackupPC users must first have an SME 7 user account in order to initiate backups or restores.

Modify BackupPC Configuration

Using the BackupPC Edit Config panel, configure BackupPC for the typical host to be backed up. Any host that will not be backed up properly by these settings will be configured separately with overrides to these base settings.

These sample settings allow backing up other SME servers. Adjust to your needs.

See the sample main file attached.

  • Server
    • Edit Config
      • Hosts
        • add each machine to be backed up
        • use a pingable host name
        • delete the localhost entry only if you don't want to back up the BackupPC server
        • edit 'moreUsers' if other SME users will access the console
      • Xfer
        • XferMethod
          • rsync
        • RsyncShareName
          • /etc
          • /home
          • /root
        • BackupFilesExclude
          • /proc
          • /sys
          • /mnt
          • /media
          • /tmp
          • /opt/backuppc
          • .recycle/
          • Recycle Bin/
          • Temp/
          • Temporary Internet Files/
          • pagefile.sys
          • hiberfil.sys
          • SvcwRsync
          • /WINDOWS/CSC
          • IconCache.db
          • ~*
          • /RECYCLER
        • RsyncArgs
          • add --checksum-seed=32761
            • not for SME 6
            • may not work for Windows
        • RsyncRestoreArgs
          • add --checksum-seed=32761
            • not for SME 6
            • may not work for Windows
      • Server
        • WakeupSchedule
          • 23 (one nightly backup run of all hosts at 11:00pm)
      • Backup Settings
        • PingMaxMsec
          • 100 (only for WAN backup)
        • ClientTimeout
          • 82800
        • DumpPreUserCmd
          • $sshPath -q -x -l root $host
            • dumps MySQL databases
      • Schedule
        • FullPeriod
          • 6.7
        • FullKeepCnt
          • 4, 2, 3

Create 'backuppc' User RSA Keys

At the BackupPC server command line as root:

su -s /bin/bash backuppc 
ssh-keygen -t rsa -b 2048 # use a blank passphrase
If you will be backing up Windows hosts, you may want to copy the file to a floppy, USB key, web/ftp site or some other distribution medium.

Configure a Linux Host to be Backed Up

At the BackupPC Server Console

If the Linux host to be backed up (remote_host below) is behind a firewall, remember to open TCP port 22 (SSH). If it's a NAT firewall, forward port 22 from the NAT router to the Linux box.

Assuming SSH access to the remote host to be backed up is already configured, as root:
ssh-keyscan -t rsa $remote_host >> ~backuppc/.ssh/known_hosts # add "-p 2222" for port 2222
scp ~backuppc/.ssh/ root@$remote_host:/root/.ssh/authorized_keys # add "-P 2222" for port 2222

You can test the key exchange:

su -s /bin/bash backuppc  #become backuppc user
ssh -l root # add "-p 2222" for port 2222
exit #from the remote_host
exit #from the backuppc user back to root

You should be able to log in without a password.

Note: There are times when the backuppc user needs a real shell specified in /etc/passwd, for example, when the backuppc user is used to run sudo commands or pre/post scripts.

At the BackupPC Edit Hosts Panel

Add a host to be backed up. Leave the DHCP flag off if the host name can be resolved. You can use the following to test name resolution if you aren't sure.

To determine DHCP flag:

perl -e 'print(gethostbyname("remote_host") ? "ok\n" : "not found\n");' 
If you need to use the DHCP flag, you will need to specify $Conf{DHCPAddressRanges} in the main file (/opt/backuppc/files/etc/

Note: If using a non-standard port for SSH on the host to be backed up, don't forget to override and modify RsyncClientCmd, RsyncClientRestoreCmd and DumpPreUserCmd by adding "-p 2222", assuming the use of port 2222.

Example Linux Client .pl Configuration File

You only need to configure a host separately if the host settings differ from the main file. Settings in the /opt/backuppc/files/etc/pc/.pl file override the settings in the main file.

This file was used for a Scalix messaging/groupware server. Note the changed directories being backed up, the removal of the MySQL dump and the added directory exclusion.

Sample Host File
$Conf{RsyncShareName} = ['/etc',
$Conf{DumpPreUserCmd} = undef;
$Conf{BackupFilesExclude} = {
'*' => [
'Recycle Bin/',
'Temporary Internet Files/',

Configure a Windows Host - Method #1 (Simpler, No Encryption)

Tested on Windows XP Pro SP2.

Use this method if you don't need the encryption provided by SSH, for instance on a LAN.

Create User on the Windows Host

As an administrator on the Windows host, open a Windows (DOS) command prompt. Here we create a new backup user and give him privileges.

net user backuppc  /add
net localgroup administrators backuppc /add

Install RSYNC on the Windows Host

As an administrator, download and install the cygwin-rsync package from the BackupPC download area and extract the files into c:\rsyncd.

The default configuration will publish two shares: 'docs' (all profile data) and 'cDrive' (all of disk c:). You can change the settings in either or both. You could add a new share or delete one of the default shares too.

Sample c:\rsyncd\rsync.conf File
# Sample c:\rsyncd\rsyncd.conf file
# Windows Host Method #1 (rsyncd, no ssh)
# This configuration was tested on Windows XP Pro SP2 machine.
use chroot = false
max connections = 4
pid file = c:/rsyncd/
lock file = c:/rsyncd/rsyncd.lock

path = c:/Documents and Settings
comment = Documents and Settings
strict modes = false
auth users = backuppc
secrets file = c:/rsyncd/rsyncd.secrets
read only = false
list = false

# path = c:
# comment = Entire Drive
# auth users = backuppc
# secrets file = c:/rsyncd/rsyncd.secrets
# #hosts allow =
# strict modes = false
# read only = true
# list = false
Edit the c:\rsyncd\rsync.secrets File

Leave a blank line at the end. Password must match that configured in BackupPC!

Open the Windows Firewall

If the Windows (XP SP2 or Windows Server 2003) firewall is enabled, we have to adjust the firewall settings to allow RSYNC and ICMP (ping). Since we are backing up over the local network, security probably isn't a problem. As an administrator, open a Windows (DOS) command prompt.

netsh firewall set icmpsetting type = 4 mode = enable
netsh firewall set icmpsetting type = 8 mode = enable
netsh firewall set icmpsetting type = 11 mode = enable

netsh firewall add portopening TCP 873 RSYNC enable subnet

You can display firewall configuration like this:

netsh firewall show config

Windows Client .pl Configuration File (rsyncd Method 1)

Assuming your main file looks like the attached example, you will need to create a file for the individual Windows host via the BackupPC Edit Hosts panel. You only need to have a client .pl if you need to override any of the settings in the main file, which we do since it's a Windows host and our main file is set up for backing up SME hosts.

Use these settings as a guide for the Edit Hosts panel, then modify to meet your needs.

Sample Windows Host File
# Sample Windows Client .pl File
# for Method 1 (rsyncd, no encryption)
# Tell BackupPC we wish to use rsyncd. This requires rsync to be running as
# a service/daemon on the client system. $Conf{XferMethod} = "rsyncd";
# Tell BackupPC which user name and password to use. This should
# match the username:password pair in the c:\rsyncd\rsyncd.secrets
# file on the client.
$Conf{RsyncdUserName} = "backuppc";
$Conf{RsyncdPasswd} = "yourpassword";

# Tell BackupPC which share to backup. This should be the name
# of the module from C:\rsyncd\rsyncd.conf on the client (the
# name inside the square brackets). In the sample rsynd.conf
# file the cDrive module is the entire C drive.
#$Conf{RsyncShareName} = ['cDrive'];
$Conf{RsyncShareName} = "docs"; # Some Common Exclusions

$Conf{BackupFilesExclude} = {
'*' => [

Configure a Windows Host - Method 2 (rsyncd over SSH, Encrypted)

Tested on Windows Server 2003 over a WAN connection.

Yes, this seems overly complicated to me too. Use Method 1 if you don't need the encryption provided by SSH. If someone finds a better way to back up a remote Windows server over a WAN connection, I'm all ears.

Windows Host Configuration

If the Windows host is behind a firewall, remember to open TCP port 22 (SSH). If it's a NAT firewall, forward port 22 from the NAT router to the Windows box.

As an administrator, download and install the CwRsync Server and CopSSH packages.

Now, as an administrator at a DOS prompt, we start the SSH and Rsync services (if they are not already started) and set them to start automatically at boot time.

net start OpenSSHServer
SC config OpenSSHServer start= auto
SC failure OpenSSHServer reset= 300 actions= restart/5000/restart/10000/restart/100000
net start RsyncServer
SC config RsyncServer start= auto
SC failure RsyncServer reset= 300 actions= restart/5000/restart/10000/restart/100000

The space after the equals sign is important.

If the Windows firewall is enabled, we have to adjust the firewall settings to allow SSH and ICMP (ping). Neither of these changes affect security very much. The ICMP changes are not necessary if the Windows box is behind a firewall that is forwarding port 22 to it (and responding to pings in its stead).

netsh firewall set icmpsetting type = 4 mode = enable
netsh firewall set icmpsetting type = 8 mode = enable
netsh firewall set icmpsetting type = 11 mode = enable
netsh firewall add portopening TCP 22 SSH enable subnet
SSH Configuration

We add the public key of the 'backuppc' user on the BackupPC server to the authorized_keys file of the built-in 'SvcCWRSYNC' user on the Windows PC to be backed up. I haven't found an easy way to do this. I generally use VNC or RDP to access the Windows host, log in as an administrator, then use copy/paste while editing the files. If you are physically at the Windows host machine, you can open a SSH session to the BackupPC server using PuTTY and do the same.

On the BackupPC server, you can view the public key with this command (as root or backuppc):

cat ~backuppc/.ssh/

At the Windows machine, if you have a copy of the file on hand, you can use this command to add the key:

type x:\path\to\ >> "c:\Program Files\ICW\home\SvcCWRSYNC\.ssh\authorized_keys"
RSYNC Configuration

Edit the C:\Program Files\cwRsyncServer\rsyncd.conf file to look like the example. Just copy and paste.

Adjust the shares as you see fit. The example configuration file shares the entire 'Documents and Settings' profile directory.

# Sample rsyncd.conf file for Windows Host Method #2 (rsyncd over SSH)
Hosts allow =
Hosts deny = *
Address =
dont compress = *
use chroot = false
log file = rsyncd.log
pid file = /var/run/
transfer logging = no
auth users = backuppc
secrets file = /etc/rsyncd.secrets
strict modes = false

# Set to true for a little extra security, or set to false to allow
# both backups and restores
read only = false

# I may have had to use the following path syntax on Windows Server 2003
# using the cwRsyncServer package - I'm not not sure
path = /cygdrive/c/Documents and Settings
list = false
path = /cygdrive/c/Users Shared Folders
list = false
path = /cygdrive/c/Shares
list = false

Edit (or create) the file C:\Program Files\ICW\home\etc\rsyncd.secrets. Choose a password that will be used to access the new rsync server on the Windows host.


You need to give the SvcCWRSYNC user sufficient privileges to back up all of the listed shares. It's easy to just add that user to the 'Domain Admins' group, but you may have a better plan.

Restart the RSYNC server process on the Windows host.

net stop RsyncServer
net start RsyncServer

If you have trouble restarting the service, check the rsyncd.log file for a clue.

BackupPC Server Configuration

At the BackupPC server console, add the Windows client PC's SSH host key to the BackupPC server:

ssh-keyscan -t rsa windows_hostname >> ~backuppc/.ssh/known_hosts

If the SSH port is other than port 22, add '-p '.

You should now be able to ssh into the Windows box without a password from the BackupPC server while logged in as 'backuppc'. Again, use '-p ' for non-standard ports if necessary.

su -s /bin/bash backuppc
ssh -l SvcwRsync windows_hostname
Create the SSH Tunnel

We tunnel the rsync traffic through an SSH tunnel for security and because it is easy to get through firewalls.

We use a shell script to bring up the SSH tunnels implemented as a custom ping command at the start of the backup. The same script also shuts down the tunnels after the backup finishes implemented as a DumpPostUserCmd.

Create a shell script called ssh.hostname where hostname is just an ID. I keep it in /usr/local/bin because it's in the path. You will need to create a separate copy for each Windows/rsyncd host to be backed up only modifying the variables and script names.

As root:

vi /usr/local/bin/ssh.hostname 

Then enter:

# ssh.hostname
# Create a copy of this file for each Windows host to be backed up by
# Method 2 (rsyncd over SSH). Change the local port number (9001, 9002, etc.)
# and the host name (resolveable) for each machine to be backed up.
# Make sure this port matches the for the specific host.
# (i.e. the $Conf{RsyncdClientPort})
# Add -p
for remote hosts using non-standard SSH ports
# Add -C to use compression (slow links only)

if [ "$1" = "" ]; then
echo You need to append "up" or "down" to the command line.
exit 1

# You do not normally need to edit the following except to add/remove "-C"
if [ "$1" = "up" ]; then
/usr/bin/ssh -C -f -2 -N -L $port:localhost:873 SvcCWRSYNC@$hostname 1>/dev/null 2>/dev/null
/bin/ping -c 1 -w 3 $hostname
exit 0
/usr/bin/pgrep -f "/usr/bin/ssh .* SvcCWRSYNC@$hostname" | /usr/bin/xargs /usr/bin/kill
exit 0

After saving the file, make it executable:

chmod 755 /usr/local/bin/ssh.hostname

Windows Client Configuration (rsyncd Method2)

Assuming your main file looks like the example, you will need to create a file for the individual Windows hosts via the BackupPC configuration panel. You might use something like these override settings:

  • Select Host - Your Hostname
    • Edit Config - Your Hostname
      • Xfer
        • XferMethod
          • rsyncd
        • RsyncShareName
          • docs
          • users
          • shares
        • BackupFilesExclude
          • you may or may not need to override this
        • RsyncArgs
          • add --checksum-seed=32761
        • RsyncRestoreArgs
          • add --checksum-seed=32761
        • RsyncdClientPort
          • set to same rsyncd port as is in ssh.hostname
          • default is 873
      • Backup Settings
        • ClientNameAlias
          • localhost
          • we must set it this way using SSH tunnels
        • PingCmd
          • /usr/local/bin/ssh.hostname up
          • the 'up' tells the script to bring up the tunnel
        • DumpPreUserCmd
          • you may need to override this to blank
        • DumpPostUserCmd
          • /usr/local/bin/ssh.hostname down
          • the 'down' tells the script to tear down the tunnel

Important Notes


You can test the rsyncd server on a Windows host by opening a bash command prompt via the Start menu and entering:

rsync backuppc@localhost:: (docs, in our example)

If you want to test the rsyncd server across the network, you first have to bring up the SSH tunnel by running the ssh.hostname script as root:

su -c "/usr/local/bin/ssh.hostname up" - backuppc

Run this command to see it running:

ps ax | grep SvcwRsync

Then run this command, substituting the proper local port and rsync share name to test your rsync connection:

rsync --port  backuppc@localhost::

The proper local port for the host you are testing (9001, etc.) must match the hosts' and also ssh.hostname.

Shut down the SSH tunnel like this:

su -c "/usr/local/bin/ssh.hostname down" - backuppc

You can manually initiate a wakeup with this command:

su -c "/usr/local/BackupPC/bin/BackupPC_serverMesg backup all" - backuppc

Finally, the most important testing tool is the '-v' switch. On the BackupPC server as root:

su -c "/usr/local/BackupPC/bin/BackupPC_dump -v -f your_hostname" - backuppc

or if you have not assigned the backuppc user a shell for extra security, try something like:

su -s /bin/bash -c "/usr/bin/BackupPC_dump -v -f your_hostname" - backuppc

This command will give you some visual feedback during a backup session.

If you want to fire off the nightly maintenance process, enter this command:

su -c "/usr/local/BackupPC/bin/BackupPC_nightly 0 255" - backuppc 


Troubleshooting Windows host configuration issues

It is very helpful to use the Event Viewer. For SSH or rsync issues, check the respective log files.

Restarting the backuppc service manually illuminates many issues
service backuppc restart 
You may get errors such as...
Error! Unable to read or language strings!!

This seems to indicate problems parsing the file. I found that it is VERY easy to forget a terminating semicolon or fail to use single quotes around configuration strings as there is not instruction to do so. For example, if you fail to enter...


With quotes as the BackupFilesOnly, the file will fail to be parsed correctly and the service will not start. Same goes for other fields, as well. To fix this, you have to manually edit the file...

vi /opt/backuppc/files/etc/ 

The keyword 'undef' must not have the quotes!

Backing up multiple hosts behind the same NAT firewall is problematic

You can force ssh to ignore an incorrect host key in the known_hosts file by adding this ssh command line option: '-o StrictHostKeyChecking=no'. This will get you past the SSH problem, but there are bandwidth and other issues when backing up over a WAN connection.

The ping command can be manipulated to always return 'true' if needed

For example, if your client machine is behind a firewall that won't pass ICMP (ping), you can use this option in the host

$Conf{PingCmd} = '/bin/true';
Use lsof command to see what files are open/being processed
lsof -p

Backing Up Databases

To backup databases on the client, you probably wan to do a 'dump' first. This typically dumps the running database to a flat file that is possible to back up. Without this functionality, you probably won't get a usable backup from a running database.

Here are a couple of examples for dumping mysql, postgresql and mysql under SME 7. Use one of these, modified for your situation, if necessary, by placing the statement in either the main or the host's as appropriate.

$Conf{DumpPreUserCmd} = '$sshPath -q -x -l root $host /usr/bin/pg_dumpall -D -U postgres > /var/www/pgsql.dump';
$Conf{DumpPreUserCmd} = '$sshPath -q -x -l root $host /usr/bin/mysqldump --add-drop-table -A -Q \
--password=yourpassword > /var/www/mysql.dump';
SME Server
$Conf{DumpPreUserCmd} = '$sshPath -q -x -l root $host /etc/e-smith/events/pre-backup/S20mysql-dump-tables';

BackupPC Configuration Files

BackupPC has a hosts file which defines the machines to be backed up, a main configuration file and also supports an optional per-client file.

Example hosts File

This file lists the machines to be backed up.

# The first non-comment non-empty line gives the field names and should not be edited!!
host dhcp user moreUsers # <--- do not edit this line

#farside 0 craig jill,jeff # <--- example static IP host entry
#larson 1 bill # <--- example DHCP host entry 0 admin 0 gcooper testuser 0 gcooper 0 gcooper 0 gcooper

Example Main File

This is an example main configuration file which controls all default options. This main config file is configured for backing up other SME servers to this BackupPC server (via rsync) without the need for a separate host file. Methods other than rsync have not been configured or even considered. In other words, if you also want to back up Windows boxes, you'll need to set up the SMB options as well.

Leave this file alone and use per-client files for hosts requiring special settings (anything but a stock SME server).

Do not modify this file by hand. Use the Server-Manager panel. In the case BackupPC will not start, you can edit this file by hand, start BackupPC then use the Server-Manager panel to correct the problem.

# Main file
# ------------------------------------------------------------
$Conf{ServerHost} = 'localhost';
$Conf{ServerPort} = '-1';
$Conf{ServerMesgSecret} = '';
$Conf{MyPath} = '/bin';
$Conf{UmaskMode} = '23';
$Conf{WakeupSchedule} = [
$Conf{MaxBackups} = '4';
$Conf{MaxUserBackups} = '4';
$Conf{MaxPendingCmds} = '10';
$Conf{MaxBackupPCNightlyJobs} = '2';
$Conf{BackupPCNightlyPeriod} = '1';
$Conf{MaxOldLogFiles} = '14';
$Conf{DfPath} = '/bin/df';
$Conf{DfCmd} = '$dfPath $topDir';
$Conf{SplitPath} = '/usr/bin/split';
$Conf{ParPath} = '/usr/local/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{TopDir} = '/opt/backuppc/files';
$Conf{ConfDir} = '/etc/BackupPC';
$Conf{LogDir} = '/var/log/BackupPC';
$Conf{InstallDir} = '/usr/local/BackupPC';
$Conf{CgiDir} = '/opt/backuppc/cgi-bin';
$Conf{BackupPCUserVerify} = '1';
$Conf{HardLinkMax} = '31999';
$Conf{PerlModuleLoad} = undef;
$Conf{ServerInitdPath} = '/etc/init.d/backuppc';
$Conf{ServerInitdStartCmd} = '$sshPath -q -x -l root $serverHost\' . \'
$serverInitdPath start\' . \' < /dev/null >& /dev/null';
$Conf{FullPeriod} = '6.7';
$Conf{IncrPeriod} = '0.7';
$Conf{FullKeepCnt} = [

$Conf{FullKeepCntMin} = '1';
$Conf{FullAgeMax} = '90';
$Conf{IncrKeepCnt} = '6';
$Conf{IncrKeepCntMin} = '1';
$Conf{IncrAgeMax} = '30';
$Conf{IncrLevels} = [

$Conf{BackupsDisable} = '0';
$Conf{PartialAgeMax} = '3';
$Conf{IncrFill} = '0';
$Conf{RestoreInfoKeepCnt} = '10';
$Conf{ArchiveInfoKeepCnt} = '10';
$Conf{BackupFilesOnly} = {};
$Conf{BackupFilesExclude} = {
'*' => [
'Recycle Bin/',
'Temporary Internet Files/',
$Conf{BlackoutBadPingLimit} = '3';
$Conf{BlackoutGoodCnt} = '7';
$Conf{BlackoutPeriods} = [
'hourEnd' => '19.5',
'weekDays' => [
'hourBegin' => '7'
$Conf{BackupZeroFilesIsFatal} = '1';
$Conf{XferMethod} = 'rsync';
$Conf{XferLogLevel} = '1';
$Conf{ClientCharset} = '';
$Conf{SmbShareName} = [
$Conf{SmbShareUserName} = '';
$Conf{SmbSharePasswd} = '';
$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{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/gtar';
$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} = [
$Conf{RsyncRestoreArgs} = [

$Conf{BackupPCdShareName} = '/';
$Conf{BackupPCdPath} = '';
$Conf{BackupPCdCmd} = '$bpcdPath $host $shareName $poolDir XXXX $poolCompress
$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 -w 3 $host';
$Conf{PingMaxMsec} = '100';
$Conf{CompressLevel} = '3';
$Conf{ClientTimeout} = '82800';
$Conf{MaxOldPerPCLogFiles} = '12';
$Conf{DumpPreUserCmd} = '$sshPath -q -x -l root $host
$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} = 'admin';
$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} = '';
$Conf{CgiAdminUsers} = 'admin';
$Conf{CgiURL} = 'http://localhost/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',
'name' => undef
'link' => '',
'lname' => undef,
'name' => 'FAQ'
'link' => '',
'lname' => undef,
'name' => 'SourceForge'
$Conf{CgiStatusHilightColor} = {
$Conf{CgiHeaders} = '
$Conf{CgiImageDir} = '/opt/backuppc/images';
$Conf{CgiExt2ContentType} = {};
$Conf{CgiImageDirURL} = '/backuppc';
$Conf{CgiCSSFile} = 'BackupPC_stnd.css';
$Conf{CgiUserConfigEditEnable} = '0';
$Conf{CgiUserConfigEdit} = {
'EMailOutlookBackupSubj' => '1',
'ClientCharset' => '1',
'TarFullArgs' => '1',
'RsyncdPasswd' => '1',
'IncrKeepCnt' => '1',
'PartialAgeMax' => '1',
'FixedIPNetBiosNameCheck' => '1',
'SmbShareUserName' => '1',
'EMailFromUserName' => '1',
'ArchivePreUserCmd' => '0',
'PingCmd' => '0',
'FullAgeMax' => '1',
'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',
'ArchiveComp' => '1',
'TarIncrArgs' => '1',
'EMailUserDestDomain' => '1',
'TarClientPath' => '0',
'RsyncClientCmd' => '0',
'IncrFill' => '1',
'RestoreInfoKeepCnt' => '1',
'UserCmdCheckStatus' => '0',
'RsyncdClientPort' => '1',
'IncrAgeMax' => '1',
'RsyncRestoreArgs' => '1',
'SmbClientFullCmd' => '0',
'ArchiveInfoKeepCnt' => '1',
'BackupZeroFilesIsFatal' => '1',
'EMailNoBackupRecentMesg' => '1',
'FullKeepCnt' => '1',
'TarShareName' => '1',
'EMailNoBackupEverSubj' => '1',
'TarClientRestoreCmd' => '0',
'EMailNoBackupRecentSubj' => '1',
'ArchivePar' => '1',
'XferLogLevel' => '1',
'ArchiveDest' => '1',
'ClientTimeout' => '1',
'EMailNotifyMinDays' => '1',
'RsyncdAuthRequired' => '1',
'SmbClientRestoreCmd' => '0',
'ClientNameAlias' => '1',
'DumpPostShareCmd' => '0',
'IncrLevels' => '1',
'EMailOutlookBackupMesg' => '1',
'BlackoutBadPingLimit' => '1',
'BackupFilesExclude' => '1',
'FullPeriod' => '1',
'ArchivePostUserCmd' => '0',
'RsyncClientRestoreCmd' => '0',
'IncrPeriod' => '1',
'RsyncShareName' => '1',
'RestorePostUserCmd' => '0',
'BlackoutGoodCnt' => '1',
'ArchiveClientCmd' => '0',
'ArchiveSplit' => '1',
'XferMethod' => '1',
'NmbLookupCmd' => '0',
'BackupsDisable' => '1',
'SmbShareName' => '1',
'RestorePreUserCmd' => '0',
'IncrKeepCntMin' => '1',
'EMailNoBackupEverMesg' => '1',
'EMailHeaders' => '1',
'DumpPreUserCmd' => '0',
'RsyncClientPath' => '0',
'DumpPostUserCmd' => '0'


Last Updated on Friday, 07 January 2011 13:52