mail01.pl 585 B

123456789101112131415161718
  1. #
  2. # Local server backup of /etc as user backuppc
  3. #
  4. $Conf{XferMethod} = 'rsync';
  5. #$Conf{TarShareName} = ['/etc'];
  6. $Conf{RsyncShareName} = ['/root','/etc','/storage','/home','/var/lib'];
  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} = 'mail01.int.itguru.at';
  14. $Conf{ClientNameAlias} = '192.168.122.20';