Re: [BackupPC-users] backuppc errors

2021-03-31 Thread Norman Goldstein
I found your errors.txt file in the archives -- didn't seem to make it 
to my own email client (weird).


Is it correct that tar is supposed to be getting 238 GB to deal with?  
The action seems to be happening in BackupPC_tarExtract . Maybe you can 
find out what its command line is, and try the same command line, manually.


Other than that, I don't know how to track this down.  Sorry for that.

Good luck,
Norm


On 2021-03-31 10:30 a.m., Norman J. Goldstein wrote:

An error log would help.

On 2021-03-31 9:57 a.m., s.chimere--- via BackupPC-users wrote:

Hello anyone ?

Do I need to shed more light ?

On Mar 26, 2021 3:52 PM, "s.chimere--- via BackupPC-users" 
 wrote:


Hello Everyone,

i have been using backuppc for almost a year now with no problems
when all of a sudden all my backupps started failing, i have 6
windows servers that i have been backing up and now not a single
one backs up successfully.

Please any form of assistance will be highly appreciated .

i have attached error logs for one of the hosts.

Thanks.




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




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


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


Re: [BackupPC-users] backuppc errors

2021-03-31 Thread s.chimere--- via BackupPC-users
I attached a file in my first email.Should I paste the contents in the email ?Or resendOn Mar 31, 2021 6:30 PM, "Norman J. Goldstein"  wrote:
An error log would help.
  
  On 2021-03-31 9:57 a.m., s.chimere--- via BackupPC-users wrote:


  
  Hello anyone ?


Do I need to shed more light ?
  
  
On Mar 26, 2021 3:52 PM, "s.chimere---
  via BackupPC-users"
   wrote:
  

  Hello
Everyone,

i have been using backuppc for almost a year now with no
problems when all of a sudden all my backupps started
failing, i have 6 windows servers that i have been
backing up and now not a single one backs up
successfully.

Please any form of assistance will be highly appreciated
.

i have attached error logs for one of the hosts.

Thanks.

  


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



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


Re: [BackupPC-users] backuppc errors

2021-03-31 Thread Norman J. Goldstein

An error log would help.

On 2021-03-31 9:57 a.m., s.chimere--- via BackupPC-users wrote:

Hello anyone ?

Do I need to shed more light ?

On Mar 26, 2021 3:52 PM, "s.chimere--- via BackupPC-users" 
 wrote:


Hello Everyone,

i have been using backuppc for almost a year now with no problems
when all of a sudden all my backupps started failing, i have 6
windows servers that i have been backing up and now not a single
one backs up successfully.

Please any form of assistance will be highly appreciated .

i have attached error logs for one of the hosts.

Thanks.




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


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


Re: [BackupPC-users] backuppc errors

2021-03-31 Thread s.chimere--- via BackupPC-users
Hello anyone ?Do I need to shed more light ?On Mar 26, 2021 3:52 PM, "s.chimere--- via BackupPC-users"  wrote:
Hello Everyone,  i have been using backuppc for almost a year now with no problems when all of a sudden all my backupps started failing, i have 6 windows servers that i have been backing up and now not a single one backs up successfully.  Please any form of assistance will be highly appreciated .  i have attached error logs for one of the hosts.  Thanks.

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


Re: [BackupPC-users] BackupPC web interface error

2021-03-31 Thread Norman J. Goldstein

On 2021-03-31 7:02 a.m., SRIRAM--- via BackupPC-users wrote:


Dear team,

I have upgraded backuppc from 4.3.2 to 4.4.0

I have something strange.

backuppc started but on the Web Interface I get

*Error: Unable to connect to BackupPC server*

*This CGI script (/BackupPC_Admin) is unable to connect to the 
BackupPC server on backuppc port -1.*


*The error was: unix connect to /var/run/BackupPC/BackupPC.sock: No 
such file or directory.*


*Perhaps the BackupPC server is not running or there is a 
configuration error. Please report this to your Sys Admin.*


Any idea what could be wrong?

