Monday 12 March 2012

[ CentOS 5 - Bacula ] Run Backup ( Part 5 )

Run Backup

Run backup on bacula server. It is possible to execute backup not only on server but on client.


Step [1] Run Backup
[root@dlp ~]#
bconsole

Connecting to Director 127.0.0.1:9101
1000 OK: dlp-dir Version: 3.0.1 (30 April 2009)
Enter a period to cancel a command.
*
label
   
# need to labeling first

Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: File
Enter new Volume name:
label
# input any name you like

Defined Pools:
    1: Default
    2: Scratch
Select the Pool (1-2):
1

Connecting to Storage daemon File at 192.168.0.20:9103 ...
Sending label command for Volume "label" Slot 0 ...
3000 OK label. VolBytes=64512 DVD=0 Volume="label" Device="FileStorage" (/var/backup/backup)
Catalog record for Volume "label", Slot 0 successfully created.
Requesting to mount FileStorage ...
3001 Device "FileStorage" (/var/backup/backup) is mounted with Volume "label"
*
run

A job name must be specified.
The defined Job resources are:
    1: Client1
    2: BackupCatalog
    3: RestoreFiles
Select Job resource (1-3):
1
# job number

Run Backup
job

JobName:
Client1

Level:
Incremental

Client:
dlp-fd

FileSet:
Full Set

Pool:
Default (From Job resource)

Storage:
File (From Job resource)

When:
2009-05-10 11:26:08

Priority:
10

OK to run? (yes/mod/no):
mod
# change

Parameters to modify:
    1: Level
    2: Storage
    3: Job
    4: FileSet
    5: Client
    6: When
    7: Priority
    8: Pool
    9: Plugin Options
Select parameter to modify (1-9):
1

Levels:
    1: Full
    2: Incremental
    3: Differential
    4: Since
    5: VirtualFull
Select level (1-5):
1

Run Backup
job

JobName:
Client1

Level:
Full

Client:
dlp-fd

FileSet:
Full Set

Pool:
Default (From Job resource)

Storage:
File (From Job resource)

When:
2009-05-10 11:26:08

Priority:
10

OK to run? (yes/mod/no):
yes
# run

Job queued. JobId=1
*
exit
# logout

[root@dlp ~]#
ll /var/backup/backup

-rw-rw---- 1 bacula disk 129072 May 10 10:32 /var/backup/backup