Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

With my current configuration the BackupPC creates one rsync(of tar for local) process per host. My config file is following: /etc/BackupPC/pc/myhost.pl:

$Conf{RsyncShareName} = '/data';

In my /data I have many folders /data/01 /data/02 /data/03. I would like to backup them in parallel. Is it possible to configure BackupPC in the way that single host backup done in parallel on directory basis?

share|improve this question

Found finally! Looking in documentation: host aliases in /etc/BackupPC/hosts adding lines-

localhost.data.01 0 root
localhost.data.02 0 root
localhost.data.03 0 root

/etc/BackupPC/pc/localhost.data.o1.pl

$Conf{XferMethod} = "tar";
$Conf{TarShareName} = '/data/01';
$Conf{ClientNameAlias} = 'localhost';

same for 02,03 folders.

Then backups will start in parallel if $Conf{MaxBackupPCNightlyJobs} >1;

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.