Here is the snippet from bconsole. *restore Automatically selected Catalog: MyCatalog 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 JobId 13: Cancel Select item: (1-13): 5 Defined Clients: 1: mistral-fd 2: glyn-laptop-fd 3: Colyn-Acer-W7-fd 4: typhoon-fd 5: Typhoon-fd Select the Client (1-5): 2 The defined FileSet resources are: 1: Catalog 2: Glyn Set Select FileSet resource (1-2): 2 +-------+-------+----------+----------------+---------------------+----------------+ | JobId | Level | JobFiles | JobBytes | StartTime | VolumeName | +-------+-------+----------+----------------+---------------------+----------------+ | 804 | F | 22,911 | 19,913,681,686 | 2010-02-08 11:09:05 | hdda-full-0038 | | 811 | I | 70 | 2,822,957 | 2010-02-09 09:05:03 | hdda-incr-0036 | | 818 | I | 63 | 2,766,104 | 2010-02-10 09:05:03 | hdda-incr-0036 | | 825 | I | 60 | 3,054,326 | 2010-02-11 09:05:02 | hdda-incr-0037 | | 839 | I | 67 | 2,906,662 | 2010-02-12 09:05:02 | hdda-incr-0037 | +-------+-------+----------+----------------+---------------------+----------------+ You have selected the following JobIds: 804,811,818,825,839 Building directory tree for JobId(s) 804,811,818,825,839 ... ++++++++++++++++++++++++++++++++++++++++++++ 20,351 files inserted into the tree. 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: / $ cd c:/users/glyn/"My Documents" cwd is: c:/users/glyn/My Documents/ $ add glunsig.txt No files marked. $ add glynsig.txt 1 file marked. $ done Bootstrap records written to /var/lib/bacula/bin/working/mistral-dir.restore.9.bsr The job will require the following Volume(s) Storage(s) SD Device(s) =========================================================================== hdda-full-0038 HDDA usb-drive-a Volumes marked with "*" are online. 1 file selected to be restored. Run Restore job JobName: RestoreFiles Bootstrap: /var/lib/bacula/bin/working/mistral-dir.restore.9.bsr Where: /bacula-restores Replace: always FileSet: Sugar Set Backup Client: glyn-laptop-fd Restore Client: glyn-laptop-fd Storage: HDDA When: 2010-02-12 12:38:22 Catalog: MyCatalog Priority: 10 Plugin Options: *None* OK to run? (yes/mod/no): Job queued. JobId=842 * 12-Feb 12:41 mistral-dir JobId 842: Start Restore Job RestoreFiles.2010-02-12_12.41.14_49 12-Feb 12:41 mistral-dir JobId 842: Using Device "usb-drive-a" 12-Feb 12:41 mistral-sd JobId 842: Ready to read from volume "hdda-full-0038" on device "usb-drive-a" (/mnt/bupa/bup). 12-Feb 12:41 mistral-sd JobId 842: Forward spacing Volume "hdda-full-0038" to file:block 2:2409361375. 12-Feb 12:41 mistral-dir JobId 842: Bacula mistral-dir 3.0.2 (18Jul09): 12-Feb-2010 12:41:38 Build OS: i686-pc-linux-gnu ubuntu 9.04 JobId: 842 Job: RestoreFiles.2010-02-12_12.41.14_49 Restore Client: glyn-laptop-fd Start time: 12-Feb-2010 12:41:16 End time: 12-Feb-2010 12:41:38 Files Expected: 1 Files Restored: 1 Bytes Restored: 461 Rate: 0.0 KB/s FD Errors: 0 FD termination status: OK SD termination status: OK Termination: Restore OK 12-Feb 12:41 mistral-dir JobId 842: Begin pruning Jobs. 12-Feb 12:41 mistral-dir JobId 842: No Jobs found to prune. 12-Feb 12:41 mistral-dir JobId 842: Begin pruning Files. 12-Feb 12:41 mistral-dir JobId 842: Pruned Files from 1 Jobs for client glyn-laptop-fd from catalog. 12-Feb 12:41 mistral-dir JobId 842: End auto prune. +---------------------------------------------------------------------- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +---------------------------------------------------------------------- ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users