Hi, On 6/14/2007 11:37 AM, Rogier wrote: > Hi bacula users, > > Im setting up a bacula configuration. While testing the restore of one file i > get errors. I looks like a bug to mee but may be i am missing something. > > I've configured 2 Storage devices of the type File
Use different file types for all storage devices that can not share volumes. Like "MainFile" and "HomeFile". Arno > in which I backup 2 > different FIleSets. Backup works fine. The complete restore with the during > the backup generated bootstrap file works also. But when I want to do the > restore of one single file I get errors. It seems bacula is looking for the > Volume in the wrong StorageDevice although I specify the storage. Below the > in and output of bconsole. > > I this a bug or am I doing something wrong? > > I am using bacula version 1.38.3 - 16 from suse 10.1 > > > geetz, > Rogier > > -*-*-*-*-*-*-*-*-*-*-*-*- > ./bconsole > > *restore > > 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: Cancel > Select item: (1-12): 7 > Automatically selected Client: p150-fd > Enter file names with paths, or < to enter a filename > containg a list of file names with paths, and terminate > them with a blank line. > Enter full filename: /home/rogier/Documents/somefile > Enter full filename: > Bootstrap records written > to /var/lib/bacula/working/p150-dir.restore.*Console*.2007-06-14_10.23.51.bsr > > The job will require the following Volumes: > > home1 > > > 1 file selected to be restored. > > Run Restore job > JobName: RestoreHomeFiles > Bootstrap: > /var/lib/bacula/working/p150-dir.restore.*Console*.2007-06-14_10.23.51.bsr > Where: /tmp/bacula-restores > Replace: always > FileSet: FullHomeSet > Client: p150-fd > Storage: File > When: 2007-06-14 10:24:33 > Catalog: MyCatalog > 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: Bootstrap > 9: Where > 10: Replace > 11: JobId > Select parameter to modify (1-11): 2 > The defined Storage resources are: > 1: File > 2: HomeFile > Select Storage resource (1-2): 2 > Run Restore job > JobName: RestoreHomeFiles > Bootstrap: > /var/lib/bacula/working/p150-dir.restore.*Console*.2007-06-14_10.23.51.bsr > Where: /tmp/bacula-restores > Replace: always > FileSet: FullHomeSet > Client: p150-fd > Storage: HomeFile > When: 2007-06-14 10:24:33 > Catalog: MyCatalog > Priority: 10 > OK to run? (yes/mod/no): yes > Job started. JobId=13 > *mess > 14-Jun 10:25 p150-dir: Start Restore Job RestoreHomeFiles.2007-06-14_10.25.35 > 14-Jun 10:25 p150-sd: RestoreHomeFiles.2007-06-14_10.25.35 Fatal error: > acquire.c:195 Open device "FileStorage" (/backup/sys/bacula/FileStorage) > Volume "home1" failed: ERR=de v.c:444 Could not > open: /backup/sys/bacula/FileStorage/home1, ERR=No such file or directory > > 14-Jun 10:25 p150-fd: RestoreHomeFiles.2007-06-14_10.25.35 Fatal error: > job.c:1602 Bad response to Read Data command. Wanted 3000 OK data > , got 3000 error > > 14-Jun 10:25 p150-dir: RestoreHomeFiles.2007-06-14_10.25.35 Error: Bacula > 1.38.3 (04Jan06): 14-Jun-2007 10:25:38 > JobId: 13 > Job: RestoreHomeFiles.2007-06-14_10.25.35 > Client: p150-fd > Start time: 14-Jun-2007 10:25:37 > End time: 14-Jun-2007 10:25:38 > Files Expected: 1 > Files Restored: 0 > Bytes Restored: 0 > Rate: 0.0 KB/s > FD Errors: 0 > FD termination status: Error > SD termination status: Error > Termination: *** Restore Error *** > > 14-Jun 10:25 p150-dir: Begin pruning Jobs. > 14-Jun 10:25 p150-dir: No Jobs found to prune. > 14-Jun 10:25 p150-dir: Begin pruning Files. > 14-Jun 10:25 p150-dir: No Files found to prune. > 14-Jun 10:25 p150-dir: End auto prune. > > *show storage > Storage: name=File address=p150.teslanet.tesla.demon.nl SDport=9103 MaxJobs=1 > DeviceName=FileStorage MediaType=File StorageId=1 > Storage: name=HomeFile address=p150.teslanet.tesla.demon.nl SDport=9103 > MaxJobs=1 > DeviceName=HomeFileStorage MediaType=File StorageId=2 > * > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users