localhost.pl 427 B

1234567891011121314
  1. #
  2. # Local server backup of /etc as user backuppc
  3. #
  4. $Conf{XferMethod} = 'tar';
  5. $Conf{TarShareName} = ['/etc'];
  6. $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C $tarPath -c -v -f - -C $shareName'
  7. . ' --totals';
  8. # remove extra shell escapes ($fileList+ etc.) that are
  9. # needed for remote backups but may break local ones
  10. $Conf{TarFullArgs} = '$fileList';
  11. $Conf{TarIncrArgs} = '--newer=$incrDate $fileList';