[Box Backup] constant scan of local files on server

Chris Wilson boxbackup@fluffy.co.uk
Sat, 26 Apr 2008 00:04:26 +0100 (BST)


Hi Sean,

On Fri, 25 Apr 2008, admin@vancocomputing.net wrote:

> >> It also seems I have the backup client running twice, and I'm not 
> >> sure how that happened.
> >
> > Yes, that is strange. Could you post the output from ps?
> 
> As you mentioned earlier, running a test may not have properly killed it 
> (I now realize I ran the test for the client, not the server), but 
> here's the ps output. I won't kill anything until I hear back from you.
> 
> backup:/etc/init.d# ps aux | grep bb
> root      5996  0.0  0.3   6764  1968 ?        S    12:33   0:00
> ../../bin/bbstored/bbstored testfiles/bbstored.conf
> root      5997  0.0  0.3   6720  1760 ?        S    12:33   0:09
> ../../bin/bbstored/bbstored testfiles/bbstored.conf
> root      6109  0.1  0.6   6800  3264 ?        S    12:34   0:18
> ../../bin/bbackupd/bbackupd testfiles/bbackupd.conf
> root      2628  0.0  0.1   2848   696 pts/0    S+   15:56   0:00 grep bb

You have two server (bbstored) processes running, and just one client 
(bbackupd), since 12:34 today.

bbstored normally starts two processes (listener and housekeeping) so this 
means that it was started just once, and split in two as expected.

You can safely kill all of these. They are only used for unit tests.

> > Which HOWTO did you use? We should probably rewrite the installation 
> > instructions.
> 
> In my opinion, it's a little awkwardly written/arranged and I would have 
> done it quite differently, but it did help:
> 
> http://xkr47.outerspace.dyndns.org/howtos/boxbackup/

Could you tell me what you took from here that you found particularly 
useful, or that wasn't covered by the standard documentation (and 
therefore probably should be)?

> I'm setting up the init.d entries for bbstored now.

You may find the examples in the contrib/ directory useful for this.

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\ _/_/_/_//_/___/ | We are GNU : free your mind & your software |