*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: Select full restore to a specified Job date
13: Cancel
Select item: (1-13): 3
Enter JobId(s), comma separated, to restore: 12510
You have selected the following JobId: 12510
Building directory tree for JobId(s) 12510 ...
1 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: /
$ mark *
1 file marked.
$ done
Bootstrap records written to /etc/bacula/BS01-DIR1.restore.4.bsr
The job will require the following
Volume(s) Storage(s) SD Device(s)
===========================================================================
mail-0386 Storage_bluewhale File_bluewhale
Volumes marked with "*" are online.
1 file selected to be restored.
The defined Restore Job resources are:
1: Restore_os_asterisk
2: Restore_os_besc-4dvapp
3: Restore_db_besc-bs01
4: Restore_os_besc-bs01
5: Restore_os_besc-unixmgr01
6: Restore_mail_bluewhale
7: Restore_os_demo
8: Restore_app_demo
9: Restore_os_dev
10: Restore_app_dev
11: Restore_os_mako
12: Restore_app_mako
Select Restore Job (1-12): 6
Defined Clients:
1: asterisk
2: besc-4dvapp
3: besc-bs01
4: besc-unixmgr01
5: bluewhale
6: demo
7: dev
8: mako
9: qa
10: qa2
11: smart
Select the Client (1-11): 5
Run Restore job
JobName: Restore_mail_bluewhale
Bootstrap: /etc/bacula/BS01-DIR1.restore.4.bsr
Where: *None*
Replace: always
FileSet: Full_mail_bluewhale
Backup Client: bluewhale
Restore Client: bluewhale
Storage: Storage_bluewhale
When: 2014-09-08 13:22:56
Catalog: BS01-Catalog
Priority: 10
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: asterisk
2: besc-4dvapp
3: besc-bs01
4: besc-unixmgr01
5: bluewhale
6: demo
7: dev
8: mako
Select Client (File daemon) resource (1-8): 3
Run Restore job
JobName: Restore_mail_bluewhale
Bootstrap: /etc/bacula/BS01-DIR1.restore.4.bsr
Where: *None*
Replace: always
FileSet: Full_mail_bluewhale
Backup Client: bluewhale
Restore Client: besc-bs01
Storage: Storage_bluewhale
When: 2014-09-08 13:22:56
Catalog: BS01-Catalog
Priority: 10
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): 9
Please enter path prefix for restore (/ for none): /nas/users/admin/backups
Run Restore job
JobName: Restore_mail_bluewhale
Bootstrap: /etc/bacula/BS01-DIR1.restore.4.bsr
Where: /nas/users/admin/backups
Replace: always
FileSet: Full_mail_bluewhale
Backup Client: bluewhale
Restore Client: besc-bs01
Storage: Storage_bluewhale
When: 2014-09-08 13:22:56
Catalog: BS01-Catalog
Priority: 10
Plugin Options: *None*
OK to run? (yes/mod/no): yes
Job queued. JobId=12899
*