Oops. It should have read:
Hello,
Unfortunately it seems that the S3 driver worked on 9.6.3. You will need 9.6.4 or 9.6.5.
Best regards,Kern
Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Mario Pranjic <ma...@pranjic.no>Date: 6/22/20 13:23 (GMT+01:00)Subject: [Bacula-users] Bacula 9.6.3 - Could not open Cloud driver
Hi,
I am trying to set-up Bacula with Cloud driver to write to S3 bucket.
OS: Ubuntu 18.04 LTS (fully patched)
Bacula packages (installed from Bacula repository on bacula.org):
ii bacula-client 9.6.3-1 amd64 Network backup, recovery and verification - file daemon
ii bacula-cloud-storage 9.6.3-1 amd64 Network backup, recovery and verification - Cloud Storage Plugin
ii bacula-common 9.6.3-1 amd64 Network backup, recovery and verification - common support files
ii bacula-console 9.6.3-1 amd64 Network backup, recovery and verification - text console
ii bacula-postgresql 9.6.3-1 amd64 Network backup, recovery and verification - PostgreSQL storage for Director
Default installation works like a charm (as usual), but then I tried to set-up cloud storage in bacula-sd (following https://blog.bacula.org/whitepapers/CloudBackup.pdf).
I followed example on pages 8 and 9 and came up with (keys and realnames are stripped):
Device {
Name = CloudStorage
Device Type = Cloud
Cloud = TEST1
Archive Device = /data/bacula/backup-cloud
Maximum Part Size = 10 MB
Media Type = CloudType
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}
Cloud {
Name = TEST1
Driver = "S3"
HostName = "s3.amazonaws.com"
BucketName = "mybycket"
AccessKey = "access_key_here"
SecretKey = "secret_access_key_here"
Protocol = HTTPS
UriStyle = VirtualHost
Truncate Cache = No
Upload = EachPart
Region = "us-east-1"
MaximumUploadBandwidth = 5MB/s
}
When I try to reference it in bacula-dir.conf:
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Client = bacula-fd
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Storage = CloudType #referencing cloud storage
Messages = Standard
Pool = File
SpoolAttributes = yes
Priority = 10
Write Bootstrap = "/opt/bacula/working/%c.bsr"
}
Bacula director fails to start with bacula-sd error:
Jun 22 12:38:42 bacula bacula-sd: cloud_dev.c:690 Could not open Cloud driver type=1 for Device=CloudStorage.
Am I looking at some potential bug here or I got something wrong?
All bacula packages are taken from bacula repository, bacula-cloud-storage.
Plugin directory in bacula-sd is defined:
Plugin Directory = "/opt/bacula/plugins"
And it contains:
-rw-r--r-- 1 root root 509216 Apr 7 10:01 bacula-sd-cloud-driver-9.6.3.so
Any help&advice is more than welcomed!Thanks!
Best regards
--
Mario
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users