Re: [BackupPC-users] Strange files in Windows 2003 backup

2006-01-29 Thread Craig Barratt
Tomas Florian writes:
 
 I think your patch worked.  It wasn't a 100% conclusive test though 
 because before I got your patch I was suspecting some kind of corruption 
 in the cspool folder and I deleted the contents ... then I got your 
 patch, applied that too and when the backup finished it was fine.  I'd 
 say probably it was your patch that fixed it though.
 
 If you would like me to confirm (by unapplying the patch and seeing if 
 the problem returns) I can definitely do that for you - just let me know 
 if that's what you'd like to see.
 
 In any case, it seems to be working for now.
 
 Thank you very much for your help,
 Tomas

No need for additional tests - I'm confident that this fixed
the problem.

Thanks for the feedback.

Craig

 Craig Barratt wrote:
  Tomas Florian writes:
 

  Yes I definitely have at least one 9 GB file.   Is that the problem?
  
 
  Yes, most likely.  Try this patch to BackupPC_tarExtract that
  fixes a problem with files  8GB whose length is a multiple of
  256 bytes.  Tell me if it solves the problem.
 
  Craig
 
  --- BackupPC_tarExtract 2006-01-27 10:07:47.193433600 -0800
  +++ BackupPC_tarExtract.new 2006-01-27 10:05:09.506691200 -0800
  @@ -102,7 +102,7 @@
   # Copyright 1998 Stephen Zander. All rights reserved.
   #
   my $tar_unpack_header
  -= 'Z100 A8 A8 A8 A12 A12 A8 A1 Z100 A6 A2 Z32 Z32 A8 A8 A155 x12';
  += 'Z100 A8 A8 A8 a12 A12 A8 A1 Z100 A6 A2 Z32 Z32 A8 A8 A155 x12';
   my $tar_header_length = 512;
   
   my $BufSize  = 1048576; # 1MB or 2^20
 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] BackupPC is empty after data move

2006-01-29 Thread Christophe Faribault
Hi,

Our backup server (BackupPC 2.1.0) recently crashed so I setup a new server
with BackupPC 2.1.2. It has a LVM of 400Gb (2x200Gb) where are stored cpool,
pc, and pool. The actual install dir is /home/backuppc. I have symb link in
/home/backuppc/data/ for cpool, pc and pool and backuppc starts fine. I've
copied all the backuppc config files from the old server (hosts, config.pl,
client.pl, status.pl, etc.) but backuppc doesn't seem to see any of them
or something. When I run /home/backuppc/bin/BackupPC_serverMesg status (info
| jobs | hosts), I see a bunch of stuff for all my clients but the CGI
interface is completely void of clients or backups. There isn't even a link
to the main config file in the left menu bar... Only Status, Host Summary,
Doc, FAQ, SF.

Another anoying thing is that HTTP Auth won't work. I've followed and
revised the instructions but it just won't ask. I've put this is
/home/backuppc/conf/apache.conf:

LoadModule perl_module modules/mod_perl.so PerlModule Apache2 Directory
/var/www/cgi-bin/
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Order deny,allow
Deny from all
Allow from 192.168.0
AllowOverride Indexes AuthConfig
AuthName Backup Admin
AuthType Basic
AuthUserFile /backups/data/conf/htpasswd (yes that file exists)
Require valid-user
/Directory

And the apache.conf file is included in httpd.conf and apache runs fine.
I've also tried to put the last 4 lines of the Directory directive in a
.htaccess in /var/www/cgi-bin without any luck either. It still won't ask
for auth.

I don't know what else to look at. I've checked and re-checked all possible
config files, I just don't see what's wrong.

Please help!! :(

Christophe Faribault
Systems Administrator
Webstorm Media Inc.
[EMAIL PROTECTED]
(514) 392-7722 x233




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] removable/external HDs

2006-01-29 Thread Lachlan Simpson
Hola again,

re those people that use Removable and or External HDs for their backuppc 
setups, was 
their any brand in particular that tickled - and should I be looking for a 
certain file 
system format on the HD?

We are running a Debian stable machine currently, with backuppc installed 
(obv), backing 
up a Windows 2000 server, which is mostly used as a file/print server only. 

