I have managed to look back on the old server and the way that I got round it was to run a script that then called restore from bconsole.
Thinking about it, it would never work because the client = in the restore job specifies the client to be restored, not where to. What is needed is a Restore Client = keyword adding to the director. Thanks anyway. Gary On Thursday 22 November 2012 09:46:05 Gary Stainburn wrote: > On Thursday 22 November 2012 08:46:10 Jummo wrote: > > Hi Gary, > > > > Could you post the log information of the particular job? > > Could you post the commands you have used for the restore and the output? > > > > Thanks > > > > -- Jummo > > Jummo > > Here is the bconsole session for the restore. The job log is below. > > Gary > > Connecting to Director 127.0.0.1:9101 > 1000 OK: eddie1-dir Version: 5.2.11 (10 September 2012) > Enter a period to cancel a command. > *restore all client=gary-fd > Using Catalog "MyCatalog" > > First you select one or more JobIds that contain files > to be restored. You will be presented several methods > of specifying the JobIds. Then you will be allowed to > select which files from those JobIds are to be restored. > > To select the JobIds, you have the following choices: > 1: List last 20 Jobs run > 2: List Jobs where a given File is saved > 3: Enter list of comma separated JobIds to select > 4: Enter SQL list command > 5: Select the most recent backup for a client > 6: Select backup for a client before a specified time > 7: Enter a list of files to restore > 8: Enter a list of files to restore before a specified time > 9: Find the JobIds of the most recent backup for a client > 10: Find the JobIds for a backup for a client before a specified time > 11: Enter a list of directories to restore for found JobIds > 12: Select full restore to a specified Job date > 13: Cancel > Select item: (1-13): 5 > Automatically selected FileSet: Linux Full > +--------+-------+----------+---------------+---------------------+-------- >----+ > > | jobid | level | jobfiles | jobbytes | starttime | > > volumename | > +--------+-------+----------+---------------+---------------------+-------- >----+ > > | 24,269 | F | 10,381 | 3,616,495,000 | 2012-11-12 16:06:27 | > > hales5963 | > > | 24,739 | D | 345 | 85,340,881 | 2012-11-20 10:50:07 | > > hales6100 | > > | 24,755 | I | 104 | 78,023,893 | 2012-11-21 10:02:59 | > > hales6112 | > > | 24,876 | I | 264 | 92,547,090 | 2012-11-22 10:11:46 | > > hales6132 | > +--------+-------+----------+---------------+---------------------+-------- >----+ You have selected the following JobIds: 24269,24739,24755,24876 > > Building directory tree for JobId(s) 24269,24739,24755,24876 ... > ++++++++++++++++++++++++++++++++++++++++++d > 8,887 files inserted into the tree and marked for extraction. > > You are now entering file selection mode where you add (mark) and > remove (unmark) files to be restored. No files are initially added, unless > you used the "all" keyword on the command line. > Enter "done" to leave this mode. > > cwd is: / > $ done > Bootstrap records written to /var/spool/bacula/eddie1-dir.restore.1.bsr > > The job will require the following > Volume(s) Storage(s) SD Device(s) > =========================================================================== > > hales5963 lou-hales HalesStorage > hales6100 lou-hales HalesStorage > hales6112 lou-hales HalesStorage > hales6132 lou-hales HalesStorage > > Volumes marked with "*" are online. > > > 10,676 files selected to be restored. > > Run Restore job > JobName: RestoreFiles > Bootstrap: /var/spool/bacula/eddie1-dir.restore.1.bsr > Where: /user/restores > Replace: always > FileSet: Linux Full > Backup Client: gary-fd > Restore Client: gary-fd > Storage: lou-hales > When: 2012-11-22 10:18:43 > Catalog: MyCatalog > Priority: 9 > Plugin Options: *None* > OK to run? (yes/mod/no): mod > Parameters to modify: > 1: Level > 2: Storage > 3: Job > 4: FileSet > 5: Restore Client > 6: When > 7: Priority > 8: Bootstrap > 9: Where > 10: File Relocation > 11: Replace > 12: JobId > 13: Plugin Options > Select parameter to modify (1-13): 5 > The defined Client resources are: > 1: lou-fd > 2: lcomp5-fd > [snip] > 110: lcomp3-fd > Select Client (File daemon) resource (1-110): 1 > Run Restore job > JobName: RestoreFiles > Bootstrap: /var/spool/bacula/eddie1-dir.restore.1.bsr > Where: /user/restores > Replace: always > FileSet: Linux Full > Backup Client: gary-fd > Restore Client: lou-fd > Storage: lou-hales > When: 2012-11-22 10:18:43 > Catalog: MyCatalog > Priority: 9 > Plugin Options: *None* > OK to run? (yes/mod/no): yes > Job queued. JobId=24989 > * > [end of bconsole session] > [start of job log] > 22-Nov 10:41 eddie1-dir JobId 24989: Start Restore Job > RestoreFiles.2012-11-22_10.19.22_06 > 22-Nov 10:41 eddie1-dir JobId 24989: Using Device "HalesStorage" > 22-Nov 10:41 lou-sd JobId 24989: Ready to read from volume "hales5963" on > device "HalesStorage" (/var/bacula/hales). > 22-Nov 10:41 lou-sd JobId 24989: Forward spacing Volume "hales5963" to > file:block 0:206. > 22-Nov 10:44 lou-sd JobId 24989: End of Volume at file 0 on > device "HalesStorage" (/var/bacula/hales), Volume "hales5963" > 22-Nov 10:44 lou-sd JobId 24989: Ready to read from volume "hales6100" on > device "HalesStorage" (/var/bacula/hales). > 22-Nov 10:44 lou-sd JobId 24989: Forward spacing Volume "hales6100" to > file:block 0:3951106471. > 22-Nov 10:44 lou-sd JobId 24989: End of Volume at file 0 on > device "HalesStorage" (/var/bacula/hales), Volume "hales6100" > 22-Nov 10:44 lou-sd JobId 24989: Ready to read from volume "hales6112" on > device "HalesStorage" (/var/bacula/hales). > 22-Nov 10:44 lou-sd JobId 24989: Forward spacing Volume "hales6112" to > file:block 0:89482413. > 22-Nov 10:44 lou-sd JobId 24989: End of Volume at file 0 on > device "HalesStorage" (/var/bacula/hales), Volume "hales6112" > 22-Nov 10:44 lou-sd JobId 24989: Ready to read from volume "hales6132" on > device "HalesStorage" (/var/bacula/hales). > 22-Nov 10:44 lou-sd JobId 24989: Forward spacing Volume "hales6132" to > file:block 0:414184962. > 22-Nov 10:44 eddie1-dir JobId 24989: Bacula eddie1-dir 5.2.11 (10Sep12): > Build OS: x86_64-redhat-linux-gnu redhat Miracle) > JobId: 24989 > Job: RestoreFiles.2012-11-22_10.19.22_06 > Restore Client: lou-fd > Start time: 22-Nov-2012 10:41:43 > End time: 22-Nov-2012 10:44:38 > Files Expected: 10,676 > Files Restored: 10,677 > Bytes Restored: 4,196,970,425 > Rate: 23982.7 KB/s > FD Errors: 0 > FD termination status: OK > SD termination status: OK > Termination: Restore OK > > 22-Nov 10:44 eddie1-dir JobId 24989: Begin pruning Jobs older than 6 months > . 22-Nov 10:44 eddie1-dir JobId 24989: No Jobs found to prune. > 22-Nov 10:44 eddie1-dir JobId 24989: Begin pruning Files. > 22-Nov 10:44 eddie1-dir JobId 24989: No Files found to prune. > 22-Nov 10:44 eddie1-dir JobId 24989: End auto prune. > > [end of job log] -- Gary Stainburn Group I.T. Manager Ringways Garages http://www.ringways.co.uk ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users