One, example demo Bacula Full recovery function
1. Full recovery via differential backup
Action steps are as follows:
*status status Available for:1: Director 2:storage 3:client 4:all Select daemon Type For status (1-4): 1 f10-64-build-dir version:3.0.2 (July 2009) X86_64-unknown-linux-gnu Redhat Daemon started 21-
Aug-09 15:01, 1 Job run since started. heap:heap=253,952 smbytes=84,808 max_bytes=85,641 bufs=266 max_bufs=279 scheduled Type
Pri scheduled Name Volume ======================================================================= Incremental backup 21-aug-09 23:05 Client1 Cicro4 incremental Backup 21-aug-09 23:0 5 Client Cicro4 Incremental Backup 21-aug-09 23:05 backupcatalog Cicro4 Running
Jobs:console connected at 21-aug-09 16:32 Console connected at 21-aug-09 16:33 No Jobs running. Terminated jobs:jobid level Files Bytes Status finished Name ==================================================================== 3 77.44 K OK 19-aug-09 16:57 restorefiles 1 0 OK 19-aug-09 16:58 restorefiles 2 38.77 K OK 19 -aug-09 16:59 restorefiles 145.5 M OK 21-aug-09 13:41 Client1
2 3.908 m OK 21-aug-09 14:20 Client1 full 149.4 m OK 21-aug-09 14:32 Client Diff 2 3.908 M ok 21-aug-09 14:34 Client 3 7.817 M OK 21-aug-09 14:35 client 4 11.72 m OK 21-aug-09 14:35 Client Incr 4 11.72 M O K 21-aug-09 15:34 Client1
From the backup status here, the Jobid 69 task is a full backup, while the 3 tasks Jobid 70, 71, 72 are differential backups. The following recovery operation is performed:
* Restore automatically selected Catalog:mycatalog Using Catalog "MyCatalog" the DS that contain the files to be restored. You'll be presented several methods of specifying the Jobids.
Then you are allowed to select which the files from those jobids are to be restored. To select the Jobids, your have the following choices:1: List last jobs run 2:list jobs where a given Fi Le 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 fi Les to restore 8:enter A-list of files to restore before a specified time 9:find the jobids of the most RE Cent backup for a client 10:find the jobids for a backup for a client before a specified time 11:enter a LIS T of directories to restore for found Jobids 12:select fullRestore to a specified Jobid 13:cancel Select item: (1-13): 3 Enter Jobid (s), comma separated, to restore:69, Have selected the following jobids:69,72