Many thanks

sriram .p


Did you check the folder and file are there:

*/var/run/BackupPC/BackupPC.sock*



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


Re: [BackupPC-users] BackupPC permission issue?

2021-03-31 Thread Adam Goryachev via BackupPC-users


On 1/4/21 00:08, Joseph Bishay wrote:

Hello Adam and everyone,

Thank you for the reply.  I've responded below:

On Tue, Mar 30, 2021 at 10:42 PM Adam Goryachev via BackupPC-users 
> wrote:


On 31/3/21 12:26, Joseph Bishay wrote:



I have BackupPC backing up a Linux client and it appears to only
back up certain files.  The pattern seems to be that if the
directory has permissions of -rw-r--r-- BackupPC can enter, read
the files and back them up correctly, but if the directory has
permissions of drwx-- it creates that directory but cannot
enter and read the files within it.

The error log file shows multiple lines of:
Remote[1]: rsync: opendir "/directory/with/files" failed:
Permission denied (13)

Other parts of the filesystem are being backed up correctly it
appears.  The BackupPC automatically connects as the user
BackupPC on the client and that backupPC user has the ability to
run rsync as root. On the client I have:

$ cat /etc/sudoers.d/backuppc giving:
backuppc ALL=NOPASSWD: /usr/bin/rsync
backuppc ALL=NOPASSWD: /usr/bin/whoami  #added this one for debugging

From BackupPC running the command:
ssh -l backuppc client_IP "whoami"
returns backuppc

and running the command
ssh -l backuppc client_IP "sudo whoami"
returns root

so it seems to be working correctly.

In the client config file on BackupPC, variable is set as:
RsyncClientCmd = "$sshPath -q -x -l backuppc $host $rsyncPath
$argList+"


Aren't you missing a sudo somewhere in the command? not sure how
you have defined rsyncPath, but that looks like it could be the issue.

Maybe you could post the logs which will show the actual commands
being run after variable expansion.

Regards,
Adam


I am not sure if there should be a sudo somewhere or how that works 
unfortunately - I do not understand this very well.  rsyncClientPath 
is defined as: /usr/bin/rsync  It appears rsync is working since I am 
getting part of the drive backed up, just not certain folders.


The Xferlog file shows:

Contents of file /var/lib/backuppc/pc/client_IP/XferLOG.0.z, modified 
2021-03-28 21:25:06


full backup started for directory /
Running: /usr/bin/ssh -q -x -l backuppc client_IP /usr/bin/rsync 
--server --sender --numeric-ids --perms --owner --group -D --links 
--hard-links --times --block-size=2048 --recursive --ignore-times . /



You are definitely missing an "sudo" in there. If you see what you have, 
you are calling ssh, with some flags "-q -x", using the account backuppc 
(-l backuppc), to login to the remove machine "client_IP" and once 
logged in running /usr/bin/rsync with some options  etc.



ssh -l backuppc client_IP "whoami"
This is the same example you posted above, as you can see, it is running 
as the user backuppc



ssh -l backuppc client_IP "sudo whoami"
As you can see, adding the "sudo" means you are going to end up running 
the command as root.



RsyncClientCmd = "$sshPath -q -x -l backuppc $host $rsyncPath $argList+"

I would suggest changing this to:

RsyncClientCmd = "$sshPath -q -x -l backuppc $host /usr/bin/sudo 
$rsyncPath $argList+"


Assuming your sudo is in /usr/bin/sudo. To check, login and run:

which sudo

Pretty sure that should solve the permissions problem, although I don't 
use sudo with backuppc, so there could be other issues that I'm not 
aware of.


Regards,
Adam

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


[BackupPC-users] BackupPC web interface error

2021-03-31 Thread SRIRAM--- via BackupPC-users
Dear team, 

 

I have upgraded backuppc from 4.3.2 to 4.4.0

I have something strange. 

backuppc started but on the Web Interface I get

 

Error: Unable to connect to BackupPC server

 

