On Friday 22 October 2010 17:44:49 Alan Brown wrote:
> Rory Campbell-Lange wrote:
> > On 22/10/10, Kern Sibbald (kern AT sibbald DOT com) wrote:
> >> On Thursday 21 October 2010 12:32:41 Alan Brown wrote:
> >>> "How do you initialise a second(third/fourth/etc) catalog?"
> >>
> >> Manually change "bacula" to the new database name in the 4-5 scripts
> >> that create, populate, and give permissions for the database, then run
> >> them.
> >
> > Or, as the postgresql superuser, do the following on the psql command
> > line:
> >
> > create database bacula-<name> template bacula owner bacula;
>
> bacula=# create database bacula-imaging template bacula owner bacula;
> ERROR: syntax error at or near "-"
Yes, environment variables cannot have hypens in them, but they can have
underscores.
>
> It worked when I chose another name though.
>
> Thanks for the assistance.
>
> Kern: Perhaps these answers should go in the documentation about using
> catalogs?
Yes, of course, but I am so overloaded these days that if I don't get a patch,
it probably won't get done :-(
Kern
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|