Hi Ric,

Thanks for info. It saves me few days off digging. :)

Hope 9.6.5 comes soon.

Best regards,

--*
Mario*


On 6/23/20 10:24 AM, Rick Tuk wrote:
> Hi Mario,
>
> The s3 driver is currently broken for Ubuntu, see 
> https://sourceforge.net/p/bacula/mailman/message/37010928/
> The 9.6.5 release should fix this, the binaries for this release should be 
> available soon
>
> Met vriendelijke groet / With kind regards,
> Rick Tuk 
>
>> On Jun 22, 2020, at 12:53 PM, Mario Pranjic <ma...@pranjic.no> wrote:
>>
>> 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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to