I have a slightly patched version of the version of Bacula 9.6.7, which is in 
the Debian 12 repository (I tried to build Bacula 15, but it failed to build 
on my Raspberry Pi 5 running Debian 12).

I am getting this error:

 3924 Device "CloudStorage" not in SD Device resources or no matching Media 
Type or is disabled.
     
In my /etc/bacula/bacula-dir.conf file I have:

# Definition of file Virtual Autochanger device
Autochanger {
  Name = File1
# Do not use "localhost" here
  Address = localhost                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "XXXXXXXXXXXXXXXXXXXXXXXXXXX"
  Device = CloudStorage
  Media Type = File1
  Maximum Concurrent Jobs = 10        # run up to 10 jobs a the same time
  Autochanger = File1                 # point to ourself
}

and in my /etc/bacula/bacula-sd.conf I have:

Device {
  Name = CloudStorage
  Device Type = Cloud
  Cloud = S3Cloud
  Archive Device = /holdingdisk
  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 = "deepwoods-home-backups"
  AccessKey = "XXXXXXXXXXXXXXXXXXXXXXXXXX"
  SecretKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  Protocol = HTTPS
  UriStyle = VirtualHost
  Truncate Cache = No
  Upload = EachPart
  Region = "us-east-1"
  MaximumUploadBandwidth = 5MB/s
}


What do I have wrong?

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com       -- Webhosting Services
                                                                                


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

Reply via email to