Bacula-users

Re: [Bacula-users] Multiple catalogs - initialisation?

2010-10-22 11:47:16
Subject: Re: [Bacula-users] Multiple catalogs - initialisation?
From: Alan Brown <ajb2 AT mssl.ucl.ac DOT uk>
To: Rory Campbell-Lange <rory AT campbell-lange DOT net>
Date: Fri, 22 Oct 2010 16:44:49 +0100
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 "-"

It worked when I chose another name though.

Thanks for the assistance.

Kern: Perhaps these answers should go in the documentation about using 
catalogs?




------------------------------------------------------------------------------
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