Re: [Bacula-users] Cloud Storage?

2018-03-15 Thread Ken Mandelberg

On 03/15/2018 09:06 AM, Radosław Korzeniewski wrote:

Hello,

2018-03-13 14:49 GMT+01:00 Ken Mandelberg >:


Is there anything new in using Bacula with Cloud Storage? I was
under the impression that a feature was being added to the
commercial version
(perhaps an S3 interface)


There are two interfaces available now: S3 and Azure. :)


I presume you mean they are available on the commercial version. Is 
there any news on it coming to the community version?


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup to file, filesize limit not working

2018-03-15 Thread Dimitri Maziuk
On 03/15/2018 03:11 PM, Sebastian Suchanek wrote:

> I just did - unfortunately, with no effect. After restarting the
> director and letting the backup job run manually, the backup file just
> got even bigger.

I wonder if you have to run "update volume maxvolbytes=NNN" in bconsole
in order for it to apply to existing volume. I'm pretty sure "Maximum
Volume Bytes = 4980736" worked on 5.x here (I'm on v.7 now).

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu



signature.asc
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup to file, filesize limit not working

2018-03-15 Thread Sebastian Suchanek
Am 15.03.2018 um 20:38 schrieb Pedro Oliveira:

Hi Pedro!

> Hi Sebastian, try to change the 
> 
> Maximum Volume Bytes = 500MB 
> 
> To 
> 
> Maximum Volume Bytes = 5 

I just did - unfortunately, with no effect. After restarting the
director and letting the backup job run manually, the backup file just
got even bigger.

> I also recommend to upgrade to version 9.x

I'm rather reluctant to use software "outside" of my distribution's
repository. I /could/ upgrade from Debian Jessie to Debian Stretch,
which would come with Bacula v7.4.4, but since this update will cause a
lot of work because of other interdependencies (independent of Bacula),
I'm postponing this for the moment.


Regards

Sebastian


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup to file, filesize limit not working

2018-03-15 Thread Pedro Oliveira
Hi Sebastian, try to change the

Maximum Volume Bytes = 500MB

To

Maximum Volume Bytes = 5

I also recommend to upgrade to version 9.x

Best

Pedro


2018-03-15 19:30 GMT+00:00 Sebastian Suchanek :

> Hi all!
>
> Currently, I'm trying to set up and getting familiar with Bacula.
> (v5.2.6 - that's the version that comes with my Linux distribution
> Debian Jessie.)
>
> For making backups of the Bacula catalog, I've made the following
> configurations:
>
> - bacula-sd.conf --
> [...]
> Device {
>   Name = FileStorage
>   Media Type = File
>   Archive Device = /srv/bacula/file
>   LabelMedia = yes
>   Random Access = yes
>   AutomaticMount = yes
>   RemovableMedia = no
>   AlwaysOpen = no
> }
> [...]
> ---
>
> - bacula-dir.conf -
> []
> Job {
>   Name = "BackupCatalog"
>   JobDefs = "DefaultJob"
>   Level = Full
>   FileSet="Catalog"
>   Schedule = "WeeklyCycleAfterBackup"
>   RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
>   RunAfterJob  = "/etc/bacula/scripts/delete_catalog_backup"
>   Write Bootstrap = "/var/lib/bacula/%n.bsr"
>   Priority = 11
> }
>
> Schedule {
>   Name = "WeeklyCycleAfterBackup"
>   Run = Full sun-sat at 20:10
> }
>
> FileSet {
>   Name = "Catalog"
>   Include {
> Options {
>   signature = MD5
> }
> File = "/var/lib/bacula/bacula.sql"
>   }
> }
>
> Storage {
>   Name = File
>   Address = localhost
>   SDPort = 9103
>   Password = "xIOrJZDj98rAAfP3S_dN8ipaa6RbxCkV9"
>   Device = FileStorage
>   Media Type = File
> }
>
> Pool {
>   Name = File
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 365 days
>   Maximum Volume Bytes = 500MB
>   Maximum Volumes = 10
>   LabelFormat = "file"
> }
> ---
>
> With this configuration, I would expect that Bacula writes the jobs to a
> file "file" in /srv/bacula/file and, as soon as this file's size
> reaches 500MB, creates a new file and continues with that. (Up to ten
> files.) But instead, Bacula keeps writing to a single file, which
> currently has grown to around 690MB, IOW well above 500MB.
> What's going wrong here? How can I make Bacula create a new file once
> the current file's size has reached 500MB?
>
>
> Regards
>
> Sebastian
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



-- 
--
Cumprimentos,

Pedro Oliveira

Rua Antonio Botto | Nº 23 | 1º A | 2950-565 Quinta do Anjo

tel +351 218 440 100 | mobile +351 916 111 464

website   |
  



*Aviso de Confidencialidade:* Esta mensagem é exclusivamente destinada ao
seu destinatário, podendo conter informação CONFIDENCIAL, cuja divulgação
está expressamente vedada nos termos da lei. Caso tenha recepcionado
indevidamente esta mensagem, solicitamos-lhe que nos comunique esse mesmo
facto por esta via ou para o telefone +351 916111464  devendo apagar o seu
conteúdo de imediato.

This message is intended exclusively for its addressee. It may contain
CONFIDENTIAL information protected by law. If this message has been
received by error, please notify us via e-mail or by telephone
+351916111464 and delete it immediately.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backup to file, filesize limit not working

2018-03-15 Thread Sebastian Suchanek
Hi all!

