Infrastructure Test
CommunityNow that Bacula components are installed you can run this small test to check if everything is working correctly:
sudo-u bacula /opt/bacula/bin/bconsole
Then enter the following commands:
*run job=BackupCatalog
*messages
*status dir
*quit
Example output can be expected to be similar to what we show now.
Output of the bconsole command messages:
27-Jun 12:29 cos7-dir JobId 1: shell command: run BeforeJob "/opt/bacula/scripts/[...]
27-Jun 12:29 cos7-dir JobId 1: Start Backup JobId 1, Job=BackupCatalog.2017-06-27[...]
27-Jun 12:29 cos7-dir JobId 1: Created new Volume="Vol-0001", Pool="File", MediaT[...]
27-Jun 12:29 cos7-dir JobId 1: Using Device "FileChgr1-Dev1" to write.
27-Jun 12:29 cos7-sd JobId 1: Labeled new Volume "Vol-0001" on file device "FileC[...]
27-Jun 12:29 cos7-sd JobId 1: Wrote label to prelabeled Volume "Vol-0001" on file[...]
27-Jun 12:29 cos7-sd JobId 1: Elapsed time=00:00:01, Transfer rate=57.53 K Bytes/[...]
27-Jun 12:29 cos7-sd JobId 1: Sending spooled attrs to the Director. Despooling 2[...]
27-Jun 12:29 cos7-dir JobId 1: Bacula cos7-dir 8.6.1 (16Jun16):
Build OS: x86_64-centos-linux-gnu-bacula centos[...]
JobId: 1
Job: BackupCatalog.2017-06-27_12.29.26_03
Backup Level: Full
Client: "cos7-fd" 8.6.1 (16Jun16) x86_64-centos-linux-gnu-bacul[...]
FileSet: "Catalog" 2017-06-27 12:29:26
Pool: "File" (From Job resource)
Catalog: "MyCatalog" (From Client resource)
Storage: "File1" (From Job resource)
Scheduled time: 27-Jun-2017 12:29:23
Start time: 27-Jun-2017 12:29:29
End time: 27-Jun-2017 12:29:30
Elapsed time: 1 sec
Priority: 11
FD Files Written: 1
SD Files Written: 1
FD Bytes Written: 57,413 (57.41 KB)
SD Bytes Written: 57,530 (57.53 KB)
Rate: 57.4 KB/s
Software Compression: None
Comm Line Compression: 76.9% 4.3:1
Snapshot/VSS: no
Encryption: no
Accurate: no
Volume name(s): Vol-0001
Volume Session Id: 1
Volume Session Time: 1467023339
Last Volume Bytes: 58,179 (58.17 KB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK
27-Jun 12:29 cos7-dir JobId 1: Begin pruning Jobs older than 6 months .
27-Jun 12:29 cos7-dir JobId 1: No Jobs found to prune.
27-Jun 12:29 cos7-dir JobId 1: Begin pruning Files.
27-Jun 12:29 cos7-dir JobId 1: No Files found to prune.
27-Jun 12:29 cos7-dir JobId 1: End auto prune.
27-Jun 12:29 cos7-dir JobId 1: shell command: run AfterJob "/opt/bacula/scripts/d[...]
Output of bconsole command status dir:
cos7-dir Version: 8.6.1 (16 June 2017) x86_64-centos-linux-gnu-bacula- [...]
Daemon started 27-Jun-16 12:28, conf reloaded 27-Jun-2017 12:28:59
Jobs: run=1, running=0 mode=0,2010
Heap: heap=241,664 smbytes=97,781 max_bytes=128,045 bufs=295 max_bufs=327
Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2
Scheduled Jobs:
Level Type Pri Scheduled Job Name Volume
==================================================================================
Incremental Backup 10 27-Jun-16 23:05 BackupClient1 Vol-0001
Full Backup 11 27-Jun-16 23:10 BackupCatalog Vol-0001
====
Running Jobs:
Console connected at 27-Jun-16 12:29
No Jobs running.
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
====================================================================
1 Full 1 57.41 K OK 27-Jun-16 12:29 BackupCatalog
====
If you run into trouble or have an error message while installing or configuring your Bacula infrastructure, please contact Support.
See also
Previous articles:
Next articles:
Go back to: Bacula Community Installation.