admin01.pl 649 B

1234567891011121314151617181920212223
  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. '/home',
  10. '/var/lib'
  11. ];
  12. $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C $tarPath -c -v -f - -C $shareName --totals';
  13. # remove extra shell escapes ($fileList+ etc.) that are
  14. # needed for remote backups but may break local ones
  15. $Conf{TarFullArgs} = '$fileList';
  16. $Conf{TarIncrArgs} = '--newer=$incrDate $fileList';
  17. $Conf{host} = 'auth01.int.itguru.at';
  18. $Conf{ClientNameAlias} = '192.168.122.250';
  19. $Conf{RsyncClientCmd} = '$sshPath -l backuppc $host nice -n 19 sudo $rsyncPath $argList+';