Re: [BackupPC-users] EditConfig problem with beta2

2006-11-25 Thread John Cianfarani
I got the same error after a new install. Most change seems to give a
corrupted config.pl.  Eg after changed the "PingMaxMsec" on a new install
the config ends up being blank after a reload.

Thanks
John

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Relson
Sent: Friday, November 24, 2006 9:58 AM
To: BackupPC
Subject: [BackupPC-users] EditConfig problem with beta2

Hi Craig,

Having just installed 3.0.0-beta2 on my Gentoo system, I then attempted
to change server name from XX to OSAGE.  Got "save error; bzip2path
bad" message.  Changed bzip2 path from /usr/bin/bzip2 to /bin/bzip2
and successfully saved the conf.  Apache then reported:

  "Error: Unable to read config.pl or language strings!!"

The error log has the followign message

[Fri Nov 24 09:45:49 2006] [error] [client 192.168.1.10] Couldn't
execute /etc/BackupPC/config.pl: syntax error at
/etc/BackupPC/config.pl line 991, near ".", referer:
 
http://backuppc.osagesoftware.com/cgi-bin/BackupPC_Admin?action=editConfig


Diffing the old and new config files I found a problem (shown below).
The 3 lines setting SmbClientIncrCmd should have all been replaced,
but only 1 line was replaced:

@@ -965,7 +997,7 @@
 #
 # Same variable substitutions are applied as $Conf{SmbClientFullCmd}.
 #
-$Conf{SmbClientIncrCmd} = '$smbClientPath $host\\$shareName'
+$Conf{SmbClientIncrCmd} = '$smbClientPath $host\\$shareName
$I_option -U $userName -E -N -d 1 -c tarmode\\ full -TcN$X_option
$timeStampFile - $fileList'; . ' $I_option -U $userName -E -N -d 1' . '
-c tarmode\\ full -TcN$X_option $timeStampFile - $fileList'; 

Complete diff of config.pl.old and config.pl is attached.

Note: there are several other places where config.pl uses multi-line
assignments and where the new config.pl is bad


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] How to Troubleshoot BackupPC

2006-12-08 Thread John Cianfarani
Hello All,

 

I'm been testing BackupPC for awhile now (currently trying Beta3) and I'm
having some troubles with Rsyncd backups on windows machine.  I have 2 BPC
machines setup for testing one at home and one in a remote colo location.
If I backup a WinXP machine at my home (just a test directory with about
3500 files and directories approx 900meg) it works and completes fine.  When
I try the same backup from the colo location it seems to always fail.  When
I check the host status it's listed as a partial backup but it has the
correct number of files and the size looks right.  I have turned
XferLogLevel to 5 but I cannot find any reason in the error file or the log
file for the error.  The only thing I see is 'Got exit from child' I'm not
even sure if that is a bad thing.  Any advice on what might the cause of
this problem is most welcome.

 

Some Relevant Settings:

---

PingMaxMsec = 500 (Colo peers with my provider so pingtimes are very low)

Compression = 3

ClientTimeout = 72000 (Always seems to complete well within this time)

BackupZeroFilesisFatal = 0

 

 

 

Last lines of error files. 



Finished deltaGet phase 0
Child is sending done
Got done from child
Finished deltaGet phase 1
Got stats: 2109233 1639372 930763695 0 ('errorCnt' => 0,'ExistFileSize' =>
930763695,'ExistFileCnt' => 3494,'TotalFileCnt' => 3494,'ExistFileCompSize'
=> 501763531,'TotalFileSize' => 930763695)
attribWrite(dir=fTest) -> /backup/BackupPC/data/pc/aegis/new/fTest/attrib
attribWrite(dir=) -> /backup/BackupPC/data/pc/aegis/new//attrib
Got exit from child
Done: 3494 files, 930763695 bytes
Backup aborted ()

 

 

Also noticing some other oddities in another host I'm testing but I will
post that in another thread.

 

Thanks

John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] How to Troubleshoot BackupPC

2006-12-10 Thread John Cianfarani
I tried to start the backup manually as suggested but still could not notice
a glaring error.  (I have also tried to rerun backups to see if I get the
same error)

