Questions for anyone who's currently using secondary catalogs:
I may be making this harder than it needs to be, but I need some
guidance
on just how the second catalog gets used.
I've succeeded in creating the second db and I've added a second
Catalog
entry in the director config file. I can then execute the "use" command
to
switch catalogs :
athos:sysdavis >bconsole
Connecting to Director athos.ruckus.com:9101
1000 OK: athos-dir Version: 1.39.22 (08 Septermber 2006)
Enter a period to cancel a command.
*use
The defined Catalog resources are:
1: MyCatalog
2: ArchiveCatalog
Select Catalog resource (1-2): 2
Using Catalog name=ArchiveCatalog DB=bacula_arc
So far, so good. Now I'm stuck because I don't know what operations
can/will use the new catalog and what won't.
Queries and list commands do use it, but trying to create a Pool in the
new catalog, for instance, doesn't work.
Running a job prompts for the catalog to use, but doesn't use it - all
the
data goes into the default MyCatalog. I've tried creating a second
client
entry that specifies the ArchiveCatalog but that doesn't seem to make a
difference either :
athos:sysdavis >bconsole
Connecting to Director athos.ruckus.com:9101
1000 OK: athos-dir Version: 1.39.22 (08 Septermber 2006)
Enter a period to cancel a command.
*run
The defined Catalog resources are:
1: MyCatalog
2: ArchiveCatalog
Select Catalog resource (1-2): 2
A job name must be specified.
The defined Job resources are:
1: TestBackup
...
Select Job resource (1-8): 1
Run Backup job
JobName: TestBackup
FileSet: TestFileSet1
Level: Full
Client: athos-fd
Storage: TL800
Pool: Default
When: 2007-02-21 12:08:38
Priority: 10
OK to run? (yes/mod/no): mod
Parameters to modify:
1: Level
2: Storage
3: Job
4: FileSet
5: Client
6: When
7: Priority
8: Pool
Select parameter to modify (1-8): 5
The defined Client resources are:
1: athos-fd
2: athos-archive
...
Select Client (File daemon) resource (1-8): 2
Run Backup job
JobName: TestBackup
FileSet: TestFileSet1
Level: Full
Client: athos-archive
Storage: TL800
Pool: Default
When: 2007-02-21 12:08:38
Priority: 10
OK to run? (yes/mod/no): yes
Job started. JobId=145
*
21-Feb 12:08 athos-dir: Start Backup JobId 145, Job=TestBackup.2007-02-
21_12.08.49
21-Feb 12:09 athos-sd: Job write elapsed time = 00:00:11, Transfer rate
=
8.175 M bytes/second
21-Feb 12:09 athos-dir: Bacula 1.39.22 (09Sep06): 21-Feb-2007 12:09:06
JobId: 145
Job: TestBackup.2007-02-21_12.08.49
Backup Level: Full
Client: "athos-archive"
i386-pc-solaris2.10,solaris,5.10
FileSet: "TestFileSet1" 2007-02-20 23:17:25
Pool: "Default" (From Job resource)
Storage: "TL800" (From Job resource)
Scheduled time: 21-Feb-2007 12:08:38
Start time: 21-Feb-2007 12:08:51
End time: 21-Feb-2007 12:09:06
Elapsed time: 15 secs
Priority: 10
FD Files Written: 1,016
SD Files Written: 1,016
FD Bytes Written: 89,792,492 (89.79 MB)
SD Bytes Written: 89,931,920 (89.93 MB)
Rate: 5986.2 KB/s
Software Compression: None
Volume name(s): EJB065
Volume Session Id: 25
Volume Session Time: 1170268398
Last Volume Bytes: 24,351,344,640 (24.35 GB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK
21-Feb 12:09 athos-dir: Begin pruning Jobs.
21-Feb 12:09 athos-dir: No Jobs found to prune.
21-Feb 12:09 athos-dir: Begin pruning Files.
21-Feb 12:09 athos-dir: No Files found to prune.
21-Feb 12:09 athos-dir: End auto prune.
What am I missing that makes the second catalog useful?
Do I need to stop the director and restart it using the second catalog
and
create pools there and populate them with volumes first?
Are there commands or command options that I'm missing that direct
operations to use the catalog other than "use"?
Thanks
>
> ----
> Alan Davis
> Senior Architect
> Ruckus Network, Inc.
> 703.464.6578 (o)
> 410.365.7175 (m)
> [EMAIL PROTECTED]
> alancdavis AIM
>
> > -----Original Message-----
> > From: Jason King [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 20, 2007 3:06 PM
> > To: Alan Davis
> > Cc: [email protected]
> > Subject: Re: [Bacula-users] Info on setting up a second catalog?
> >
> > For starters, you can adjust the scripts to rename the database to
> > anything you wish. Just vi the scripts, search for the name of the
> > database "bacula", then replace those names where it appears to be
> > creating a database...should only be one place though.
> >
> > Jason
> >
> > Alan Davis wrote:
> > >
> > > I've seen a number of comments on the list about using a second
DB,
> > > usually mentioned as a second catalog, for particular purposes.
> > >
> > > I've looked through both the User's manual and Developer's manual
> > > looking for instructions on how to do this but I haven't found
> > > anything other than the mention that it's possible.
> > >
> > > The db create scripts hard-code the db name so they aren't much
help
> > > without modifying them.
> > >
> > > Is there a write-up anywhere on how to configure a second catalog
that
> > > would be written with the non-db-savvy admin in mind?
> > >
> > > Thanks
> > >
> > > ----
> > >
> > > Alan Davis
> > >
> > > Senior Architect
> > >
> > > Ruckus Network, Inc.
> > >
> > > 703.464.6578 (o)
> > >
> > > 410.365.7175 (m)
> > >
> > > [EMAIL PROTECTED]
> > >
> > > alancdavis AIM
> > >
> > >
----------------------------------------------------------------------
> --
> > >
> > >
----------------------------------------------------------------------
> --
> > -
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> share
> > your
> > > opinions on IT & business topics through brief surveys-and earn
cash
> > >
> >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
> > >
----------------------------------------------------------------------
> --
> > >
> > > _______________________________________________
> > > Bacula-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/bacula-users
> > >
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users