./bconsole Connecting to Director Zen:9101 1000 OK: Zen-dir Version: 1.38.11 (28 June 2006) Enter a period to cancel a command. *show *run Using default Catalog name=MyCatalog DB=bacula A job name must be specified. The defined Job resources are: 1: BackupCatalog 2: RestoreFiles 3: Zen 4: Groundworks Select Job resource (1-4): 3 Run Backup job JobName: Zen FileSet: Full Set Level: Incremental Client: Zen-fd Storage: File Pool: Default When: 2006-08-08 16:42:59 Priority: 10 OK to run? (yes/mod/no): yes Job started. JobId=2 *label Automatically selected Storage: File Enter new Volume name: mynew Defined Pools: 1: Default 2: Monday 3: Tuesday 4: Wednesday 5: Thursday 6: Friday 7: Weekly 8: Monthly Select the Pool (1-8): 1 Connecting to Storage daemon File at Zen.emergen.biz:9103 ... Sending label command for Volume "mynew" Slot 0 ... 3000 OK label. Volume=mynew Device="FileStorage" (/tmp) Catalog record for Volume "mynew", Slot 0 successfully created. Requesting to mount FileStorage ... 3001 OK mount. Device="FileStorage" (/tmp) You have messages. *messages 08-Aug 16:43 Zen-dir: No prior Full backup Job record found. 08-Aug 16:43 Zen-dir: No prior or suitable Full backup found. Doing FULL backup. 08-Aug 16:43 Zen-dir: Start Backup JobId 2, Job=Zen.2006-08-08_16.43.02 08-Aug 16:43 Zen-sd: Zen.2006-08-08_16.43.02 Warning: Volume "new" not on device "FileStorage" (/tmp). 08-Aug 16:43 Zen-sd: Marking Volume "new" in Error in Catalog. 08-Aug 16:43 Zen-sd: Job Zen.2006-08-08_16.43.02 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "FileStorage" (/tmp) Media type: File Pool: Default 08-Aug 16:43 Zen-sd: Wrote label to prelabeled Volume "mynew" on device "FileStorage" (/tmp) 08-Aug 16:43 Zen-dir: Zen.2006-08-08_16.43.02 Error: Could not open WriteBootstrap file: /usr/local/bacula/working/Zen.bsr: ERR=No such file or directory 08-Aug 16:43 Zen-dir: Zen.2006-08-08_16.43.02 Error: Bacula 1.38.11 (28Jun06): 08-Aug-2006 16:43:15 JobId: 2 Job: Zen.2006-08-08_16.43.02 Backup Level: Full (upgraded from Incremental) Client: "Zen-fd" x86_64-unknown-linux-gnu,suse,9 FileSet: "Full Set" 2006-08-08 16:32:19 Pool: "Default" Storage: "File" Scheduled time: 08-Aug-2006 16:42:59 Start time: 08-Aug-2006 16:43:05 End time: 08-Aug-2006 16:43:15 Elapsed time: 10 secs Priority: 10 FD Files Written: 5 SD Files Written: 5 FD Bytes Written: 3,757,668 (3.757 MB) SD Bytes Written: 3,758,204 (3.758 MB) Rate: 375.8 KB/s Software Compression: 28.4 % Volume name(s): mynew Volume Session Id: 1 Volume Session Time: 1155037322 Last Volume Bytes: 3,761,727 (3.761 MB) Non-fatal FD errors: 1 SD Errors: 0 FD termination status: OK SD termination status: OK Termination: *** Backup Error *** 08-Aug 16:43 Zen-dir: Begin pruning Jobs. 08-Aug 16:43 Zen-dir: No Jobs found to prune. 08-Aug 16:43 Zen-dir: Begin pruning Files. 08-Aug 16:43 Zen-dir: No Files found to prune. 08-Aug 16:43 Zen-dir: End auto prune. restoration restore all 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): 5 Automatically selected Client: Zen-fd Automatically selected FileSet: Full Set +-------+-------+----------+----------+---------------------+------------+-----------+ | JobId | Level | JobFiles | JobBytes | StartTime | VolumeName | StartFile | +-------+-------+----------+----------+---------------------+------------+-----------+ | 2 | F | 5 | 3757668 | 2006-08-08 16:43:05 | mynew | 0 | +-------+-------+----------+----------+---------------------+------------+-----------+ You have selected the following JobId: 2 Building directory tree for JobId 2 ... 1 Job, 3 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 /usr/local/bacula/var/bacula/working/Zen-dir.1.restore.bsr The job will require the following Volumes: mynew 5 files selected to be restored. Run Restore job JobName: RestoreFiles Bootstrap: /usr/local/bacula/var/bacula/working/Zen-dir.1.restore.bsr Where: /tmp/bacula-restores Replace: always FileSet: Full Set Client: Zen-fd Storage: File When: 2006-08-08 17:00:32 Catalog: MyCatalog Priority: 10 OK to run? (yes/mod/no): yes Job started. JobId=3 *messages 08-Aug 17:00 Zen-dir: Start Restore Job RestoreFiles.2006-08-08_17.00.44 08-Aug 17:00 Zen-sd: Ready to read from volume "mynew" on device "FileStorage" (/tmp). 08-Aug 17:00 Zen-sd: End of file 0 on device "FileStorage" (/tmp), Volume "mynew" 08-Aug 17:00 Zen-sd: End of Volume at file 0 on device "FileStorage" (/tmp), Volume "mynew" 08-Aug 17:00 Zen-sd: End of all volumes. 08-Aug 17:00 Zen-dir: Bacula 1.38.11 (28Jun06): 08-Aug-2006 17:00:47 JobId: 3 Job: RestoreFiles.2006-08-08_17.00.44 Client: Zen-fd Start time: 08-Aug-2006 17:00:46 End time: 08-Aug-2006 17:00:47 Files Expected: 5 Files Restored: 5 Bytes Restored: 5,245,654 Rate: 5245.7 KB/s FD Errors: 0 FD termination status: OK SD termination status: OK Termination: Restore OK 08-Aug 17:00 Zen-dir: Begin pruning Jobs. 08-Aug 17:00 Zen-dir: No Jobs found to prune. 08-Aug 17:00 Zen-dir: Begin pruning Files. 08-Aug 17:00 Zen-dir: No Files found to prune. 08-Aug 17:00 Zen-dir: End auto prune. restore all 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): 5 Automatically selected Client: Zen-fd Automatically selected FileSet: Full Set +-------+-------+----------+----------+---------------------+------------+-----------+ | JobId | Level | JobFiles | JobBytes | StartTime | VolumeName | StartFile | +-------+-------+----------+----------+---------------------+------------+-----------+ | 2 | F | 5 | 3757668 | 2006-08-08 16:43:05 | mynew | 0 | +-------+-------+----------+----------+---------------------+------------+-----------+ You have selected the following JobId: 2 Building directory tree for JobId 2 ... 1 Job, 3 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 /usr/local/bacula/var/bacula/working/Zen-dir.1.restore.bsr The job will require the following Volumes: mynew 5 files selected to be restored. Run Restore job JobName: RestoreFiles Bootstrap: /usr/local/bacula/var/bacula/working/Zen-dir.1.restore.bsr Where: /tmp/bacula-restores Replace: always FileSet: Full Set Client: Zen-fd Storage: File When: 2006-08-08 17:00:32 Catalog: MyCatalog Priority: 10 OK to run? (yes/mod/no): yes Job started. JobId=3 *messages 08-Aug 17:00 Zen-dir: Start Restore Job RestoreFiles.2006-08-08_17.00.44 08-Aug 17:00 Zen-sd: Ready to read from volume "mynew" on device "FileStorage" (/tmp). 08-Aug 17:00 Zen-sd: End of file 0 on device "FileStorage" (/tmp), Volume "mynew" 08-Aug 17:00 Zen-sd: End of Volume at file 0 on device "FileStorage" (/tmp), Volume "mynew" 08-Aug 17:00 Zen-sd: End of all volumes. 08-Aug 17:00 Zen-dir: Bacula 1.38.11 (28Jun06): 08-Aug-2006 17:00:47 JobId: 3 Job: RestoreFiles.2006-08-08_17.00.44 Client: Zen-fd Start time: 08-Aug-2006 17:00:46 End time: 08-Aug-2006 17:00:47 Files Expected: 5 Files Restored: 5 Bytes Restored: 5,245,654 Rate: 5245.7 KB/s FD Errors: 0 FD termination status: OK SD termination status: OK Termination: Restore OK 08-Aug 17:00 Zen-dir: Begin pruning Jobs. 08-Aug 17:00 Zen-dir: No Jobs found to prune. 08-Aug 17:00 Zen-dir: Begin pruning Files. 08-Aug 17:00 Zen-dir: No Files found to prune. 08-Aug 17:00 Zen-dir: End auto prune.