[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-users
Subject:    [Bacula-users] Bacula configuration for non-amazon s3 providers.
From:       "r0002 () nxlplyx ! com" <r0002 () nxlplyx ! com>
Date:       2020-04-23 22:02:33
Message-ID: d3fe26c8-5ef1-f34c-dfdf-a53a62e052f6 () nxlplyx ! com
[Download RAW message or body]

Hi,

I am trying to setup Bacula 9.6.3  to run on an ubuntu 18.04 laptop. 

The intent is to use Bacula community as my backup program to cloud,
primarily because the data are encrypted before it leaves the laptop,
and Bacula can minimize the cost.

I am using a non-amazon s3 provider: netdepot.com

s3fs works with netdepot.com, with no problems.  I copied and pasted
files into and out of the same bucket to which I am trying to connect
Bacula.

Bacula has no problem backing up to, and restoring from a directory, but
when I try to use the cloud storage pointed at netdepot.com, it cannot
make the connection.

This is the message I get:

You have messages.
*messages
23-Apr 17:29 user1-Standard-PC-i440FX-PIIX-1996-dir JobId 3: No prior
Full backup Job record found.
23-Apr 17:29 user1-Standard-PC-i440FX-PIIX-1996-dir JobId 3: No prior or
suitable Full backup found in catalog. Doing FULL backup.
23-Apr 17:29 user1-Standard-PC-i440FX-PIIX-1996-dir JobId 3: Start
Backup JobId 3, Job=BackupClient1-to-Cloud.2020-04-23_17.29.45_04
23-Apr 17:29 user1-Standard-PC-i440FX-PIIX-1996-dir JobId 3: Using
Device "dev.nd1" to write.
23-Apr 17:29 user1-Standard-PC-i440FX-PIIX-1996-fd JobId 3: Fatal error:
job.c:3013 Comm error with SD. bad response to Append Data. ERR=No data
available
*

I am pretty sure that I don't understand how to configure the dir and sd
config files properly.  

Here is the relevant part of what I have for the bacula-dir.conf file:

Job {
  Name = "BackupClient1-to-Cloud"
  JobDefs = "DefaultJob"
  Storage = nd1_storage
}


Here is what I have for the sd config file:

Device {
  Name = dev.nd1
  Device Type = Cloud
  Cloud = S3Cloud
  Archive Device = /home/user1/dirNFS/bu/bacula_cloudstorage_test
  Maximum Part Size = 10000000
  Media Type = CloudType
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes
  RemovableMedia = no
  AlwaysOpen = no
}

Cloud {
  Name = S3Cloud
  Driver = "S3"
  HostName = "us-central-1-s3.netdepot.com"
  BucketName = "test_bucket"
  Access Key = <redacted>
  Secret Key = <redacted>
  Protocol = HTTPS
  UriStyle = VirtualHost
  Truncate Cache = No
  Upload = EachPart
  Region = "us-central-1"
  MaximumUploadBandwidth = 5MB/s
}


Might someone lend a hand?

Al




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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic