Bacula version 1.36.2, on Debian sarge.

I have some (bacula) clients that are external to the LAN that hosts
the rest of the system. I created an extra "Storage" resource with the
appropriate external host address, and use that one in the Jobs that run
on the external clients. Works fine.

For restores, I created two type=Restore jobs for templates:

    Job {
      Name = "RestoreFiles"
      Type = Restore
      Client=zero-fd
      FileSet="Full Set"
      Storage = File
      Messages = Standard
      Pool = Default
      Where = /tmp/bacula-restores
    }
    
    Job {
      Name = "RestoreFilesext"
      Type = Restore
      Client=zero-fd
      FileSet="Full Set"
      Storage = File-ext
      Messages = Standard
      Pool = Default
      Where = /tmp/bacula-restores
    }

The only differences are the Name and the Storage value.

When I start a restore, I'm prompted for the template to use, and it
selects the one I chose (see JobName), but didn't pick up the correct
value for Storage:

    The defined Restore Job resources are:
         1: RestoreFiles
         2: RestoreFilesext
    Select Restore Job (1-2): 2
    Run Restore job
    JobName:    RestoreFilesext
    Bootstrap:  /var/lib/bacula/restore.bsr
    Where:      /tmp/bacula-restores
    Replace:    always
    FileSet:    Full Set
    Client:     foobar-fd
    Storage:    File
    When:       2005-10-26 15:19:59
    Catalog:    MyCatalog
    Priority:   10
    OK to run? (yes/mod/no): 


Now, obviously I can modify this job to get what I want (and it works
fine), but it would be nice if the template actually worked. Any ideas?

Thanks,
Steve

-- 
"Outlook not so good." That magic 8-ball knows everything! I'll ask
about Exchange Server next.
                           -- (Stolen from the net)


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to