I'm looking for a way to make the backups I do more portable - as both 
computers are in 
the same office, I'd like to make sure I have offsite backups (via 
removable/portable HD) 
and my current backup-to-tape (NovaBackup) is about to be retired because it is 
brain 
dead.


Cheers
L.
---
Lachlan Simpson, National Database  IT Support Officer
National Office
The Wilderness Society
57E Brisbane Street, Hobart TAS  7000, AUSTRALIA
[EMAIL PROTECTED]
Ph  (03) 6270 1798
http://www.wilderness.org.au




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] removable/external HDs

2006-01-29 Thread Les Mikesell
On Sun, 2006-01-29 at 19:25, Lachlan Simpson wrote:

 re those people that use Removable and or External HDs for their backuppc 
 setups, was 
 their any brand in particular that tickled - and should I be looking for a 
 certain file 
 system format on the HD?

You can reformat to match what you want.

 I'm looking for a way to make the backups I do more portable - as both 
 computers are in 
 the same office, I'd like to make sure I have offsite backups (via 
 removable/portable HD) 
 and my current backup-to-tape (NovaBackup) is about to be retired because it 
 is brain 
 dead.

If you don't restore often, you can simply swap the disk
holding the archive frequently and let the next run catch
up.  If you always want a current copy on line plus a
recent version off-site, you need a way to do an image
copy of the working disk, either with raid mirroring or
unmounting the archive partition while you copy it with
dd to the external drive. 

-- 
  Les Mikesell
   [EMAIL PROTECTED]




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC is empty after data move

2006-01-29 Thread Craig Barratt
Christophe Faribault writes:

 Our backup server (BackupPC 2.1.0) recently crashed so I setup a new server
 with BackupPC 2.1.2. It has a LVM of 400Gb (2x200Gb) where are stored cpool,
 pc, and pool. The actual install dir is /home/backuppc. I have symb link in
 /home/backuppc/data/ for cpool, pc and pool and backuppc starts fine. I've
 copied all the backuppc config files from the old server (hosts, config.pl,
 client.pl, status.pl, etc.) but backuppc doesn't seem to see any of them
 or something. When I run /home/backuppc/bin/BackupPC_serverMesg status (info
 | jobs | hosts), I see a bunch of stuff for all my clients but the CGI
 interface is completely void of clients or backups. There isn't even a link
 to the main config file in the left menu bar... Only Status, Host Summary,
 Doc, FAQ, SF.
 
 Another anoying thing is that HTTP Auth won't work. I've followed and
 revised the instructions but it just won't ask. I've put this is
 /home/backuppc/conf/apache.conf:

It sounds like you have just one problem: HTTP Auth won't work.
Since you don't appear to be an admin, the CGI interface only
shows limited links and only the hosts for which you are the
user (since it doesn't know who you are, then that means no
hosts).

Try running the printenv CGI script in the FAQ to see if
REMOTE_USER is getting set.

Craig


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems with backup scheduling

2006-01-29 Thread Craig Barratt
Guillaume Rousse writes:

 I expected an unexplained files wipeout yesterday on my server at around 
 0:40. When searching my available backups, I had the unhappy surprise of 
 discovering my backup policy was absolutly not working: I just had a 
 full backup from 4 month ago, and an incremental backup from yesterday.
 
 As this last one was currently updated since 00, I immediatly stopped 
 the update so as to keep it unchanged, but it was removed anyway by a 
 partial update, full of empty files :/
 
 What I don't understand here is why I don't have one full backup from 
 one week maximum, and up to six additional daily incremental backups, as 
 configured with default values:
 $Conf{FullPeriod} = 6.97;
 $Conf{FullKeepCnt} = 1;
 $Conf{FullKeepCntMin} = 1;
 $Conf{FullAgeMax} = 90;
 
 $Conf{IncrPeriod} = 0.97;
 $Conf{IncrKeepCnt} = 6;
 $Conf{IncrKeepCntMin} = 1;
 $Conf{IncrAgeMax} = 30;
 
 There is no available space problem:
 /dev/mapper/vg0-lv0   35189500  21006244  13110760  62% /var/lib/backuppc

These settings should be fine.  What is in the per-PC log files?
It should show each backup and expiry.

Do you have any additional settings in the per-PC config file?

Craig


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/