[Bacula-users] Deleting a completed job and its associated S3 storage?

2023-04-11 Thread Anderson, Craig via Bacula-users
Hello,

Is it possible to delete a completed job and free the associated S3 storage in 
the Volume?  The volume contains the parts from multiple jobs, so deleting the 
whole volume is out.  I looked in the manual about purging and truncating the 
volume but couldn’t find details about exactly what those commands do, which is 
somewhat frustrating.

Any help would be appreciated.

Craig








- CONFIDENTIAL-

This email and any files transmitted with it are confidential, and may also be 
legally privileged. If you are not the intended recipient, you may not review, 
use, copy, or distribute this message. If you receive this email in error, 
please notify the sender immediately by reply email and then delete this email.
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help with upgrading Bacula 9.4 on Ubunta 20.04

2022-09-08 Thread Anderson, Craig via Bacula-users
It sounds like you have a new installation of 9.4, in which case you probably 
don’t need to run an upgrade script.

Note that Bacula 11.0.6 builds and runs fine on Ubuntu 20.04 if you want to run 
something more recent.

--
Craig Anderson
craig.ander...@zebra.com


From: Don Hammer 
Date: Wednesday, August 31, 2022 at 10:02 AM
To: bacula-users@lists.sourceforge.net 
Subject: [Bacula-users] Help with upgrading Bacula 9.4 on Ubunta 20.04
[External Email]
I will preface this as stating I am a Linux novice.
I have installed and configured Bacula on Ubunta 20.04 using a Sourceforge 
article and ran the command apt-get install bacula –y which installed version 
9.4.2 and I am trying to upgrade the version. The 9.4 documentation refers to 
running ./update_bacula_tables for upgrading but that script is not on the 
system.
I also have bacularis installed and working on the system.
What is the best way to get to a later version.

Don Hammer
Systems Admin for Sherman Bros Trucking
d...@sbht.com
Direct 541-998-7218
Main Office: 541-995-7751




- CONFIDENTIAL-

This email and any files transmitted with it are confidential, and may also be 
legally privileged. If you are not the intended recipient, you may not review, 
use, copy, or distribute this message. If you receive this email in error, 
please notify the sender immediately by reply email and then delete this email.
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring files from S3 problem

2022-06-29 Thread Anderson, Craig via Bacula-users
Update: Bill’s instructions worked.  Thank you!

Is there any way this information can make its way into the manual?

--
Craig Anderson
craig.ander...@zebra.com


From: Bill Arlofski via Bacula-users 
Date: Thursday, June 16, 2022 at 2:37 PM
To: bacula-users@lists.sourceforge.net 
Subject: Re: [Bacula-users] Restoring files from S3 problem
[External Email]

On 6/16/22 12:28, Anderson, Craig via Bacula-users wrote:
> I’m attempting to do a restore of all backed up files.  The backups are 
> located in an S3 bucket.  I tried to do the restore
> both with and without the bootstrap file generated when the full backup was 
> taken.
>
> In both cases, the restore failed with:
>
> Read open Cloud device "S3CloudDevice" (/var/backups-bacula/S3_cache) Volume 
> "Vol-0001" failed: ERR=cloud_dev.c:1433 Could
> not open(/var/backups-bacula/S3_cache/Vol-0001/part.1,OPEN_READ_ONLY,0640): 
> ERR=No such file or directory
>
> That directory is the archive directory, but it is empty because I am 
> simulating restoring onto a new system.
>
> Should I manually copy the Vol-0001 directory from S3?  Or is there a way to 
> get Bacula to get the files from S3?
>
> Thank you.

Hello Craig...

At a bare minimum during this simulation you will need the volume's part.1 
file. This is basically just the Bacula label and
is about 150 or so bytes.

So, create a directory tree:

/var/backups-bacula/S3_cache/Vol-0001

Then copy part.1 into this directory, then set the ownership and permissions so 
the 'bacula' user can read/write, to that
Vol-0001 directory and the part.1 file.

If you have all the proper configurations for the SD, then the rest of the 
cloud volume parts will be automatically
downloaded  during the restore.

Bacula needs to see this "label" volume before anything will work.


Hope this helps,
Bill

--
Bill Arlofski
w...@protonmail.com



- CONFIDENTIAL-

This email and any files transmitted with it are confidential, and may also be 
legally privileged. If you are not the intended recipient, you may not review, 
use, copy, or distribute this message. If you receive this email in error, 
please notify the sender immediately by reply email and then delete this email.
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restoring files from S3 problem

2022-06-16 Thread Anderson, Craig via Bacula-users
I’m attempting to do a restore of all backed up files.  The backups are located 
in an S3 bucket.  I tried to do the restore both with and without the bootstrap 
file generated when the full backup was taken.
In both cases, the restore failed with:

Read open Cloud device "S3CloudDevice" (/var/backups-bacula/S3_cache) Volume 
"Vol-0001" failed: ERR=cloud_dev.c:1433 Could not 
open(/var/backups-bacula/S3_cache/Vol-0001/part.1,OPEN_READ_ONLY,0640): ERR=No 
such file or directory

That directory is the archive directory, but it is empty because I am 
simulating restoring onto a new system.
Should I manually copy the Vol-0001 directory from S3?  Or is there a way to 
get Bacula to get the files from S3?

Thank you.

Craig Anderson







- CONFIDENTIAL-

This email and any files transmitted with it are confidential, and may also be 
legally privileged. If you are not the intended recipient, you may not review, 
use, copy, or distribute this message. If you receive this email in error, 
please notify the sender immediately by reply email and then delete this email.
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users