kvmhost01.pl 656 B

12345678910111213141516171819
  1. #
  2. # Local server backup of /etc as user backuppc
  3. #
  4. $Conf{XferMethod} = 'rsync';
  5. #$Conf{TarShareName} = ['/etc'];
  6. $Conf{RsyncShareName} = ['/root','/etc','/home'];
  7. $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C $tarPath -c -v -f - -C $shareName'
  8. . ' --totals';
  9. # remove extra shell escapes ($fileList+ etc.) that are
  10. # needed for remote backups but may break local ones
  11. $Conf{TarFullArgs} = '$fileList';
  12. $Conf{TarIncrArgs} = '--newer=$incrDate $fileList';
  13. $Conf{host} = 'kvmhost01.int.itguru.at';
  14. $Conf{ClientNameAlias} = '192.168.122.1';
  15. $Conf{RsyncClientCmd} = '$sshPath -l backuppc $host nice -n 19 sudo $rsyncPath $argList+';