Re: [BackupPC-users] no errors but no file backuped in some directory not others

2020-04-18 Thread Craig Barratt via BackupPC-users
Yes, the rsync settings have changed in 4.x.  You'll need to
set $Conf{RsyncSshArgs} and $Conf{RsyncClientPath}.  You should be able to
put the chroot into $Conf{RsyncClientPath}.

Craig

On Sat, Apr 18, 2020 at 11:39 PM Ghislain Adnet  wrote:

> On 4/18/20 6:49 AM, Craig Barratt via BackupPC-users wrote:
> > Are you using rsync?  The default in 4.x is --one-file-system.  You can
> edit the config file to remove that if you
> > prefer. I do realize you said "the client machine has only one
> partition", so that might not be the issue.
> >
>
> oh sorry, yes i use rsync via ssh.
>
> I think i found the issue, i used to store the backuped file  those file a
> "container" like system. So backuppc connnect
> to the host and then backcup the guest:
>
>
> http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_rsyncclientcmd_
>
> # rsync client commands
> $Conf{RsyncClientCmd}   = '$sshPath  -T -q -x -l aqbackup $host
> sudo vnamespace -e "'.$nomduvserveur.'"
> /usr/sbin/chroot "/vservers/'.$nomduvserveur.'" $rsyncPath $argList+';
> $Conf{RsyncClientRestoreCmd}= '$sshPath  -T -q -x -l aqbackup $host
> sudo vnamespace -e "'.$nomduvserveur.'"
> /usr/sbin/chroot "/vservers/'.$nomduvserveur.'" $rsyncPath $argList+';
>
>
> it seems this part is not working as it was and it is tryng to backup the
> host instead  of the guest.
>
> I dont find those in 4.0, have they disapeared ?
>
> regards,
> Ghislain.
>
>
>
>
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] no errors but no file backuped in some directory not others

2020-04-18 Thread Ghislain Adnet

On 4/18/20 6:49 AM, Craig Barratt via BackupPC-users wrote:
Are you using rsync?  The default in 4.x is --one-file-system.  You can edit the config file to remove that if you 
prefer. I do realize you said "the client machine has only one partition", so that might not be the issue.




oh sorry, yes i use rsync via ssh.

I think i found the issue, i used to store the backuped file  those file a "container" like system. So backuppc connnect 
to the host and then backcup the guest:



http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_rsyncclientcmd_

# rsync client commands
$Conf{RsyncClientCmd}   = '$sshPath  -T -q -x -l aqbackup $host sudo vnamespace -e "'.$nomduvserveur.'" 
/usr/sbin/chroot "/vservers/'.$nomduvserveur.'" $rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd}= '$sshPath  -T -q -x -l aqbackup $host sudo vnamespace -e "'.$nomduvserveur.'" 
/usr/sbin/chroot "/vservers/'.$nomduvserveur.'" $rsyncPath $argList+';



it seems this part is not working as it was and it is tryng to backup the host 
instead  of the guest.

I dont find those in 4.0, have they disapeared ?

regards,
Ghislain.




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] V4 - eventual effects of wrong sequence when removing Host

2020-04-18 Thread Michael Stowe

On 2020-04-17 03:20, R.C. wrote:

Hi all

Is the following Host remove sequence correct?
- remove Host backups (one by one) with BackupPC_backupDelete
- run BackupPC_nightly 0 255
- remove host from hosts file
- reload server configuration
- remove pc/ folder manually

What would happen if a wrong sequence is followed?
For example:
- remove host from hosts file
- reload server configuration
- remove pc/ folder manually
- run BackupPC_nightly 0 255

Would this leave orphan files in the pool?

Thank you

Raf


I usually follow this sequence:

- remove host from hosts file

That's it.  The nightly job will usually take care of the rest, although 
you can speed things up by running steps manually if you really need the 
space.



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/