Re: [Bacula-users] Bacula 9.6.3 - Could not open Cloud driver

2020-06-23 Thread Crystian Dorabiatto
Good night. How are you?

Can you please tell us when version 9.6.5 will be released for the rpm
repository?

Thanks

Regards

On Tue, Jun 23, 2020 at 1:27 PM Kern Sibbald  wrote:

> Oops.  It should have read:
> "Unfortunately it seems that the S3 driver NEVER worked on 9.6.3.   You
> will need 9.6.4 or 9.6.5."
>
> Sorry for the confusion.
>
> Kern
>
> On 6/23/20 5:08 PM, kern wrote:
>
> Hello,
>
> Unfortunately it seems that the S3 driver worked on 9.6.3.   You will need
> 9.6.4 or 9.6.5.
>
> Best regards,
> Kern
>
>
>
> Sent from my Samsung Galaxy smartphone.
>
>
>  Original message 
> From: Mario Pranjic  
> Date: 6/22/20 13:23 (GMT+01:00)
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Bacula 9.6.3 - Could not open Cloud driver
>
> Hi,
>
> I am trying to set-up Bacula with Cloud driver to write to S3 bucket.
>
> OS: Ubuntu 18.04 LTS (fully patched)
>
> Bacula packages (installed from Bacula repository on bacula.org):
> ii  bacula-client
> 9.6.3-1 amd64Network
> backup, recovery and verification - file daemon
> ii  bacula-cloud-storage
> 9.6.3-1 amd64Network
> backup, recovery and verification - Cloud Storage Plugin
> ii  bacula-common
> 9.6.3-1 amd64Network
> backup, recovery and verification - common support files
> ii  bacula-console
> 9.6.3-1 amd64Network
> backup, recovery and verification - text console
> ii  bacula-postgresql
> 9.6.3-1 amd64Network
> backup, recovery and verification - PostgreSQL storage for Director
>
> Default installation works like a charm (as usual), but then I tried to
> set-up cloud storage in bacula-sd (following
> https://blog.bacula.org/whitepapers/CloudBackup.pdf).
>
> I followed example on pages 8 and 9 and came up with (keys and realnames
> are stripped):
>
> Device {
>   Name = CloudStorage
>   Device Type = Cloud
>   Cloud = TEST1
>   Archive Device = /data/bacula/backup-cloud
>   Maximum Part Size = 10 MB
>   Media Type = CloudType
>   LabelMedia = yes
>   Random Access = yes
>   AutomaticMount = yes
>   RemovableMedia = no
>   AlwaysOpen = no
> }
>
> Cloud {
>  Name = TEST1
>   Driver = "S3"
>   HostName = "s3.amazonaws.com"
>   BucketName = "mybycket"
>   AccessKey = "access_key_here"
>   SecretKey = "secret_access_key_here"
>   Protocol = HTTPS
>   UriStyle = VirtualHost
>   Truncate Cache = No
>   Upload = EachPart
>   Region = "us-east-1"
>   MaximumUploadBandwidth = 5MB/s
> }
>
> When I try to reference it in bacula-dir.conf:
>
> JobDefs {
>   Name = "DefaultJob"
>   Type = Backup
>   Level = Incremental
>   Client = bacula-fd
>   FileSet = "Full Set"
>   Schedule = "WeeklyCycle"
>   Storage = CloudType#referencing cloud storage
>   Messages = Standard
>   Pool = File
>   SpoolAttributes = yes
>   Priority = 10
>   Write Bootstrap = "/opt/bacula/working/%c.bsr"
> }
>
> Bacula director fails to start with bacula-sd error:
> Jun 22 12:38:42 bacula bacula-sd: cloud_dev.c:690 Could not open Cloud
> driver type=1 for Device=CloudStorage.
>
> Am I looking at some potential bug here or I got something wrong?
>
> All bacula packages are taken from bacula repository, bacula-cloud-storage.
>
> Plugin directory in bacula-sd is defined:
>   Plugin Directory = "/opt/bacula/plugins"
>
> And it contains:
> -rw-r--r-- 1 root root 509216 Apr  7 10:01 bacula-sd-cloud-driver-9.6.3.so
>
> Any help is more than welcomed!
>
> Thanks!
>
> Best regards
> --
> *Mario*
>
>
>
> ___
> Bacula-users mailing 
> listBacula-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/bacula-users
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] 9.6.5 compiles on Debian 10, but does not run

2020-06-23 Thread r0...@nxlplyx.com
Hi Rad,

It did not work.  The only thing that occurs to me is what user should I
be launching things as?


Logging into Postgres from command line.

1. /etc$ psql -h 127.0.0.1 -U bacula -W bacula
Password:
psql (12.3 (Debian 12.3-1.pgdg100+1))
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits:
256, compression: off)
Type "help" for help.

