File: localhost.pl

package info (click to toggle)
backuppc 3.1.0-4lenny3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,416 kB
  • ctags: 957
  • sloc: perl: 28,028; sh: 452; makefile: 72
file content (14 lines) | stat: -rw-r--r-- 427 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# Local server backup of /etc as user backuppc
#
$Conf{XferMethod} = 'tar';

$Conf{TarShareName} = ['/etc'];

$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C $tarPath -c -v -f - -C $shareName'
                        . ' --totals';

# remove extra shell escapes ($fileList+ etc.) that are
# needed for remote backups but may break local ones
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';