Kern Sibbald schrieb:
> 1. You might want to use two different databases, one for regular backups and
> one for archives. This will clearly separate your archive data from your
> regular data.
Basically this working now. But I'm a bit confused about the handling
of pools and the assigned volumes with a second catalog.
These are the pools/volumes I created before I added a second catalog.
*list pools
+--------+--------------+---------+---------+----------+-------------+
| poolid | name | numvols | maxvols | pooltype | labelformat |
+--------+--------------+---------+---------+----------+-------------+
| 2 | CleaningPool | 0 | 0 | Backup | * |
| 3 | Archiv | 0 | 0 | Backup | * |
| 4 | Full | 0 | 0 | Backup | * |
| 5 | Differential | 0 | 0 | Backup | * |
| 6 | Incremental | 0 | 0 | Backup | * |
| 7 | Scratch | 0 | 0 | Backup | * |
+--------+--------------+---------+---------+----------+-------------+
Pool: Archiv
+---------+------------+-----------+---------+
| mediaid | volumename | volstatus | enabled |
+---------+------------+-----------+---------+ ...snip...
| 17 | 06D143L3 | Append | 1 |
+---------+------------+-----------+---------+
Now with the second catalog I see the same pools if I switch to the new catalog
ArchiveCatalog in bconsole with 'use'.
*use
The defined Catalog resources are:
1: MyCatalog
2: ArchiveCatalog
Select Catalog resource (1-2): 2
Using Catalog "ArchiveCatalog"
Using Catalog name=ArchiveCatalog DB=bacula_archive
*list pools
+--------+--------------+---------+---------+----------+-------------+
| poolid | name | numvols | maxvols | pooltype | labelformat |
+--------+--------------+---------+---------+----------+-------------+
| 1 | Default | 0 | 0 | Backup | * |
| 2 | CleaningPool | 0 | 0 | Backup | * |
| 3 | Archiv | 0 | 0 | Backup | * |
| 4 | Full | 0 | 0 | Backup | * |
| 5 | Differential | 0 | 0 | Backup | * |
| 6 | Incremental | 0 | 0 | Backup | * |
| 7 | Scratch | 0 | 0 | Backup | * |
+--------+--------------+---------+---------+----------+-------------+
That's fine, but the pools are all empty.
*list volumes
Pool: Default
No results to list.
Pool: CleaningPool
No results to list.
Pool: Full
No results to list.
Pool: Differential
No results to list.
Pool: Incremental
No results to list.
Pool: Scratch
No results to list.
Pool: Archiv
No results to list.
Therefor the archive job was complaining that there is no volume in the Archiv
pool.
21-Feb 09:55 VU0EM005: Job VU0EM003_Archiv.2007-02-21_09.53.40 waiting. Cannot
find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "LTO3" (/dev/nst0)
Media type: LTO3
Pool: Archiv
To solve this, I deleted the Archiv pool in MyCatalog, relabled the tape and
added it to the Archiv pool of the ArchiveCatalog. In addition I deleted the
Full, Default, Differential, Incremental pools in ArchiveCatalog.
It is a bit confusing that the pools exist in both catalogs, but not the
volumes. What about the scratch pool, is there a way to share the volumes
between the catalogs/pools?
Ralf
-------------------------------------------------------------------------
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