bacula=> \q
could not save history to file "/opt/bacula/.psql_history": No such file
or directory
/etc$

2. Testing all four of the configuration files with a script:
"/opt/bacula/sbin/bacula-dir -t -c /opt/bacula/etc/bacula-dir.conf"...

/etc$ ./test_conf
=
Testing bacula-dir.conf
=
Testing bacula-fd.conf
=
Testing bacula-sd.conf
=
Testing bconsole.conf
=

(no output from any of them)


3. Starting Bacula

bacula@debian:~/etc$ ./bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon

4. Launching bconsole

bacula@debian:~/etc$ ./bconsole
Connecting to Director debian:9101
bacula@debian:~/etc$

5. bacula-dir process is now dead.


6. bacula.log



23-Jun 15:11 bacula-dir JobId 0: Fatal error: Could not open Catalog
"MyCatalog", database "bacula".
23-Jun 15:11 bacula-dir JobId 0: Fatal error: postgresql.c:332 Unable to
connect to PostgreSQL server. Database=bacula User=bacula
Possible causes: SQL server not running; password incorrect;
max_connections exceeded.
23-Jun 15:11 bacula-dir ERROR TERMINATION
Please correct configuration file: /opt/bacula/etc/bacula-dir.conf

---



Al

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


Re: [Bacula-users] Cloud driver for OCI

2020-06-23 Thread Sven Hartge
(Sorry, I sent this via private-only mail first.)

On 23.06.20 18:38, Kern Sibbald wrote:

> libs3.git is currently available on www.bacula.org in exactly the same
> way that bacula.git is available.

Where? I don't see it on https://www.bacula.org/git/ and both
https://www.bacula.org/libs3 and https://www.bacula.org/libs3.git are
"404" and https://www.bacula.org/git/cgit.cgi/libs3/ returns "No
repositories found".

If there is a link to it somewhere it is not obvious or easy to find. At
least for me.

Grüße,
Sven.



signature.asc
Description: OpenPGP digital signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cloud driver for OCI

2020-06-23 Thread Kern Sibbald

  
  
Hello Sven,
Good point

libs3.git is currently available on www.bacula.org in exactly the
  same way that bacula.git is available.  However, I have never
  tried to clone it as someone other than myself, so I am not sure
  if it will actually work for you.  Please let me know if it does
  not -- probably some permissions.  My intention is to have the
  libs3 git repository publicly available on bacula.org.

The simplest and main way I have currently released libs3 is in a
  tar file that was pulled directly from the above mentioned repo. 
  With that, at least users can build Bacula even if they do not
  know how to access git.

Best regards,
Kern

On 6/23/20 6:28 PM, Sven Hartge wrote:


  On 23.06.20 17:26, kern wrote:


  
What I would appreciate the most would be for a community to submit a
patch to our current libs3 code base.

  
  
You having the bacula-libs3 code available via a public git repository
might be a first step in that direction.

Grüße,
Sven.


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


  


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


Re: [Bacula-users] Cloud driver for OCI

2020-06-23 Thread Sven Hartge
On 23.06.20 17:26, kern wrote:

> What I would appreciate the most would be for a community to submit a
> patch to our current libs3 code base.

You having the bacula-libs3 code available via a public git repository
might be a first step in that direction.

Grüße,
Sven.



signature.asc
Description: OpenPGP digital signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 9.6.3 - Could not open Cloud driver

2020-06-23 Thread Kern Sibbald

  
  
Oops.  It should have read:
"Unfortunately it seems that the S3 driver NEVER
  worked on 9.6.3.   You will need 9.6.4 or 9.6.5."


Sorry for the confusion.


Kern



On 6/23/20 5:08 PM, kern wrote:


  
  Hello,
  
  
  Unfortunately it seems that the S3 driver worked
on 9.6.3.   You will need 9.6.4 or 9.6.5.
  
  
  Best regards,
  Kern
  
  
  
  
  
  
  
Sent from my
  Samsung Galaxy smartphone.
  
  
  
  
  
  
 Original message 
From: Mario Pranjic  
Date: 6/22/20 13:23 (GMT+01:00) 
To: bacula-users@lists.sourceforge.net 
Subject: [Bacula-users] Bacula 9.6.3 - Could not open Cloud
  driver 


  
  Hi,
  I am trying to set-up Bacula with Cloud driver to write to S3
bucket.
  OS: Ubuntu 18.04 LTS (fully patched)

Bacula packages (installed from Bacula repository on
bacula.org):
ii  bacula-client 
9.6.3-1 amd64   
Network backup, recovery and verification - file daemon
ii  bacula-cloud-storage  
9.6.3-1 amd64   
Network backup, recovery and verification - Cloud Storage Plugin
ii  bacula-common 
9.6.3-1 amd64   
Network backup, recovery and verification - common support files
ii  bacula-console
9.6.3-1 amd64   
Network backup, recovery and verification - text console
ii  bacula-postgresql 
9.6.3-1 amd64   
Network backup, recovery and verification - PostgreSQL storage
for Director
  
  Default installation works like a charm (as usual), but then I
