After further testing i noticed the following error when i check the storage
daemon status:
Jul 17 15:50:43 hostserver bacula-sd[2137]: cloud_dev.c:690 Could not open
Cloud driver type=1 for Device=CloudStorage-1.
Here is my bacula-sd.conf for ref:
Device {
Name = CloudStorage-1
Device Type = Cloud
Cloud = S3Cloud
Archive Device = /backups/CloudStorage
Maximum Part Size = 100 MB
Media Type = CloudType
LabelMedia = yes
Random Access = Yes;
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}
Cloud {
Name = S3Cloud
Driver = "S3"
HostName = "s3.amazonaws.com"
BucketName = "BucketName"
AccessKey = "AccessKey"
SecretKey = "SecretKey"
Protocol = HTTPS
UriStyle = VirtualHost
Truncate Cache = AfterUpload
Upload = EachPart
Region = "us-east-1"
MaximumUploadBandwidth = 5MB/s
}
Bacula-Dir.Conf:
Storage {
Name = "Cloud"
SdPort = 9103
Address = "FQDN"
Password = "Password"
Device = "CloudStorage-1"
MediaType = "Cloud"
# Autochanger = "File1"
MaximumConcurrentJobs = 10
}
Thank You
From: "Bryan Sockel via Bacula-users ([email protected])"
<[email protected]>
To: [email protected]
Date: Wed, 17 Jul 2019 10:40:00 -0500
Subject: [Bacula-users] AWS S3 Backup
Hey Guys,
Trying to setup a new backup server to run backups to an AWS S3 Bucket. I
was able build both required version of the libs3 driver and bacula
community install (9.4.4) and all appears to be correct. I need a little
help setting up my bacula-dir and bacula-sd files in order to use the
backup. I think i have the Bacula-SD file configs correct, but beyond that
i am unsure of how to proceed.
bacula-sd.conf
Device {
Name = CloudStorage
Device Type = Cloud
Cloud = S3Cloud
Archive Device = /backups/CloudStorage
Maximum Part Size = 10000000
Media Type = CloudType
LabelMedia = yes
Random Access = Yes;
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}
Cloud {
Name = S3Cloud
Driver = "S3"
HostName = "s3.amazonaws.com"
BucketName = "s3-test"
AccessKey = "AccessKey"
SecretKey = "SecretKey"
Protocol = HTTPS
UriStyle = VirtualHost
Truncate Cache = AfterUpload
Upload = EachPart
Region = "us-east-1"
MaximumUploadBandwidth = 5MB/s
}
Thank You
Bryan
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users