Hi,

I am running bareos 20.0 on CentOS Linux release 7.9.2009 (Core). I have 
installed bareos 20.0 using 
https://download.bareos.org/bareos/release/20/CentOS_7/x86_64/ I am trying 
to push the backup to AWS S3 by following the document 
https://docs.bareos.org/TasksAndConcepts/StorageBackends.html. When I 
execute the run process I am encountering 

*23-Mar 10:28 bareos-sd: ERROR in backends/droplet_device.cc:113 error: 
../../../../../core/src/droplet/libdroplet/src/conn.c:392: init_ssl_conn: 
SSL connect error: 0 (error:00000005:lib(0):func(0):DH lib)*

*23-Mar 10:28 bareos-sd: ERROR in backends/droplet_device.cc:113 error: 
../../../../../core/src/droplet/libdroplet/src/conn.c:395: init_ssl_conn: 
SSL certificate verification status: 0: ok*

#cat /etc/bareos/bareos-sd.d/device/droplet/aws.profile
# Generic host, but can't access buckets younger than 24h:
# Region specific host name. Can access also new buckets.
host="s3.amazonaws.com"
use_https = "true"
backend = "s3"
aws_region = "ap-south-1"
aws_auth_sign_version = "4"
access_key = "XXXXXXXXXXXXXXXXXXX"
secret_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
pricing_dir = ""

cat /etc/bareos/bareos-sd.d/device/AWS_S3_1-00.conf

Device {
  Name = "AWS_S3_1-00"
  Media Type = "S3_Object1"
  Archive Device = "AWS S3 Storage"
  Device Type = droplet
  Device Options = 
"profile=/etc/bareos/bareos-sd.d/device/droplet/aws.profile,bucket=droplet-bareos,chunksize=100M"
  Label Media = yes                    # Lets Bareos label unlabeled media
  Random Access = yes
  Automatic Mount = yes                # When device opened, read it
  Removable Media = no
  Always Open = no
  Maximum Concurrent Jobs = 1
}

cat /etc/bareos/bareos-dir.d/storage/S3_Object.conf

Storage {
  Name = "S3_Object"
  Address = "krithilinux"                # N.B. Use a fully qualified name 
here (do not use "localhost" here).
  Password = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  Maximum Concurrent Jobs = 1
  Collect Statistics = yes
  Allow Compression = Yes
  Device = "AWS_S3_1-00"
  Media Type = "S3_Object1"
}

#rpm -qa |grep bareos
bareos-database-postgresql-20.0.1-3.el7.x86_64
bareos-client-20.0.1-3.el7.x86_64
bareos-storage-droplet-20.0.1-3.el7.x86_64
bareos-common-20.0.1-3.el7.x86_64
bareos-database-common-20.0.1-3.el7.x86_64
bareos-database-tools-20.0.1-3.el7.x86_64
bareos-filedaemon-20.0.1-3.el7.x86_64
bareos-tools-20.0.1-3.el7.x86_64
bareos-20.0.1-3.el7.x86_64
bareos-webui-20.0.1-3.el7.x86_64
bareos-bconsole-20.0.1-3.el7.x86_64
bareos-director-20.0.1-3.el7.x86_64
bareos-storage-20.0.1-3.el7.x86_64

Please let me know if anyone needs any additional information. Thanks in 
Advance.

Best Regards,

Kaushal


On Wednesday, 17 March 2021 at 12:58:20 UTC+5:30 spadaj...@gmail.com wrote:

> Yes, there is a plugin for storage daemon to store data in S3. See the 
> docs.
> On 16.03.2021 17:02, Kaushal Shriyan wrote:
>
> Hi, 
>
> Is there a way to push the backup data to the AWS S3 bucket using the 
> BareOS utility? For example, if I backup both configurations and data 
> directory of GitLab SCM services using BareOS utility, Can it be pushed to 
> AWS S3 bucket instead of storing it locally in the BareOS server. 
>
> Please advise. Thanks in advance.
>
> Best Regards,
>
> Kaushal
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bareos-users...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bareos-users/655c1c45-4a5e-47d3-9895-7c87f47a0af6n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/bareos-users/655c1c45-4a5e-47d3-9895-7c87f47a0af6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/9f47f584-437c-4560-a248-665930c83d4fn%40googlegroups.com.

Reply via email to