tried to set-up cloud storage in bacula-sd (following https://blog.bacula.org/whitepapers/CloudBackup.pdf).
  I followed example on pages 8 and 9 and came up with (keys and
realnames are stripped):
  Device {
  Name = CloudStorage
  Device Type = Cloud
  Cloud = TEST1
  Archive Device = /data/bacula/backup-cloud
  Maximum Part Size = 10 MB
  Media Type = CloudType
  LabelMedia = yes
  Random Access = yes
  AutomaticMount = yes
  RemovableMedia = no
  AlwaysOpen = no
}

Cloud {
 Name = TEST1
  Driver = "S3"
  HostName = "s3.amazonaws.com"
  BucketName = "mybycket"
  AccessKey = "access_key_here"
  SecretKey = "secret_access_key_here"
  Protocol = HTTPS
  UriStyle = VirtualHost
  Truncate Cache = No
  Upload = EachPart
  Region = "us-east-1"
  MaximumUploadBandwidth = 5MB/s
}

  
  When I try to reference it in bacula-dir.conf:
  JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = bacula-fd
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = CloudType    #referencing cloud storage
  Messages = Standard
  Pool = File
  SpoolAttributes = yes
  Priority = 10
  Write Bootstrap = "/opt/bacula/working/%c.bsr"
}
  
  Bacula director fails to start with bacula-sd error:
Jun 22 12:38:42 bacula bacula-sd: cloud_dev.c:690 Could not open
Cloud driver type=1 for Device=CloudStorage.
  
  Am I looking at some potential bug here or I got something
wrong?
  
  All bacula packages are taken from bacula repository,
bacula-cloud-storage.
  Plugin directory in bacula-sd is defined:
  Plugin Directory = "/opt/bacula/plugins"

And it contains:
-rw-r--r-- 1 root root 509216 Apr  7 10:01
bacula-sd-cloud-driver-9.6.3.so

Any help is more than welcomed!
  Thanks!
  Best regards
  
  -- 
Mario

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


  


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


Re: [Bacula-users] Retention Period

2020-06-23 Thread Wanderlei Huttel
Hello Ken

You must change the "Volume Retention" in the Pool Resource.
And after that is necessary to run the command "update" in the bconsole to
apply the changes vor volumes previously written.

*update
1: Volume parameters
14: All Volumes from all Pools

Best regards

*Wanderlei Hüttel*



Em ter., 23 de jun. de 2020 às 13:20, Ken Mandelberg 
escreveu:

> I'm using files for Volumes, not tapes. Originally I was doing 90 day
> retention, but since then the amount of data to backup has increased,
> and I don't want to commit more file volumes (I have 13 *50G ). The
> backups stop when the files are full and the soonest expiration date
> hasn't been reached.
>
> I tried changed the setting in the director.conf for the client to
>
>File Retention = 30 days# 30 days
>Job Retention = 45 days
>AutoPrune = yes # Prune expired Jobs/Files
> }
>
> I have rebooted the client (its all localhost) and the files still show
> 90 day expirations , all full and the jobs don't run.
>
> To get things running, I can manually purge the oldest, but when it
> starts writing to it, I still see the 90 days expiration date.
>
> I don't actually care about the limit. I have as many volumes as I want
> to commit, and just want it to purge what ever is necessary when they
> are all filled.
>
> What do I need to do?
>
>
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Retention Period

2020-06-23 Thread Ken Mandelberg
I'm using files for Volumes, not tapes. Originally I was doing 90 day 
retention, but since then the amount of data to backup has increased, 
and I don't want to commit more file volumes (I have 13 *50G ). The 
backups stop when the files are full and the soonest expiration date 
hasn't been reached.


I tried changed the setting in the director.conf for the client to

  File Retention = 30 days    # 30 days
  Job Retention = 45 days
  AutoPrune = yes # Prune expired Jobs/Files
}

I have rebooted the client (its all localhost) and the files still show 
90 day expirations , all full and the jobs don't run.


To get things running, I can manually purge the oldest, but when it 
starts writing to it, I still see the 90 days expiration date.


I don't actually care about the limit. I have as many volumes as I want 
to commit, and just want it to purge what ever is necessary when they 
are all filled.


What do I need to do?




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


Re: [Bacula-users] Compile error - s3 drivers for Bacula 9.4.2 (Ubuntu 20.04 LTS)

2020-06-23 Thread kern
Hello,There are compiler compatibility problems with 20.04 and Bacula 9.6.3.  
Please try Bacula 9.6.5, but be sure to use the libs3 as documented in the 
release notes.Best regards,KernSent from my Samsung Galaxy smartphone.
 Original message From: Mario Pranjic  Date: 