This CGI script (/BackupPC_Admin) is unable to connect to the BackupPC server 
on backuppc port -1.

The error was: unix connect to /var/run/BackupPC/BackupPC.sock: No such file or 
directory.

Perhaps the BackupPC server is not running or there is a configuration error. 
Please report this to your Sys Admin.

 

Any idea what could be wrong?

 

Many thanks

sriram .p

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


Re: [BackupPC-users] BackupPC permission issue?

2021-03-31 Thread Joseph Bishay
Hello Adam and everyone,

Thank you for the reply.  I've responded below:

On Tue, Mar 30, 2021 at 10:42 PM Adam Goryachev via BackupPC-users <
backuppc-users@lists.sourceforge.net> wrote:

> On 31/3/21 12:26, Joseph Bishay wrote:
>
> 
> I have BackupPC backing up a Linux client and it appears to only back up
> certain files.  The pattern seems to be that if the directory has
> permissions of -rw-r--r-- BackupPC can enter, read the files and back them
> up correctly, but if the directory has permissions of drwx-- it creates
> that directory but cannot enter and read the files within it.
>
> The error log file shows multiple lines of:
> Remote[1]: rsync: opendir "/directory/with/files" failed: Permission
> denied (13)
>
> Other parts of the filesystem are being backed up correctly it appears.
> The BackupPC automatically connects as the user BackupPC on the client and
> that backupPC user has the ability to run rsync as root.  On the client I
> have:
>
> $ cat /etc/sudoers.d/backuppc giving:
> backuppc ALL=NOPASSWD: /usr/bin/rsync
> backuppc ALL=NOPASSWD: /usr/bin/whoami  #added this one for debugging
>
> From BackupPC running the command:
> ssh -l backuppc client_IP "whoami"
> returns backuppc
>
> and running the command
> ssh -l backuppc client_IP "sudo whoami"
> returns root
>
> so it seems to be working correctly.
>
> In the client config file on BackupPC, variable is set as:
> RsyncClientCmd = "$sshPath -q -x -l backuppc $host $rsyncPath $argList+"
>
> Aren't you missing a sudo somewhere in the command? not sure how you have
> defined rsyncPath, but that looks like it could be the issue.
>
> Maybe you could post the logs which will show the actual commands being
> run after variable expansion.
>
> Regards,
> Adam
>

I am not sure if there should be a sudo somewhere or how that works
unfortunately - I do not understand this very well.  rsyncClientPath is
defined as: /usr/bin/rsync  It appears rsync is working since I am getting
part of the drive backed up, just not certain folders.

The Xferlog file shows:

Contents of file /var/lib/backuppc/pc/client_IP/XferLOG.0.z, modified
2021-03-28 21:25:06

full backup started for directory /
Running: /usr/bin/ssh -q -x -l backuppc client_IP /usr/bin/rsync --server
--sender --numeric-ids --perms --owner --group -D --links --hard-links
--times --block-size=2048 --recursive --ignore-times . /
Xfer PIDs are now 13133
Got remote protocol 31
Negotiated protocol version 28
Sent exclude: /var/tmp
Sent exclude: /tmp
Sent exclude: /mnt
Sent exclude: /media
Sent exclude: /sys
Sent exclude: /proc
Sent exclude: /run
Sent exclude: /dev
Sent exclude: /lost+found
Sent exclude: /var/cache
Sent exclude: /home/*/.mozilla/firefox/*.default
Sent exclude: /pagefile.sys
Sent exclude: /hiberfil.sys
Sent exclude: /$Recycle.Bin
Sent exclude: /WINDOWS/Temp
Sent exclude: /RECYCLER
Sent exclude: /home/*/.cache

Then many lines of:
Remote[1]: rsync: opendir "/some/folder/" failed: Permission denied (13)

example:
Remote[1]: rsync: send_files failed to open "/var/log/auth.log": Permission
denied (13)

Then several thousand lines of pool and create as it backs up.

That's it.

Please let me know what you think or if you need more information.

Thank you,
Joseph
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/