hi,
Just to share a quick tip to backup guest from the host on backuppc4
--------------------------------------------------------------------
$Conf{ClientNameAlias} = '<hostname>';
$Conf{RsyncClientPath} = 'sudo /usr/sbin/vnamespace -e "'.$guestname.'" /usr/sbin/chroot
"/vservers/'.$guestname.'" /usr/bin/rsync ';
$Conf{RsyncSshArgs} = [
'-e', '$sshPath -T -q -x -l aqbackup',
];
--------------------------------------------------------------------
in backuppc3 i was using
--------------------------------------------------------------------
$Conf{ClientNameAlias} = '<hostname>';
# rsync client commands
$Conf{RsyncClientCmd} = '$sshPath -T -q -x -l sshuser $host sudo vnamespace -e "'.$guestname.'"
/usr/sbin/chroot "/vservers/'.$guestname.'" $rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -T -q -x -l sshuser $host sudo vnamespace -e "'.$guestname.'"
/usr/sbin/chroot "/vservers/'.$guestname.'" $rsyncPath $argList+';
--------------------------------------------------------------------
perhaps it can help some peoples. Backuppc is a great tool.
best regards,
Ghislain.
Received on Sun Apr 19 19:51:20 2020