6/23/20  12:45  (GMT+01:00) To: bacula-users@lists.sourceforge.net Subject: 
[Bacula-users] Compile error - s3 drivers for Bacula 9.4.2 (Ubuntu 20.04 LTS) 
Hi,
I am trying to use Bacula which comes with Ubuntu 20.04 LTS (OS
  is fully patched):
ii  bacula-bscan
  9.4.2-2ubuntu5    amd64    network backup
  service - bscan tool
  ii  bacula-client   
  9.4.2-2ubuntu5    all  network backup
  service - client metapackage
  ii  bacula-common   
  9.4.2-2ubuntu5    amd64    network backup
  service - common support files
  ii  bacula-common-pgsql 
  9.4.2-2ubuntu5    amd64    network backup
  service - PostgreSQL common files
  ii  bacula-console  
  9.4.2-2ubuntu5    amd64    network backup
  service - text console
  ii  bacula-director 
  9.4.2-2ubuntu5    amd64    network backup
  service - Director daemon
  ii  bacula-director-pgsql   
  9.4.2-2ubuntu5    all  network backup
  service - PostgreSQL storage for Director
  ii  bacula-fd   
  9.4.2-2ubuntu5    amd64    network backup
  service - file daemon
  ii  bacula-sd   
  9.4.2-2ubuntu5    amd64    network backup
  service - storage daemon
  ii  bacula-server   
  9.4.2-2ubuntu5    all  network backup
  service - server metapackage
  

In regards to s3 drivers, I follow: 
https://www.bacula.org/bacula-release-9-4-2/
Compile fails with error:
root@bacula:~# tar xzf libs3-20181010.tar.gz 
  root@bacula:~# cd libs3-20181010/
root@bacula:~/libs3-20181010# make deb
  make: xml2-config: Command not found
  make: xml2-config: Command not found
  build/obj/acl.do: Compiling dynamic object
  build/obj/bucket.do: Compiling dynamic object
  build/obj/error_parser.do: Compiling dynamic object
  build/obj/general.do: Compiling dynamic object
  build/obj/object.do: Compiling dynamic object
  build/obj/request.do: Compiling dynamic object
  src/request.c: In function ‘request_curl_code_to_status’:
  src/request.c:1709:5: error: duplicate case value
   1709 | case CURLE_SSL_CACERT:
    | ^~~~
  src/request.c:1705:5: note: previously used here
   1705 | case CURLE_PEER_FAILED_VERIFICATION:
    | ^~~~
  make: *** [GNUmakefile:223: build/obj/request.do] Error 1



Any advice what to look is more than welcomed. Am I looking at
  some bug or am I missing something?
Thanks in advance!
Best regards,

-- 
  Mario

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


Re: [Bacula-users] Cloud driver for OCI

2020-06-23 Thread kern
Hello,Yes, Oracle S3 is not compatible with AWS.  Bacula Systems has a separate 
driver for Oracle but at the current time I cannot say when we will get their 
code.  The first step is getting our current S3 driver to work correctly.What I 
would appreciate the most would be for a community to submit a patch to our 
current libs3 code base.Best regards,KernSent from my Samsung Galaxy smartphone.
 Original message From: Mario Pranjic  Date: 
6/23/20  07:32  (GMT+01:00) To: bacula-users@lists.sourceforge.net Subject: 
[Bacula-users] Cloud driver for OCI 
Hi,
I need to point bacula-sd to write directly to object storage
  bucket in Oracle Cloud (OCI) in order to use OCI archive storage
  bucket as target where Bacula will write backup data.

Although there is cloud driver available in Bacula, according to
  documentation, it seems that community edition supports only AWS
  for such configuration.


https://www.baculasystems.com/corporate-data-backup-software-solutions/professional-backup-software/enterprise-community-comparison/
Is that so? Can someone confirm this?
If true, is there any roadmap to show when/if OCI object storage
  will be supported in Bacula community edition?
Thanks in advance!
Best regards,

-- 
  Mario

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


Re: [Bacula-users] Bacula 9.6.3 - Could not open Cloud driver

2020-06-23 Thread kern
Hello,Unfortunately it seems that the S3 driver worked on 9.6.3.   You will 
need 9.6.4 or 9.6.5.Best regards,KernSent from my Samsung Galaxy smartphone.
 Original message From: Mario Pranjic  Date: 
6/22/20  13:23  (GMT+01:00) To: bacula-users@lists.sourceforge.net Subject: 
[Bacula-users] Bacula 9.6.3 - Could not open Cloud driver 
Hi,
I am trying to set-up Bacula with Cloud driver to write to S3
  bucket.
