Hello list, I recently updated my director and storage daemon (both located on the same host) from version 9.2.1 to 9.2.4 (using the Bacula debian packages) to use the new "Cloud" directives for AWS S3 buckets. My config for the cloud device looks like this:
bacula-sd.conf:
Device {
Name = S3-BucketProd
Device Type = Cloud
Cloud = S3Cloud-Prod
Archive Device = /opt/backup-mount
Maximum Part Size = 10000000
Media Type = CloudType
LabelMedia = yes
Random Access = Yes;
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}
Cloud {
Name = S3Cloud-Prod
Driver = "S3"
HostName = "s3-eu-central-1.amazonaws.com"
BucketName = "bacula-backup"
AccessKey = "MY-ACCESS-KEY"
SecretKey = "MY-SECRET-KEY"
Protocol = HTTPS
UriStyle = VirtualHost
Truncate Cache = No
Upload = EachPart
Region = "eu-central-1"
}
bacula-dir.conf:
Storage {
Name = Prod
Address = my-backup-host # N.B. Use a fully qualified
name here
SDPort = 9103
Password = "XXX"
Device = S3-BucketProd
Media Type = CloudType
Maximum Concurrent Jobs = 3
}
Startup of director and storage daemon is without any error, but as soon
as I initiate a job to run, it seems like the cloud resource isn't used
and my job times out when contacting the storage daemon. The same occurs
when querying the list of Cloud volumes on bconsole. If I change the
storage resource "Prod" to point to a Device of the same storage daemon
which uses an S3 bucket as a mounted filesystem, everything is working
fine and the job is starting immediately.
Tl;dr:
- Mounting a S3 bucket using s3fs as local file system is working fine
- Trying to access the same bucket using the "Cloud"-Resource times out
Did someone already got this resource working or can point me to a
direction where I can search for the error? If it's required I can send
the complete Bacula config files in a sanitized version.
Thanks and regards,
Daniel Heitepriem
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
