BackupPC-users

Re: [BackupPC-users] no cpool info shown on web interface

2008-04-12 18:20:44
Subject: Re: [BackupPC-users] no cpool info shown on web interface
From: Daniel Denson <dandenson AT gmail DOT com>
To: Bernhard Ott <bernhard.ott AT gmx DOT net>
Date: Sat, 12 Apr 2008 16:23:17 -0600
did you change the $TopDIR entry in config.pl?  I have found that the 
mechanism for reporting disk usage requires than $TopDIR be 
/var/lib/backuppc.  its best to mount your target disk onto that 
location.  you can either mount it directly or mount it via bind, which 
is what i do.

cp -Rp /var/lib/backuppc /data/backuppc
mv /var/lib/backuppc /var/lib/backuppc_original
mkdir -p /var/lib/backuppc
chown backuppc:backuppc /var/lib/backuppc

add to fstab
/data/backuppc /var/lib/backuppc none bind 0 0

mount -a

I find that the symlink just doesn't work 100%, but the mount (or mount 
-o bind) works perfectly.


Bernhard Ott wrote:
> Les Mikesell wrote:
>   
>> Bernhard Ott wrote:
>>     
>>> quote_03:
>>>       
>>>> 2008-04-11 01:00:36 Pool nightly clean removed 0 files of size 0.00GB
>>>> 2008-04-11 01:00:36 Pool is 0.00GB, 0 files (0 repeated, 0 max chain, 
>>>> 0 max links), 1 directories
>>>> 2008-04-11 01:00:36 Cpool nightly clean removed 0 files of size 0.00GB
>>>> 2008-04-11 01:00:36 Cpool is 0.00GB, 0 files (0 repeated, 0 max 
>>>> chain, 0 max links), 4369 directories
>>>>         
>>> Once again, the backups are *fine*, restores *do work*, transfer logs 
>>> ok but I really don't like the idea that BackupPC_nightly might not 
>>> work the way it should.
>>> I checked the permissions, docs, archives and ... I'm stuck.
>>>       
>> Have you done anything unusual like moving the archive location after 
>> installation?
>>
>>     
>
> Not AFAIK <g>, I symlinked the whole backuppc directory to the (debian) 
> standard location /var/lib/backuppc.
> No linking errors (there are hardlinks, find /var/lib/backuppc/pc/ 
> -links +500 -printf '%n %k %p\n' gives me lots of files).
> I hope it is correct that only the backuppc-directory must reside on the 
> same file system?
>
> Hmm...maybe I moved the pool after the first test runs, I just can't 
> remember (the path didn't change) ... but if there is something wrong 
> with the pool, shouldn't there be massive linking problems?
>
> Sorry that I repeat that the Host Summary is correct.
> BTW, it's the only server I'm running on the amd64 platform...
>
> Can I run the BackupPC_nightly in debug mode? Any logs that I 
> may/could/should provide?
>
> Bernhard
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> 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/
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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/