OS: Ubuntu 18.04 LTS (fully patched)
  
  Bacula packages (installed from Bacula repository on bacula.org):
  ii  bacula-client 
  9.6.3-1 amd64   
  Network backup, recovery and verification - file daemon
  ii  bacula-cloud-storage  
  9.6.3-1 amd64   
  Network backup, recovery and verification - Cloud Storage Plugin
  ii  bacula-common 
  9.6.3-1 amd64   
  Network backup, recovery and verification - common support files
  ii  bacula-console
  9.6.3-1 amd64   
  Network backup, recovery and verification - text console
  ii  bacula-postgresql 
  9.6.3-1 amd64   
  Network backup, recovery and verification - PostgreSQL storage for
  Director

Default installation works like a charm (as usual), but then I
  tried to set-up cloud storage in bacula-sd (following 
https://blog.bacula.org/whitepapers/CloudBackup.pdf).
I followed example on pages 8 and 9 and came up with (keys and
  realnames are stripped):
Device {
    Name = CloudStorage
    Device Type = Cloud
    Cloud = TEST1
    Archive Device = /data/bacula/backup-cloud
    Maximum Part Size = 10 MB
    Media Type = CloudType
    LabelMedia = yes
    Random Access = yes
    AutomaticMount = yes
    RemovableMedia = no
    AlwaysOpen = no
  }
  
  Cloud {
   Name = TEST1
    Driver = "S3"
    HostName = "s3.amazonaws.com"
    BucketName = "mybycket"
    AccessKey = "access_key_here"
    SecretKey = "secret_access_key_here"
    Protocol = HTTPS
    UriStyle = VirtualHost
    Truncate Cache = No
    Upload = EachPart
    Region = "us-east-1"
    MaximumUploadBandwidth = 5MB/s
  }
  

When I try to reference it in bacula-dir.conf:
JobDefs {
    Name = "DefaultJob"
    Type = Backup
    Level = Incremental
    Client = bacula-fd
    FileSet = "Full Set"
    Schedule = "WeeklyCycle"
    Storage = CloudType    #referencing cloud storage
    Messages = Standard
    Pool = File
    SpoolAttributes = yes
    Priority = 10
    Write Bootstrap = "/opt/bacula/working/%c.bsr"
  }

Bacula director fails to start with bacula-sd error:
  Jun 22 12:38:42 bacula bacula-sd: cloud_dev.c:690 Could not open
  Cloud driver type=1 for Device=CloudStorage.

Am I looking at some potential bug here or I got something wrong?

All bacula packages are taken from bacula repository,
  bacula-cloud-storage.
Plugin directory in bacula-sd is defined:
    Plugin Directory = "/opt/bacula/plugins"
  
  And it contains:
  -rw-r--r-- 1 root root 509216 Apr  7 10:01
  bacula-sd-cloud-driver-9.6.3.so
  
  Any help is more than welcomed!
Thanks!
Best regards

-- 
  Mario
  

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


Re: [Bacula-users] Windows 2016/19

2020-06-23 Thread Gary R. Schmidt

On 23/06/2020 20:58, Fernando Miranda wrote:

Hi,

Can we assume that Bacula client can also be installed on Windows 2016/19?
Or is it only certain to work well (or has been tested) in the EE?


They work for me, on 2016 and 2019.

Cheers,
GaryB-)


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


Re: [Bacula-users] Bacula 9.6.3 - Could not open Cloud driver

2020-06-23 Thread Rick Tuk
Hi Mario,

The s3 driver is currently broken for Ubuntu, see 
https://sourceforge.net/p/bacula/mailman/message/37010928/
The 9.6.5 release should fix this, the binaries for this release should be 
available soon

Met vriendelijke groet / With kind regards,
Rick Tuk 

