Re: [BackupPC-users] Is there a command line reporting tool for backuppc?

2007-11-12 Thread Les Stott
Nick Triantafillou wrote: > Alexander Moisseev wrote: > >> Slightly modified perl script with warnings on errors and outdated >> backups (Originally written by Holger Parplies) for email reports. >> > > This works brilliantly, thanks a lot for sharing. > > Nick. > > Maybe i missed a pos

Re: [BackupPC-users] Is there a command line reporting tool for backuppc?

2007-11-12 Thread Nick Triantafillou
Alexander Moisseev wrote: > Slightly modified perl script with warnings on errors and outdated > backups (Originally written by Holger Parplies) for email reports. This works brilliantly, thanks a lot for sharing. Nick. -

Re: [BackupPC-users] System upgrade -> Errors

2007-11-12 Thread Craig Barratt
Adam writes: > Now when I go to the host page I get an error message: > index.cgi: Can't use an undefined value as an ARRAY reference at > /usr/share/backuppc/lib/BackupPC/CGI/HostInfo.pm line 293., referer: > http://10.1.1.200/backuppc/index.cgi?action=summary > > I've restarted backuppc as well

Re: [BackupPC-users] Odd call to $XferLOG->write: unbalanced quotes in BackupPC_dump 3.1.0beta1?

2007-11-12 Thread Craig Barratt
John writes: > Not sure of this is fixed in the latest beta release, but line 779 of > BackupPC_dump looks wierd. It appears to have unbalanced " marks. > It reads: > > $XferLOG->write(\"$logMsg\n"); > > but I claim it should read: > > $XferLOG->write("$logMsg\n"); The original vers

Re: [BackupPC-users] Using linux rsync to backup Windows clients

2007-11-12 Thread Bill B.
On Nov 12, 2007 5:55 AM, Rob Owens <[EMAIL PROTECTED]> wrote: > Maybe try starting with the most basic command for troubleshooting: > > rsync 10.10.1.247:: That doesn't work from either machine. I think I'm going to do a test install of debian, just to see if the behavior is the same. I compil

Re: [BackupPC-users] No ping possible, what to do?

2007-11-12 Thread Paul Archer
8:59am, Toni Van Remortel wrote: > Hi all, > > As most of my systems in the backup are not responding to 'ping', I've > set the $PingCmd to /bin/true (as documented). > The problem now is, that when a system is down, BackupPC still gets > successful ping's and tries to backup the system. After a w

Re: [BackupPC-users] No ping possible, what to do?

2007-11-12 Thread Toni Van Remortel
Rob Owens wrote: > I've always thought that there might be a way to do this using nmap. > nmap is a port scanner that can check hosts w/o using a ping, if you use > the -P0 option. I haven't tried it enough to get it to output what > BackupPC expects to see, but I imagine that it could be done wit

Re: [BackupPC-users] how to restore without using root

2007-11-12 Thread Holger Parplies
Hi, Les Stott wrote on 12.11.2007 at 18:22:51 [Re: [BackupPC-users] how to restore without using root]: > Nelson Serafica wrote: > > [...] > > backuppc ALL = NOPASSWD: ALL > > [...] > > Anyone has an alternative or a remedy? I don't allowed root to access > > directly via ssh for security purpos

Re: [BackupPC-users] No ping possible, what to do?

2007-11-12 Thread Rob Owens
I've always thought that there might be a way to do this using nmap. nmap is a port scanner that can check hosts w/o using a ping, if you use the -P0 option. I haven't tried it enough to get it to output what BackupPC expects to see, but I imagine that it could be done with the right combination o

Re: [BackupPC-users] Samba share as backup storage area

2007-11-12 Thread Rob Owens
The BackupPC pool needs to be located on a Linux file share. I'm not sure if you're talking about sharing a Linux folder with Samba, or using Samba to access a Windows share. It won't work if you put the BackupPC pool on a Windows disk, because that doesn't support hardlinks (at least not in the

Re: [BackupPC-users] Using linux rsync to backup Windows clients

2007-11-12 Thread Rob Owens
Maybe try starting with the most basic command for troubleshooting: rsync 10.10.1.247:: That should list all the modules that are available. If it shows the "docs" module from your CentOS machine, then maybe there's something in your previously-used syntax that CentOS doesn't like. (Perhaps it

[BackupPC-users] md4 doesn't match: will retry in phase 1; file removed

2007-11-12 Thread Adrian Bridgett
I just spent a little time looking at why my Nagios backuppc check failed on a backup yesterday - it turned out that when the message: "md4 doesn't match: will retry in phase 1; file removed" is logged, it counts as an error (RsyncFileIO.pm): if ( $phase > 0 ) { $fio->log("$name: f

Re: [BackupPC-users] Is there a command line reporting tool for backuppc?

2007-11-12 Thread Alexander Moisseev
Slightly modified perl script with warnings on errors and outdated backups (Originally written by Holger Parplies) for email reports. #!/usr/bin/perl -- -*- quick-hack -*- # # run manually: # su backuppc -c ./BackupPC_daily.pl | mail -s 'BackupPC daily stats' [EMAIL PROTECTED] # # or add to

[BackupPC-users] No ping possible, what to do?

2007-11-12 Thread Toni Van Remortel
Hi all, As most of my systems in the backup are not responding to 'ping', I've set the $PingCmd to /bin/true (as documented). The problem now is, that when a system is down, BackupPC still gets successful ping's and tries to backup the system. After a while, the blackout period is reached, and