It goes through the "Got File" phase and counts up to the total number of
files.  

Then it goes through the sending csums phase and the sending hashes phase.

This seems to look strange almost like it failed the ping check or
something???  Below it says it got done/exit from child and done that it got
3494 files the exact amount... 

Finished deltaGet phase 0
Child is sending done
Got done from child
Finished deltaGet phase 1
Got stats: 2109251 1639372 930763695 0 ('errorCnt' => 0,'ExistFileSize' =>
930763695,'ExistFileCnt' => 3494,'TotalFileCnt' => 3494,'
ExistFileCompSize' => 501763531,'TotalFileSize' => 930763695)
attribWrite(dir=fTest) -> /backup/BackupPC/data/pc/aegis/new/fTest/attrib
attribWrite(dir=) -> /backup/BackupPC/data/pc/aegis/new//attrib
Got exit from child
Done: 3494 files, 930763695 bytes

(Omitted long ping check results(

CheckHostAlive: returning 14.820
Backup aborted ()
dump failed: 
link aegis

Again any help is appreciated.
Thanks
John


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tomasz
Chmielewski
Sent: Friday, December 08, 2006 10:44 AM
Cc: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] How to Troubleshoot BackupPC

John Cianfarani wrote:
> Hello All,
> 
>  
> 
> I'm been testing BackupPC for awhile now (currently trying Beta3) and 
> I'm having some troubles with Rsyncd backups on windows machine.  I have 
> 2 BPC machines setup for testing one at home and one in a remote colo 
> location.  If I backup a WinXP machine at my home (just a test directory 
> with about 3500 files and directories approx 900meg) it works and 
> completes fine.  When I try the same backup from the colo location it 
> seems to always fail.  When I check the host status it's listed as a 
> partial backup but it has the correct number of files and the size looks 
> right.  I have turned XferLogLevel to 5 but I cannot find any reason in 
> the error file or the log file for the error.  The only thing I see is 
> 'Got exit from child' I'm not even sure if that is a bad thing.  Any 
> advice on what might the cause of this problem is most welcome.
> 
>  
> 
> Some Relevant Settings:
> 
> ---
> 
> PingMaxMsec = 500 (Colo peers with my provider so pingtimes are very low)
> 
> Compression = 3
> 
> ClientTimeout = 72000 (Always seems to complete well within this time)
> 
> BackupZeroFilesisFatal = 0

Did you try to start the backup manually?
You will see the errors should there be any...

backuppc$ /srv/backuppc/bin/BackupPC_dump -v -f destination_machine


-- 
Tomasz Chmielewski
http://wpkg.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] How to Troubleshoot BackupPC

2006-12-11 Thread John Cianfarani

I recently bumped up the log level to 8 and I noticed something else didn't
look right.
The first is what a lot of the initial files look like, after though they
start to look like the second example with the 
"size doesn't match (< file size> vs 0)

Example 1
---
My Wallpapers/Default.wallpaper: blk=, newData=0, rxMatchBlk=0,
rxMatchNext=1
MD4 /backup/BackupPC/data/pc/aegis/0/fTest/fMy Wallpapers/fDefault.wallpaper
cache = , invalid = 
My Wallpapers/Default.wallpaper got exact match
My Wallpapers/Default.wallpaper got digests e85fc0462aa62f6bc03d21366b28672f
vs e85fc0462aa62f6bc03d21366b28672f
My Wallpapers/Default.wallpaper: nothing to do

Example 2
---
Sending empty csums for My Wallpapers/Landscape.wallpaper

--
Starting file 1983 (My Wallpapers/Landscape.wallpaper), blkCnt=0,
blkSize=2048, remainder=0
My Wallpapers/Landscape.wallpaper: size doesn't match (1123 vs 0)
My Wallpapers/Landscape.wallpaper: blk=, newData=1123, rxMatchBlk=,
rxMatchNext=0
My Wallpapers/Landscape.wallpaper: blk=, newData=0, rxMatchBlk=,
rxMatchNext=0
My Wallpapers/Landscape.wallpaper got digests
60b7cc422ec840e0b35afc4e47b63d94 vs 60b7cc422ec840e0b35afc4e47b63d94
[ skipped 1 lines ]
attribSet(dir=fTest/My Wallpapers, file=Landscape.wallpaper)

Does anyone know if this is a problem and what the cause could be.  Any
specific things to look for when troubleshooting would also be useful.

Thanks
John


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Cianfarani
Sent: Monday, December 11, 2006 2:48 AM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] How to Troubleshoot BackupPC

I tried to start the backup manually as suggested but still could not notice
a glaring error.  (I have also tried to rerun backups to see if I get the
same error)

It goes through the "Got File" phase and counts up to the total number of
files.  

Then it goes through the sending csums phase and the sending hashes phase.

This seems to look strange almost like it failed the ping check or
something???  Below it says it got done/exit from child and done that it got
3494 files the exact amount... 

Finished deltaGet phase 0
Child is sending done
Got done from child
Finished deltaGet phase 1
Got stats: 2109251 1639372 930763695 0 ('errorCnt' => 0,'ExistFileSize' =>
930763695,'ExistFileCnt' => 3494,'TotalFileCnt' => 3494,'
ExistFileCompSize' => 501763531,'TotalFileSize' => 930763695)
attribWrite(dir=fTest) -> /backup/BackupPC/data/pc/aegis/new/fTest/attrib
attribWrite(dir=) -> /backup/BackupPC/data/pc/aegis/new//attrib
Got exit from child
Done: 3494 files, 930763695 bytes

(Omitted long ping check results(

CheckHostAlive: returning 14.820
Backup aborted ()
dump failed: 
link aegis

Again any help is appreciated.
Thanks
John


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tomasz
Chmielewski
Sent: Friday, December 08, 2006 10:44 AM
Cc: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] How to Troubleshoot BackupPC

John Cianfarani wrote:
> Hello All,
> 
>  
> 
> I'm been testing BackupPC for awhile now (currently trying Beta3) and 
> I'm having some troubles with Rsyncd backups on windows machine.  I have 
> 2 BPC machines setup for testing one at home and one in a remote colo 
> location.  If I backup a WinXP machine at my home (just a test directory 
> with about 3500 files and directories approx 900meg) it works and 
> completes fine.  When I try the same backup from the colo location it 
> seems to always fail.  When I check the host status it's listed as a 
> partial backup but it has the correct number of files and the size looks 
> right.  I have turned XferLogLevel to 5 but I cannot find any reason in 
> the error file or the log file for the error.  The only thing I see is 
> 'Got exit from child' I'm not even sure if that is a bad thing.  Any 
> advice on what might the cause of this problem is most welcome.
> 
>  
> 
> Some Relevant Settings:
> 
> ---
> 
> PingMaxMsec = 500 (Colo peers with my provider so pingtimes are very low)
> 
> Compression = 3
> 
> ClientTimeout = 72000 (Always seems to complete well within this time)
> 
> BackupZeroFilesisFatal = 0

Did you try to start the backup manually?
You will see the errors should there be any...

backuppc$ /srv/backuppc/bin/BackupPC_dump -v -f destination_machine


-- 
Tomasz Chmielewski
http://wpkg.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/d

Re: [BackupPC-users] win32 rsyncd speed

2006-12-12 Thread John Cianfarani
If bandwidth / space isn't too much of an issue you may want to drop the
compression down or off.  That may help speed up the transfer.

Thanks
John

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JW Smythe
Sent: Monday, December 11, 2006 11:49 PM
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] win32 rsyncd speed

  G'evening all.

  Does anyone know of a good way to speed up rsyncd on a Windows machine?

  I'm doing remote backups, from Windows servers on a 100Mb/s link to
a Tier1 provider, to my BackupPC off-site location on Verizon FiOS.
It seems to be taking an awful long time to get the data down to me.

  I just started doing them a few days ago.  The only server with a
transfer rate says the speed was 0.13 MB/s

  I just did an scp of a 45Mb file from a server in the same location,
to my backup machine.  scp reported 935KB/s, taking 49 seconds.  0.13
and 0.93 are a world of difference.   I'm assuming there's something
in the rsyncd configuration I could change, but there wasn't a lot of
documentation in the rsyncd package.  I'm using the one from the
BackupPC site, not my own compile.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/