> On Jun 22, 2020, at 12:53 PM, Mario Pranjic  wrote:
> 
> Hi,
> 
> I am trying to set-up Bacula with Cloud driver to write to S3 bucket.
> 
> OS: Ubuntu 18.04 LTS (fully patched)
> 
> Bacula packages (installed from Bacula repository on bacula.org):
> ii  bacula-client  9.6.3-1
>  amd64Network backup, recovery and verification - file 
> daemon
> ii  bacula-cloud-storage   9.6.3-1
>  amd64Network backup, recovery and verification - Cloud 
> Storage Plugin
> ii  bacula-common  9.6.3-1
>  amd64Network backup, recovery and verification - common 
> support files
> ii  bacula-console 9.6.3-1
>  amd64Network backup, recovery and verification - text 
> console
> ii  bacula-postgresql  9.6.3-1
>  amd64Network backup, recovery and verification - 
> PostgreSQL storage for Director
> 
> Default installation works like a charm (as usual), but then I tried to 
> set-up cloud storage in bacula-sd (following 
> https://blog.bacula.org/whitepapers/CloudBackup.pdf).
> 
> I followed example on pages 8 and 9 and came up with (keys and realnames are 
> stripped):
> 
> Device {
>   Name = CloudStorage
>   Device Type = Cloud
>   Cloud = TEST1
>   Archive Device = /data/bacula/backup-cloud
>   Maximum Part Size = 10 MB
>   Media Type = CloudType
>   LabelMedia = yes
>   Random Access = yes
>   AutomaticMount = yes
>   RemovableMedia = no
>   AlwaysOpen = no
> }
> 
> Cloud {
>  Name = TEST1
>   Driver = "S3"
>   HostName = "s3.amazonaws.com"
>   BucketName = "mybycket"
>   AccessKey = "access_key_here"
>   SecretKey = "secret_access_key_here"
>   Protocol = HTTPS
>   UriStyle = VirtualHost
>   Truncate Cache = No
>   Upload = EachPart
>   Region = "us-east-1"
>   MaximumUploadBandwidth = 5MB/s
> }
> 
> 
> When I try to reference it in bacula-dir.conf:
> 
> JobDefs {
>   Name = "DefaultJob"
>   Type = Backup
>   Level = Incremental
>   Client = bacula-fd
>   FileSet = "Full Set"
>   Schedule = "WeeklyCycle"
>   Storage = CloudType#referencing cloud storage
>   Messages = Standard
>   Pool = File
>   SpoolAttributes = yes
>   Priority = 10
>   Write Bootstrap = "/opt/bacula/working/%c.bsr"
> }
> 
> Bacula director fails to start with bacula-sd error:
> Jun 22 12:38:42 bacula bacula-sd: cloud_dev.c:690 Could not open Cloud driver 
> type=1 for Device=CloudStorage.
> 
> Am I looking at some potential bug here or I got something wrong?
> 
> All bacula packages are taken from bacula repository, bacula-cloud-storage.
> 
> Plugin directory in bacula-sd is defined:
>   Plugin Directory = "/opt/bacula/plugins"
> 
> And it contains:
> -rw-r--r-- 1 root root 509216 Apr  7 10:01 bacula-sd-cloud-driver-9.6.3.so
> 
> Any help is more than welcomed!
> 
> Thanks!
> 
> Best regards
> 
> -- 
> Mario
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



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


[Bacula-users] Windows 2016/19

2020-06-23 Thread Fernando Miranda
Hi,

Can we assume that Bacula client can also be installed on Windows 2016/19?
Or is it only certain to work well (or has been tested) in the EE?

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


[Bacula-users] Compile error - s3 drivers for Bacula 9.4.2 (Ubuntu 20.04 LTS)

2020-06-23 Thread Mario Pranjic
Hi,

I am trying to use Bacula which comes with Ubuntu 20.04 LTS (OS is fully
patched):

ii  bacula-bscan
9.4.2-2ubuntu5    amd64    network backup service -
bscan tool
ii  bacula-client   
9.4.2-2ubuntu5    all  network backup service -
client metapackage
ii  bacula-common   
9.4.2-2ubuntu5    amd64    network backup service -
common support files
ii  bacula-common-pgsql 
9.4.2-2ubuntu5    amd64    network backup service -
PostgreSQL common files
ii  bacula-console  
9.4.2-2ubuntu5    amd64    network backup service -
text console
ii  bacula-director 
9.4.2-2ubuntu5    amd64    network backup service -
Director daemon
ii  bacula-director-pgsql   
9.4.2-2ubuntu5    all  network backup service -
PostgreSQL storage for Director
ii  bacula-fd   
9.4.2-2ubuntu5    amd64    network backup service -
file daemon
ii  bacula-sd   
9.4.2-2ubuntu5    amd64    network backup service -
storage daemon
ii  bacula-server   
9.4.2-2ubuntu5    all  network backup service -
server metapackage

In regards to s3 drivers, I follow:
https://www.bacula.org/bacula-release-9-4-2/

Compile fails with error:

root@bacula:~# tar xzf libs3-20181010.tar.gz
root@bacula:~# cd libs3-20181010/

root@bacula:~/libs3-20181010# make deb
make: xml2-config: Command not found
make: xml2-config: Command not found
build/obj/acl.do: Compiling dynamic object
build/obj/bucket.do: Compiling dynamic object
build/obj/error_parser.do: Compiling dynamic object
build/obj/general.do: Compiling dynamic object
build/obj/object.do: Compiling dynamic object
build/obj/request.do: Compiling dynamic object
src/request.c: In function ‘request_curl_code_to_status’:
src/request.c:1709:5: error: duplicate case value
 1709 | case CURLE_SSL_CACERT:
  | ^~~~
src/request.c:1705:5: note: previously used here
 1705 | case CURLE_PEER_FAILED_VERIFICATION:
  | ^~~~
make: *** [GNUmakefile:223: build/obj/request.do] Error 1


Any advice what to look is more than welcomed. Am I looking at some bug
or am I missing something?

Thanks in advance!

Best regards,

-- 
*Mario*


signature.asc
Description: OpenPGP digital signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 9.6.3 - Could not open Cloud driver

2020-06-23 Thread Mario Pranjic
Hi again,

From what I see, Bacula 9.6.5 is released on June 10th:
https://www.bacula.org/bacula-release-9-6-5
However, there is still no binaries in Bacula repository for version
9.6.5 (latest being 9.6.3)
Is there any info when that might be expected?

Thanks in advance!

Best regards,

*--
Mario*
**
On 6/23/20 10:50 AM, Mario Pranjic wrote:
>
> Hi Ric,
>
> Thanks for info. It saves me few days off digging. :)
>
> Hope 9.6.5 comes soon.
>
> Best regards,
>
> --*
> Mario*
>
>
> On 6/23/20 10:24 AM, Rick Tuk wrote:
>> Hi Mario,
>>
>> The s3 driver is currently broken for Ubuntu, see 
>> https://sourceforge.net/p/bacula/mailman/message/37010928/
>> The 9.6.5 release should fix this, the binaries for this release should be 
>> available soon
>>
>> Met vriendelijke groet / With kind regards,
>> Rick Tuk 
>>
>>> On Jun 22, 2020, at 12:53 PM, Mario Pranjic  wrote:
>>>
>>> Hi,
>>>
>>> I am trying to set-up Bacula with Cloud driver to write to S3 bucket.
>>>
>>> OS: Ubuntu 18.04 LTS (fully patched)
>>>
>>> Bacula packages (installed from Bacula repository on bacula.org):
>>> ii  bacula-client  9.6.3-1  
>>>amd64Network backup, recovery and verification - 
>>> file daemon
>>> ii  bacula-cloud-storage   9.6.3-1  
>>>amd64Network backup, recovery and verification - 
>>> Cloud Storage Plugin
>>> ii  bacula-common  9.6.3-1  
>>>amd64Network backup, recovery and verification - 
>>> common support files
>>> ii  bacula-console 9.6.3-1  
>>>amd64Network backup, recovery and verification - 
>>> text console
>>> ii  bacula-postgresql  9.6.3-1  
>>>amd64Network backup, recovery and verification - 
>>> PostgreSQL storage for Director
>>>
>>> Default installation works like a charm (as usual), but then I tried to 
>>> set-up cloud storage in bacula-sd (following 
>>> https://blog.bacula.org/whitepapers/CloudBackup.pdf).
>>>
>>> I followed example on pages 8 and 9 and came up with (keys and realnames 
>>> are stripped):
>>>
>>> Device {
>>>   Name = CloudStorage
>>>   Device Type = Cloud
>>>   Cloud = TEST1
>>>   Archive Device = /data/bacula/backup-cloud
>>>   Maximum Part Size = 10 MB
>>>   Media Type = CloudType
>>>   LabelMedia = yes
>>>   Random Access = yes
>>>   AutomaticMount = yes
>>>   RemovableMedia = no
>>>   AlwaysOpen = no
>>> }
>>>
>>> Cloud {
>>>  Name = TEST1
>>>   Driver = "S3"
>>>   HostName = "s3.amazonaws.com"
>>>   BucketName = "mybycket"
>>>   AccessKey = "access_key_here"
>>>   SecretKey = "secret_access_key_here"
>>>   Protocol = HTTPS
>>>   UriStyle = VirtualHost
>>>   Truncate Cache = No
>>>   Upload = EachPart
>>>   Region = "us-east-1"
>>>   MaximumUploadBandwidth = 5MB/s
>>> }
>>>
>>>
>>> When I try to reference it in bacula-dir.conf:
>>>
>>> JobDefs {
>>>   Name = "DefaultJob"
>>>   Type = Backup
>>>   Level = Incremental
>>>   Client = bacula-fd
>>>   FileSet = "Full Set"
>>>   Schedule = "WeeklyCycle"
>>>   Storage = CloudType#referencing cloud storage
>>>   Messages = Standard
>>>   Pool = File
>>>   SpoolAttributes = yes
>>>   Priority = 10
>>>   Write Bootstrap = "/opt/bacula/working/%c.bsr"
>>> }
>>>
>>> Bacula director fails to start with bacula-sd error:
>>> Jun 22 12:38:42 bacula bacula-sd: cloud_dev.c:690 Could not open Cloud 
>>> driver type=1 for Device=CloudStorage.
>>>
>>> Am I looking at some potential bug here or I got something wrong?
>>>
>>> All bacula packages are taken from bacula repository, bacula-cloud-storage.
>>>
>>> Plugin directory in bacula-sd is defined:
>>>   Plugin Directory = "/opt/bacula/plugins"
>>>
>>> And it contains:
>>> -rw-r--r-- 1 root root 509216 Apr  7 10:01 bacula-sd-cloud-driver-9.6.3.so
>>>
>>> Any help is more than welcomed!
>>>
>>> Thanks!
>>>
>>> Best regards
>>>
>>> -- 
>>> Mario
>>>
>>> ___
>>> Bacula-users mailing list
>>> Bacula-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


signature.asc
Description: OpenPGP digital signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 9.6.3 - Could not open Cloud driver

2020-06-23 Thread Mario Pranjic
Hi Ric,

Thanks for info. It saves me few days off digging. :)

