[root@128 etc]# /opt/sbin/bconsole
Connecting to Director 192.168.3.128:9101
1000 OK: 128-dir Version: 5.0.2 (28 April 2010)
Enter a period to cancel a command.
*label
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: testsd
Enter new Volume name: test 创建一个卷组test
Automatically selected Pool: testpool
Connecting to Storage daemon testsd at 192.168.3.128:9103 ...
Sending label command for Volume "test" Slot 0 ...
3000 OK label. VolBytes=183 DVD=0 Volume="test" Device="testdev" (/mnt)
Catalog record for Volume "test", Slot 0  successfully created.
Requesting to mount testdev ...
3906 File device "testdev" (/mnt) is always mounted.


利用run命令来执行备份操作
[root@128 etc]# /opt/sbin/bconsole
Connecting to Director 192.168.3.128:9101
1000 OK: 128-dir Version: 5.0.2 (28 April 2010)
Enter a period to cancel a command.
*run
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
A job name must be specified.
The defined Job resources are:
     1: client1
     2: client
     3: full
     4: RestoreFiles
Select Job resource (1-4): 3
Run Backup job
JobName:  full
Level:    Full
Client:   testfd
FileSet:  testfs
Pool:     testpool (From Job resource)
Storage:  testsd (From Job resource)
When:     2012-03-25 23:02:21
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=1
查看备份状态*status
Status available for:
     1: Director
     2: Storage
     3: Client
     4: All
Select daemon type for status (1-4): 1
128-dir Version: 5.0.2 (28 April 2010) x86_64-unknown-linux-gnu redhat
Daemon started 25- 32012 22:40, 6 Jobs run since started.
 Heap: heap=360,448 smbytes=105,575 max_bytes=154,505 bufs=273 max_bufs=307

Scheduled Jobs:
Level          Type     Pri  Scheduled          Name               Volume
===================================================================================
Incremental    Backup    10  26- 32012 23:05  client1            *unknown*
Incremental    Backup    10  26- 32012 23:05  client             *unknown*
Incremental    Backup    10  26- 32012 23:05  full               *unknown*
====

Running Jobs:
Console connected at 25- 32012 23:19
 JobId Level   Name                       Status
======================================================================
     7 Differe  client.2012-03-25_23.25.29_13 is running
====

Terminated Jobs:
 JobId  Level    Files      Bytes   Status   Finished        Name
====================================================================
     1  Full          2         0   OK       25- 32012 23:02 full
     2  Full          2         0   OK       25- 32012 23:05 client1
     3  Full          2         0   OK       25- 32012 23:05 client
     4  Diff          0         0   OK       25- 32012 23:05 full
     5  Incr      1,913    14.12 M  OK       25- 32012 23:12 client1
     6  Diff          1         0   OK       25- 32012 23:20 client

====


完全恢复恢复