Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
doc:backuppc:etc_backuppc_nomdemachine.pl [2005/10/27 17:10] lehobey |
doc:backuppc:etc_backuppc_nomdemachine.pl [2006/02/23 17:03] (Version actuelle) lehobey |
||
|---|---|---|---|
| Ligne 16: | Ligne 16: | ||
| ===== ssh+rsync ===== | ===== ssh+rsync ===== | ||
| + | |||
| + | <file> | ||
| + | # | ||
| + | # ssh+rsync | ||
| + | # | ||
| + | $Conf{XferMethod} = 'rsync'; | ||
| + | |||
| + | $Conf{RsyncClientCmd} = 'nice -n 19 $sshPath -q -x -l root $host nice -n 19 $rsyncPath $argList+'; | ||
| + | |||
| + | $Conf{BackupFilesExclude} = [ '/proc', '/sys', '/var/local/unique', 'secring.gpg', '/mnt', '/media' ]; | ||
| + | </file> | ||
| ===== sudo+rsync ===== | ===== sudo+rsync ===== | ||
| + | |||
| + | <file> | ||
| + | # | ||
| + | # sudo+rsync | ||
| + | # | ||
| + | $Conf{XferMethod} = 'rsync'; | ||
| + | |||
| + | $Conf{RsyncClientCmd} = 'nice -n 19 sudo $rsyncPath $argList+'; | ||
| + | $Conf{RsyncClientRestoreCmd} = 'sudo $rsyncPath $argList+'; | ||
| + | |||
| + | $Conf{BackupFilesExclude} = [ '/proc', '/sys', '/var/local/unique', 'secring.gpg', '/mnt', '/media' ]; | ||
| + | </file> | ||