Hope 9.6.5 comes soon.

Best regards,

--*
Mario*


On 6/23/20 10:24 AM, Rick Tuk wrote:
> Hi Mario,
>
> The s3 driver is currently broken for Ubuntu, see 
> https://sourceforge.net/p/bacula/mailman/message/37010928/
> The 9.6.5 release should fix this, the binaries for this release should be 
> available soon
>
> Met vriendelijke groet / With kind regards,
> Rick Tuk 
>
>> On Jun 22, 2020, at 12:53 PM, Mario Pranjic  wrote:
>>
>> Hi,
>>
>> I am trying to set-up Bacula with Cloud driver to write to S3 bucket.
>>
>> OS: Ubuntu 18.04 LTS (fully patched)
>>
>> Bacula packages (installed from Bacula repository on bacula.org):
>> ii  bacula-client  9.6.3-1   
>>   amd64Network backup, recovery and verification - file 
>> daemon
>> ii  bacula-cloud-storage   9.6.3-1   
>>   amd64Network backup, recovery and verification - Cloud 
>> Storage Plugin
>> ii  bacula-common  9.6.3-1   
>>   amd64Network backup, recovery and verification - 
>> common support files
>> ii  bacula-console 9.6.3-1   
>>   amd64Network backup, recovery and verification - text 
>> console
>> ii  bacula-postgresql  9.6.3-1   
>>   amd64Network backup, recovery and verification - 
>> PostgreSQL storage for Director
>>
>> Default installation works like a charm (as usual), but then I tried to 
>> set-up cloud storage in bacula-sd (following 
>> https://blog.bacula.org/whitepapers/CloudBackup.pdf).
>>
>> I followed example on pages 8 and 9 and came up with (keys and realnames are 
>> stripped):
>>
>> Device {
>>   Name = CloudStorage
>>   Device Type = Cloud
>>   Cloud = TEST1
>>   Archive Device = /data/bacula/backup-cloud
>>   Maximum Part Size = 10 MB
>>   Media Type = CloudType
>>   LabelMedia = yes
>>   Random Access = yes
>>   AutomaticMount = yes
>>   RemovableMedia = no
>>   AlwaysOpen = no
>> }
>>
>> Cloud {
>>  Name = TEST1
>>   Driver = "S3"
>>   HostName = "s3.amazonaws.com"
>>   BucketName = "mybycket"
>>   AccessKey = "access_key_here"
>>   SecretKey = "secret_access_key_here"
>>   Protocol = HTTPS
>>   UriStyle = VirtualHost
>>   Truncate Cache = No
>>   Upload = EachPart
>>   Region = "us-east-1"
>>   MaximumUploadBandwidth = 5MB/s
>> }
>>
>>
>> When I try to reference it in bacula-dir.conf:
>>
>> JobDefs {
>>   Name = "DefaultJob"
>>   Type = Backup
>>   Level = Incremental
>>   Client = bacula-fd
>>   FileSet = "Full Set"
>>   Schedule = "WeeklyCycle"
>>   Storage = CloudType#referencing cloud storage
>>   Messages = Standard
>>   Pool = File
>>   SpoolAttributes = yes
>>   Priority = 10
>>   Write Bootstrap = "/opt/bacula/working/%c.bsr"
>> }
>>
>> Bacula director fails to start with bacula-sd error:
>> Jun 22 12:38:42 bacula bacula-sd: cloud_dev.c:690 Could not open Cloud 
>> driver type=1 for Device=CloudStorage.
>>
>> Am I looking at some potential bug here or I got something wrong?
>>
>> All bacula packages are taken from bacula repository, bacula-cloud-storage.
>>
>> Plugin directory in bacula-sd is defined:
>>   Plugin Directory = "/opt/bacula/plugins"
>>
>> And it contains:
>> -rw-r--r-- 1 root root 509216 Apr  7 10:01 bacula-sd-cloud-driver-9.6.3.so
>>
>> Any help is more than welcomed!
>>
>> Thanks!
>>
>> Best regards
>>
>> -- 
>> Mario
>>
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users


signature.asc
Description: OpenPGP digital signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users