web01.pl 686 B

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