If you are using multiple disk devices or storage daemons, on Bacula versions
prior o 1.39.x you will need to give each one a unique MediaType so that
Bacula can figure out what storage daemon/device to use for restores.
See the manual (MediaType) for more details.
On Friday 17 November 2006 22:42, Mark Hazen wrote:
> Greetings fellow Baculites:
>
> We're reconfiguring our bacula services. We back up several machines to
> disk, and this time around to limit the size of the backups of a couple
> of hosts by splitting into multiple catalogs to give each of these
> servers their own databases (one, for example, is a mail server that
> averages about 45GB spread over 550,000 files).
>
> We also have machines which have smaller backups that have been grouped
> into catalogs all their own, such as one for our desktops. We also have
> a separate catalog for the catalog backups.
>
> Each client (or group) has its own device, storage, pool and volumes.
> I've been naming things in a format such as 'storage.name' and
> 'pool.name' to help reduce confusion and make it easier to spot config
> mistakes.
>
> Backups are working, but I'm having trouble restoring files. It appears
> that bacula is attempting to restore files from the catalog I created to
> backup catalogs on our new config (which isn't being used yet, actually).
>
> I've verified my steps in the console a dozen times, to no avail. I do a
> "use" to change the catalog to catalogs.desktop, type "restore", choose
> "select the most recent backup for a client", pick the client, mark
> files, then modify the job to look like this:
>
> JobName: RestoreFiles
> Bootstrap: /var/bacula/dir.bigdawg.5.restore.bsr
> Where: C:/restore/
> Replace: always
> FileSet: fileset.desktop.xpsp2
> Client: caughran
> Storage: storage.desktop
> When: 2006-11-17 15:58:28
> Catalog: catalog.desktop
> Priority: 10
>
> But still, I am receiving an error message saying the following:
>
> =-BEGIN-=
> 17-Nov 15:55 dir.bigdawg: Start Restore Job RestoreFiles.2006-11-17_15.55.21
> *
> 17-Nov 15:55 storage.bigdawg: RestoreFiles.2006-11-17_15.55.21 Fatal
> error: acquire.c:109 Read open device "device.catalogs"
> (/home3/bacula/pools/catalogs) Volume "desktop.01" failed: ERR=dev.c:450
> Could not open: /home3/bacula/pools/catalogs/desktop.01, ERR=No such
> file or directory
> =-END-=
>
> Now it should be noted that this isn't the path that bacula should be
> looking for volumes. The volumes for "catalog.catalogs" (the catalog for
> backups of the catalogs) are under /home3/bacula/pools/catalogs, and
> desktops are under /home3/bacula/pools/desktop. We don't have the path
> listed above anywhere in our configs at all.
>
> Here's the relevant config sections (because of the size of our configs,
> we split out the groups into their own config files and use @includes,
> I've just put them together here for your sanity, and left out the
> nonrelevant sections). The client in this case is a WinXP machine (VSS
> enabled).
>
> [[bacula-dir.conf]]
>
> Client {
> Name = ourclient
> Address = the.client.fqdn
> Catalog = catalog.desktop
> Password = "xxxxxxxx"
> }
>
> Job {
> Name = job.ourclient
> Client = ourclient
> JobDefs = jobdef.desktop.xpsp2
> }
>
> JobDefs {
> Name = jobdef.desktop.xpsp2
> Type = Backup
> Level = Full
> FileSet = fileset.desktop.xpsp2
> Schedule = schedule.desktop
> Storage = storage.desktop
> Messages = standard
> Pool = pool.desktop
> Priority = 10
> Enabled = yes
> }
>
> Storage {
> Name = storage.desktop
> Address = our.server.fqdn
> SDPort = 9103
> Password = "xxxxxxxxxxx"
> Device = device.desktop
> Media Type = File
> }
>
> Pool {
> Name = pool.desktop
> Pool Type = Backup
> Recycle = yes
> AutoPrune = yes
> Volume Retention = 13 days
> Accept Any Volume = yes
> Maximum Volumes = 14
> Volume Use Duration = 23 hours # yes I know this could be bad, but
> # this is a disk-only server config
> }
>
> # {{ fileset not included for reasons of space }}
>
> [[bacula-sd.conf]]
>
> Device {
> Name = device.desktop
> Media Type = File
> Archive Device = /home3/bacula/pools/desktop
> LabelMedia = yes
> Random Access = yes
> AutomaticMount = yes
> RemovableMedia = no
> AlwaysOpen = no
> }
>
>
> When I list the volumes and pools (and anything, really), everything
> looks the way I would expect it to. Could someone kindly take a look at
> the above and let me know if I'm missing something here?
>
> Thanks in advance (and thank you, Kern, for Bacula. We're thankful for
> it, and wouldn't use a different solution if someone paid us to).
>
> -mh.
> --
> Mark Hazen
> Systems Support
> The University of Georgia
>
> -------------------------------------------------------------------------
> 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
>
-------------------------------------------------------------------------
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