Take Backup of remote machine- Part 3


In previous two post we have seen how to setup bacula backup server and client agent. Now it’s time to take the backup of remote linux machine from Bacula Director server.

[root@mgmtsrv ~]# bconsole
Connecting to Director mgmtsrv.lguru.local:9101
1000 OK: bacula-dir Version: 5.0.0 (26 January 2010)
Enter a period to cancel a command.
*label
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: File
Enter new Volume name: Vol-20170913
Defined Pools:
1: Default
2: File
3: Scratch
Select the Pool (1-3): 2
Connecting to Storage daemon File at mgmtsrv.lguru.local:9103 ...
Sending label command for Volume "Vol-20170913" Slot 0 ...
3000 OK label. VolBytes=208 DVD=0 Volume="Vol-20170913" Device="FileStorage" (/tmp)
Catalog record for Volume "Vol-20170913", Slot 0 successfully created.
Requesting to mount FileStorage ...
3906 File device "FileStorage" (/tmp) is always mounted.
*run
A job name must be specified.
The defined Job resources are:
1: BackupClient1
2: BackupCatalog
3: RestoreFiles
Select Job resource (1-3): 1
Run Backup job
JobName: BackupClient1
Level: Incremental
Client: bacula-fd
FileSet: Full Set
Pool: File (From Job resource)
Storage: File (From Job resource)
When: 2017-09-13 03:29:48
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=1
*
13-Sep 03:29 bacula-dir JobId 1: Start Backup JobId 1, Job=BackupClient1.2017-09-13_03.29.51_05
13-Sep 03:29 bacula-dir JobId 1: Using Device "FileStorage"
13-Sep 03:19 bacula-fd JobId 1: Warning: DIR and FD clocks differ by -601 seconds, FD automatically compensating.
13-Sep 03:29 bacula-sd JobId 1: Volume "Client-20170917" previously written, moving to end of data.
13-Sep 03:29 bacula-sd JobId 1: Ready to append to end of Volume "Vol-20170913" size=692
13-Sep 03:29 bacula-sd JobId 1: Job write elapsed time = 00:00:01, Transfer rate = 1.247 K Bytes/second
13-Sep 03:29 bacula-dir JobId 1: Bacula bacula-dir 5.0.0 (26Jan10): 13-Sep-2017 03:29:53
Build OS: x86_64-redhat-linux-gnu redhat
JobId: 1
Job: BackupClient1.2017-09-13_03.29.51_05
Backup Level: Incremental, since=2017-09-13 03:25:16
Client: "bacula-fd" 5.0.0 (26Jan10) x86_64-redhat-linux-gnu,redhat,
FileSet: "Full Set" 2017-09-13 03:25:13
Pool: "File" (From Job resource)
Catalog: "MyCatalog" (From Client resource)
Storage: "File" (From Job resource)
Scheduled time: 13-Sep-2017 03:29:48
Start time: 13-Sep-2017 03:29:53
End time: 13-Sep-2017 03:29:53
Elapsed time: 0 secs
Priority: 10
FD Files Written: 4
SD Files Written: 4
FD Bytes Written: 909 (909 B)
SD Bytes Written: 1,247 (1.247 KB)
Rate: 0.0 KB/s
Software Compression: 54.4 %
VSS: no
Encryption: no
Accurate: no
Volume name(s): Vol-20170913
Volume Session Id: 2
Volume Session Time: 1505287395
Last Volume Bytes: 2,459 (2.459 KB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK


13-Sep 03:29 bacula-dir JobId 1: Begin pruning Jobs older than 47 years 2 months 27 days 7 hours 29 mins 53 secs.
13-Sep 03:29 bacula-dir JobId 1: No Jobs found to prune.
13-Sep 03:29 bacula-dir JobId 1: Begin pruning Jobs.
13-Sep 03:29 bacula-dir JobId 1: No Files found to prune.
13-Sep 03:29 bYou have new mail in /var/spool/mail/root
*exit

[root@mgmtsrv ~]# ls -l /tmp/Vol-*
-rw-r----- 1 root root 208 Sep 13 03:29 /tmp/Vol-20170913