[Box Backup-dev] Re: [Box Backup] ChrisMerge_1828

Chris Wilson boxbackup-dev@fluffy.co.uk
Tue, 18 Sep 2007 08:24:32 +0100 (BST)


Hi Pete,

> But I can't seem to get the 2nd service to install:
> C:\Program Files\TebucoSafe>bbackupd -i "C:\Program Files\TebucoSafe\bbackupd2.conf"
> ERROR: Failed to create Box Backup service: it already exists
>
> Please let me know what I should do next.

Sorry, I hadn't thought about the services side of things. Give me a few 
days and I'll provide a way to set the service name as well.

> P.S.  The LogAllFileAccess option in bbackupd.conf really helps a lot--thanks for that!

I'm glad, I found it very useful when debugging configurations as well.

> P.P.S.  Some funky options handling on the command line (can't use "-i 
> and -c"; standard windows /? chokes; -h not clear that _can't_ use -c 
> flag with -i, but _may_ specify .conf file; does -r take a .conf file?)

You can always give a config file, although some options ignore it.
-c is optional, but if given, must be immediately followed by the config 
file name (and not -i or any other option).

If -c is not given, the last argument is the config file name. /? is 
simply not implemented, i haven't thought of a good way to give help text 
without writing it all out in the code (maybe xslt the man page source 
into C code?). -r ignores the config file.

> P.P.P.S.  bbackupd on the command line prints only the header info to 
> the cmd window and nothing else, no progress at all.  bbackupd -v prints 
> great info to the cmd window.

Default verbosity level should at least print when the backup starts and 
stops, I'll look into it.

> C:\Program Files\TebucoSafe>bbackupd -c "C:\Program Files\TebucoSafe\bbackupd2.conf" -i
> WARNING: No random device -- additional seeding of random number generator not performed.
> bbackupd: unknown option -- i
> FATAL: Unknown option on command line: 'i'
>
> C:\Program Files\TebucoSafe>bbackupd -i -c "C:\Program Files\TebucoSafe\bbackupd2.conf"
> WARNING: No random device -- additional seeding of random number generator not performed.
> bbackupd: unknown option -- i
> FATAL: Unknown option on command line: 'i'

That's a bug, I'll look into it, thanks.

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