[vserver] save guest in backuppc

From: Ghislain Adnet <gadnet_at_aqueos.com>
Date: Sun 19 Apr 2020 - 19:52:12 BST
Message-ID: <213a44cd-9193-9f05-2b0d-e3ee461dfeab@aqueos.com>

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

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 19 Apr 2020 - 19:51:20 BST by hypermail 2.1.8