Currently we have Bacula setup to copy jobs to a separate storage pool that
is on a remote SSHFS mount, which is working fairly well. However now that
Bacula (v9.4.2) offers its cloud plugin we would prefer to copy the jobs to
the cloud instead. When running the copy job we receive the following error:

Storage daemon didn't accept Device "OffsiteCloudStorage" command.

Any ideas where I may be going wrong here?

If I try to upload a volume to the cloud through bconsole, it says "Volume
has been uploaded" immediately, so that isn't working either. Though the
bconsole cloud command isn't very clear to me, since attempting to do a
"Upload a volume to the cloud", is it asking for a source or destination
storage/volumes, and it doesn't seem to ask what cloud device it should
upload too? Perhaps because we haven't gotten any backups to work to the
cloud yet, the whole upload part doesn't make sense?

Below are some directives from my config files:

bacula-sd.conf contains:
-----------------------------------------------------
Device {
  Name = OffsiteCloudStorage
  Device Type = Cloud
  Cloud = OffsiteCloud
  Archive Device = /home/backup/offsite_cloud
  Maximum Part Size = 128MB
  Maximum File Size = 32G
  Media Type = CloudType
  LabelMedia = yes
  Random Access = yes
  AutomaticMount = yes
  RemovableMedia = no
  AlwaysOpen = no
  Maximum Concurrent Jobs = 10
}

Cloud {
  Name = OffsiteCloud
  Driver = "S3"
  HostName = "s3.wasabisys.com"
  BucketName = "offsitebackup"
  AccessKey = "<snip>"
  SecretKey = "<snip>"
  Protocol = HTTPS
  UriStyle = VirtualHost
  Truncate Cache = AfterUpload
  Upload = EachPart
  Region = "us-west-1"
#  MaximumUploadBandwidth = 250Mb/s
}

bacula-dir.conf contains:
-----------------------------------------------------
Storage {
  Name = OffsiteCloud
  Address = office.<snip>.com #localhost                # N.B. Use a fully
qualified name here
  SDPort = 9103
  Password = "<snip>"
  Device = OffsiteCloudStorage
  Media Type = File
  Maximum Concurrent Jobs = 25
  AllowCompression = Yes
}

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

Reply via email to