Bacula-users

Re: [Bacula-users] Multiple Catalog Configuration

2013-06-04 02:44:59
Subject: Re: [Bacula-users] Multiple Catalog Configuration
From: Cejka Rudolf <cejkar AT fit.vutbr DOT cz>
To: Mingus Dew <shon.stephens AT gmail DOT com>
Date: Tue, 4 Jun 2013 08:21:32 +0200
Mingus Dew wrote (2013/06/03):
> Does anyone have an example they can share of using mutliple catalogs? I
> have a particular set of NAS backups that has over 500,000,000 file records
> and pretty much need to use a separate catalog to hopefully overcome 3 days
> of table locking while inserting preventing other jobs from completing.

Hello, I just started with more catalogs too ;o) There is bacula-dir.conf
example below. Remember that client1 and client2 can be actually one real
host, not just two different. You can switch between catalogs using use
in bconsole. You just need to know, that these are two completely different
databases and they are both filled with your configuration bacula-dir.conf,
but some things like tapes are not usually directly in configuration, so you
have to distribute or copy tape records between catalogs by hand. At least
I think - I did not find anything better, than to use many delete commands
in one catalog and many add commands in the second catalog (I have moved
some tapes from one catalog to the second.).

Client {
  Name = client1
  ...
  Catalog = cat1
  ...
}

Client {
  Name = client2
  ...
  Catalog = cat2
  ...
}

Catalog {
  Name = cat1
  dbname = db1; user = user; password = pass
}

Catalog {
  Name = cat2
  dbname = db2; user = user; password = pass
}

-- 
Rudolf Cejka <cejkar at fit.vutbr.cz> http://www.fit.vutbr.cz/~cejkar
Brno University of Technology, Faculty of Information Technology
Bozetechova 2, 612 66  Brno, Czech Republic

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>