BackupPC-users

Re: [BackupPC-users] Backups seem to work, but don't show up in web

2008-08-09 13:19:49
Subject: Re: [BackupPC-users] Backups seem to work, but don't show up in web
From: Holger Parplies <wbppc AT parplies DOT de>
To: Alan McKay <alan.mckay AT gmail DOT com>
Date: Sat, 9 Aug 2008 19:18:55 +0200
Hi,

Alan McKay wrote on 2008-08-09 12:46:32 -0400 [Re: [BackupPC-users] Backups 
seem to work, but don't show up in web]:
> > is your ls binary having a seriously bad day, or do I really see 101
> > *giga*bytes of compressed XferLOG? I don't think I can recommend looking at
> > that via the web interface ...

let me rephrase that. If your XferLOG.0.z is really 101GB long, there is
either something seriously wrong, you are backing up an insane amount of data,
or your path names are all ridiculously long. I would guess something is very
wrong, so I'd start looking here (though obviously not through the web
interface). BackupPC_zcat is your friend in this case (not google :). This may
or may not be the root of your current problem, but it would appear it *is* a
problem, so you may as well look at it first.

Clear enough not to be ignored?

> > What does 'du -s /d/BACKUPPC/pc/alanpc/0' give you?
> [root@localhost ~]# du -s /d/BACKUPPC/pc/alanpc/0
> 47177952        /d/BACKUPPC/pc/alanpc/0

Fine. That looks as if some data is actually there. Remember that the files
are compressed (aren't they?), and please comment on whether that is a
reasonable size for a successful backup, or if you would expect significantly
more (or less) data.

> > Permission problem (i.e. web server/CGI script not running as backuppc)?
> I have the user set to backuppc and group apache in the apache config file :
> [root@localhost ~]# ps -ef | grep httpd
> root     17753     1  0 07:35 ?        00:00:00 /usr/sbin/httpd
> backuppc 17755 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
> backuppc 17756 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
> backuppc 17757 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
> backuppc 17758 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
> backuppc 17759 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
> backuppc 17760 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
> backuppc 17761 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
> backuppc 17762 17753  0 07:35 ?        00:00:00 /usr/sbin/httpd
> root     18304 13341  0 12:44 pts/1    00:00:00 grep httpd

Looks reasonable. Tip: "ps -fC httpd".

> > Well, I can't see anything wrong in them either. Perhaps you missed 
> > including
> > them?
> 
> The only other thing is the config file put there by the RPM.

That means you don't have BackupPC config files? If you want help, stop making
us guess.

>   The
> 2nd <Directory> tag you see here is one I added to try to fix the
> problem
> 
> [...]
> AuthType Basic
> AuthUserFile /etc/BackupPC/apache.users
> AuthName "BackupPC

Does authentication work, i.e. are you authenticated as a user listed in
/etc/BackupPC/hosts for the host in question? The AuthName directive seems to
be missing a quote, but I'm no apache expert, so I can't tell you if that is a
problem or not.

> <Directory /d/BACKUPPC/>
> order allow,deny
> allow from all
> </Directory>

That one is unnecessary. It's not the web server accessing the pool, it's the
CGI script.

Regards,
Holger

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/