Here's the storage section from my
bacula-dir.conf
Storage {
Name = File
# Do not use "localhost" here
Address = ops.jokefire.com # N.B. Use a fully qualified name here
SDPort = 9103
Password = "secret"
Device = FileStorage
Media Type = File
TLS Certificate = /etc/pki/tls/certs/ops.jokefire.com.crt
TLS Key = /etc/pki/tls/private/ops.jokefire.com.key
TLS CA Certificate File = /etc/pki/CA/certs/ca.crt
TLS Enable = yes
TLS Require = yes
}
[root@ops:/etc/bacula] #bconsole
Connecting to Director ops.jokefire.com:9101
1000 OK: ops.jokefire.com Version: 5.2.13 (19 February 2013)
Enter a period to cancel a command.
*st client
Automatically selected Client: ops.jokefire.com
Connecting to Client ops.jokefire.com at ops.jokefire.com:9102
ops.jokefire.com Version: 5.2.13 (19 February 2013) x86_64-unknown-linux-gnu redhat
Daemon started 07-Dec-13 12:56. Jobs: run=0 running=0.
Heap: heap=1,024,000 smbytes=198,355 max_bytes=210,031 bufs=152 max_bufs=166
Sizeof: boffset_t=8 size_t=8 debug=0 trace=0
Running Jobs:
JobId 5 Job ops.jokefire.com.2013-12-07_12.57.06_03 is running.
Full Backup Job started: 07-Dec-13 12:57
Files=7,588 Bytes=700,237,644 Bytes/sec=1,075,633 Errors=0
Files Examined=7,613
Processing file: /var/account/pacct.3.gz
SDReadSeqNo=5 fd=5
Director connected at: 07-Dec-13 13:08
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
======================================================================
86 Full 249,198 6.704 G OK 01-Dec-13 03:20 ops.jokefire.com
90 Full 1 377.4 M OK 01-Dec-13 09:33 Jokefire_BackupCatalog
93 Incr 0 0 Error 02-Dec-13 12:54 ops.jokefire.com
1 Full 249,265 6.711 G OK 03-Dec-13 03:22 ops.jokefire.com
5 Full 1 170.1 M OK 03-Dec-13 15:45 Jokefire_BackupCatalog
6 Incr 18,175 847.8 M OK 04-Dec-13 03:32 ops.jokefire.com
10 Full 1 197.0 M OK 04-Dec-13 05:48 Jokefire_BackupCatalog
11 Incr 1,127 728.2 M OK 05-Dec-13 03:08 ops.jokefire.com
15 Full 1 215.5 M OK 05-Dec-13 03:47 Jokefire_BackupCatalog
19 12 1.497 K OK 06-Dec-13 21:55 RestoreFiles
====
And here's status storage:
*st storage
Automatically selected Storage: File
Connecting to Storage daemon File at ops.jokefire.com:9103
ops.jokefire.com Version: 5.2.13 (19 February 2013) x86_64-unknown-linux-gnu redhat
Daemon started 07-Dec-13 12:56. Jobs: run=0, running=0.
Heap: heap=528,384 smbytes=176,909 max_bytes=177,103 bufs=120 max_bufs=122
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0
Running Jobs:
Writing: Full Backup job ops.jokefire.com JobId=5 Volume="jf-backup-tape-0001"
pool="Default" device="FileStorage" (/backup/tapes)
spooling=0 despooling=0 despool_wait=0
Files=9,260 Bytes=737,070,299 AveBytes/sec=630,071 LastBytes/sec=291,475
FDReadSeqNo=91,891 in_msg=64937 out_msg=5 fd=5
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
===================================================================
7 Incr 141,763 2.790 G OK 04-Dec-13 04:26 beta.jokefire.com
8 Incr 62,690 1.250 G OK 04-Dec-13 05:04 chef.jokefire.com
9 Incr 823 558.5 M OK 04-Dec-13 05:26 logs.jokefire.com
10 Full 1 197.0 M OK 04-Dec-13 05:48 Jokefire_BackupCatalog
11 Incr 1,127 728.3 M OK 05-Dec-13 03:08 ops.jokefire.com
12 Incr 149,766 2.811 G OK 05-Dec-13 03:36 beta.jokefire.com
13 Incr 515 267.5 M OK 05-Dec-13 03:38 chef.jokefire.com
14 Incr 1,070 903.1 M OK 05-Dec-13 03:44 logs.jokefire.com
15 Full 1 215.5 M OK 05-Dec-13 03:47 Jokefire_BackupCatalog
19 0 0 OK 06-Dec-13 21:55 RestoreFiles
====
Device status:
Device "FileStorage" (/backup/tapes) is mounted with:
Volume: jf-backup-tape-0001
Pool: Default
Media type: File
Total Bytes=737,888,459 Blocks=11,438 Bytes/block=64,512
Positioned at File=0 Block=737,888,458
==
====
Used Volume status:
jf-backup-tape-0001 on device "FileStorage" (/backup/tapes)
Reader=0 writers=1 reserves=0 volinuse=1
===
And now the exciting part!
My first successful SSL backup!
5 Full 307,963 7.177 G OK 07-Dec-13 16:20 ops.jokefire.com
Build OS: x86_64-unknown-linux-gnu redhat
JobId: 6
Job: RestoreFiles.2013-12-07_16.36.37_43
Restore Client: ops.jokefire.com
Start time: 07-Dec-2013 16:36:39
End time: 07-Dec-2013 16:36:53
Files Expected: 1
Files Restored: 1
Bytes Restored: 504
Rate: 0.0 KB/s
FD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Restore OK
This is the file that I restored:
-rw-rw-rw- 1 root root 504 Dec 2 22:52 /backup/tapes/bacula-restores/etc/fstab
Now only to add the remote clients!
I'm taking a break before I get to this step. But I thank you all and Ana in particular for all the hard work and advice that got me to this stage so far.
I am optimistic that I can get the clients working with the remote clients as well. But I hope you won't hold it against me if I ping the list again should I run into any issues with that.
Thanks!!!
Tim