Currently, I'm trying to set up and getting familiar with Bacula.
(v5.2.6 - that's the version that comes with my Linux distribution
Debian Jessie.)

For making backups of the Bacula catalog, I've made the following
configurations:

- bacula-sd.conf --
[...]
Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /srv/bacula/file
  LabelMedia = yes
  Random Access = yes
  AutomaticMount = yes
  RemovableMedia = no
  AlwaysOpen = no
}
[...]
---

- bacula-dir.conf -
[]
Job {
  Name = "BackupCatalog"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
  RunAfterJob  = "/etc/bacula/scripts/delete_catalog_backup"
  Write Bootstrap = "/var/lib/bacula/%n.bsr"
  Priority = 11
}

Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Full sun-sat at 20:10
}

FileSet {
  Name = "Catalog"
  Include {
Options {
  signature = MD5
}
File = "/var/lib/bacula/bacula.sql"
  }
}

Storage {
  Name = File
  Address = localhost
  SDPort = 9103
  Password = "xIOrJZDj98rAAfP3S_dN8ipaa6RbxCkV9"
  Device = FileStorage
  Media Type = File
}

Pool {
  Name = File
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 365 days
  Maximum Volume Bytes = 500MB
  Maximum Volumes = 10
  LabelFormat = "file"
}
---

With this configuration, I would expect that Bacula writes the jobs to a
file "file" in /srv/bacula/file and, as soon as this file's size
reaches 500MB, creates a new file and continues with that. (Up to ten
files.) But instead, Bacula keeps writing to a single file, which
currently has grown to around 690MB, IOW well above 500MB.
What's going wrong here? How can I make Bacula create a new file once
the current file's size has reached 500MB?


Regards

Sebastian

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula asking for tape that is already loaded

2018-03-15 Thread Ryan Butler
Disabling the tape made it pick a different tape, which did work. Thanks!

-ryan

From: Josh Fisher 
Date: Thursday, March 15, 2018 at 3:25 AM
To: "bacula-users@lists.sourceforge.net" 
Subject: Re: [Bacula-users] Bacula asking for tape that is already loaded


It could be a damaged tape. You can disable the volume in bconsole. This will 
force Bacula to select another tape. If the job runs OK with another tape, then 
it is likely a bad tape.

On 3/14/2018 7:10 PM, Ryan Butler wrote:
Hello all,

I’m losing my mind over here as I do not know what Bacula wants from me. It’s 
trying to run a job but is saying: Please mount append Volume "DK6452L4" or 
label a new one”. The tape drive has that tape loaded, I’ve rebooted both the 
tape drive and the Bacula server, the tape’s status is “Recycle” with the 
Recycle flag set to 1.

I’ve tried doing a mount:

*mount storage=LTO4 slot=1
3001 OK mount requested. Specified slot ignored. Device="LTO4" (/dev/nst0)

It ignores it since slot 1 (the slot that has the tape it wants) is already 
loaded in the drive. I’ve tried moving the tape out of the drive and back into 
the slot, and re-running the job, which will load the proper tape and then give 
me the same error.

List media shows this for that tape:

| MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
|   9,850 | DK6452L4   | Recycle|   1 |   1 |0 |
5,184,000 |   1 |1 | 1 | LTO4  | 2017-07-25 02:33:25 |

I’ve tried changing the volume’s status to “Append” instead of recycle with no 
change in results.

Running Bacula version 7.0.5.

Any ideas? I can’t fathom what it wants me to do, since the tape is currently 
loaded in the drive. Thanks!

-ryan




--

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




___

Bacula-users mailing list

Bacula-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cloud Storage?

2018-03-15 Thread Radosław Korzeniewski
Hello,

2018-03-13 14:49 GMT+01:00 Ken Mandelberg :

> Is there anything new in using Bacula with Cloud Storage? I was under the
> impression that a feature was being added to the commercial version
> (perhaps an S3 interface)


There are two interfaces available now: S3 and Azure. :)

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula asking for tape that is already loaded

2018-03-15 Thread Josh Fisher
It could be a damaged tape. You can disable the volume in bconsole. This 
will force Bacula to select another tape. If the job runs OK with 
another tape, then it is likely a bad tape.



On 3/14/2018 7:10 PM, Ryan Butler wrote:


Hello all,

I’m losing my mind over here as I do not know what Bacula wants from 
me. It’s trying to run a job but is saying: Please mount append Volume 
"DK6452L4" or label a new one”. The tape drive has that tape loaded, 
I’ve rebooted both the tape drive and the Bacula server, the tape’s 
status is “Recycle” with the Recycle flag set to 1.


I’ve tried doing a mount:

*mount storage=LTO4 slot=1

3001 OK mount requested. Specified slot ignored. Device="LTO4" (/dev/nst0)

It ignores it since slot 1 (the slot that has the tape it wants) is 
already loaded in the drive. I’ve tried moving the tape out of the 
drive and back into the slot, and re-running the job, which will load 
the proper tape and then give me the same error.


List media shows this for that tape:

| MediaId | VolumeName | VolStatus | Enabled | VolBytes    | 
VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten     |


|   9,850 | DK6452L4   | Recycle    |   1 |   1 | 0 
|    5,184,000 |   1 |    1 | 1 | LTO4  | 2017-07-25 
02:33:25 |


I’ve tried changing the volume’s status to “Append” instead of recycle 
with no change in results.


Running Bacula version 7.0.5.

Any ideas? I can’t fathom what it wants me to do, since the tape is 
currently loaded in the drive. Thanks!


**

*-ryan*



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


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


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users