Re: [Bacula-users] Using two changers in same pool

2017-07-05 Thread Kern Sibbald
Please carefully consider the advice from Josh Fisher.  It is very good 
advice.


Kern


On 07/04/2017 12:46 AM, Per olof Ljungmark wrote:

On 2017-07-03 17:01, Kern Sibbald wrote:

Hello,

There is no way to get two autochangers to work on the same Volumes. 
You can try but it is almost sure to fail, because it was not 
designed that way.  You can potentially use the two autochangers with 
two separate pools, and get Bacula to use both of them.  This 
(multiple drives with separate pools) was implemented for stand-alone 
drives, but it was never tested, because it was not needed after 
implementing autochangers.


If someone were *really* interested he/she would need to test it and 
correct any problems in the code.  I am *very* busy implementing 
other new features that are very important so I would not be the 
person to do it.


Most people in your place would simply swap out his drive and put in 
a newer one with more capacity (unless you are already using LTO-7). 
Otherwise most other people would swap out the two autochangers and 
get a single one with more cartridges.


Best regards,

Kern


Hi,

If that is the case, no, I will not try and will mess with the code, 
others do that better.


But still, even if two changers cannot work with the same volume, they 
can still work with the same pool which is good enough for me.


And, changers are mechanical devices that sometimes break, having two 
means you can loose one and still do your job.


Cheers,

//per


On 07/03/2017 12:05 PM, Per olof Ljungmark wrote:

Hello,

As stated in the subject, how can one get two (identical) changers 
work together seamlessly in the same pool so when one has its tapes 
filled up the next will continue without intervention?


Thanks,

//per

-- 


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


Per olof Ljungmark
CEO



--
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] Restore Errors

2017-07-05 Thread Kern Sibbald

  
  
Yes, Bacula is telling you that it is a disk I/O error.

I suggest you check your kernel log.  This looks like a hardware
  I/O error.  If you find something in your kernel log, you should
  check your disk drive very carefully, it may be going bad.  If
  there are no problems noted in the kernel log, then there is some
  other problem -- such as an interface (or network) error with the
  external disk).
Best regards,
Kern


On 07/04/2017 06:50 PM, Sergio Belkin
  wrote:


  

  
Hi,
  

When  I run restore, I have the following errors:

04-Jul 13:39 bacula-sd JobId 2094: Error: block.c:429 Read
error on fd=7 at file:blk 0:397845547 on device "WStorage2"
(/backup/external/2week). ERR=Input/output error.
04-Jul 13:39 bacula-sd JobId 2094: Error: read_records.c:124
block.c:429 Read error on fd=7 at file:blk 0:397845547 on
device "WStorage2" (/backup/external/2week).
ERR=Input/output error.


  
  I've found this documentation: http://www.bacula.org/5.2.x-manuals/en/main/main/Restore_Command.html#SECTION002111
  

but I use a File Device (on an extenal disk), not a tape


  

  
Bacula version of director is 7.0
  

Is a disk error? Could be a misconfiguration?



Thanks in advance

-- 
  

  
--
  Sergio Belkin
  LPIC-2 Certified - http://www.lpi.org
  

  

  

  

  
  
  
  
  --
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] Using two changers in same pool

2017-07-05 Thread Per olof Ljungmark
On 2017-07-05 09:27, Kern Sibbald wrote:
> Please carefully consider the advice from Josh Fisher.  It is very good
> advice.
> 
> Kern

Yes, agree.


> On 07/04/2017 12:46 AM, Per olof Ljungmark wrote:
>> On 2017-07-03 17:01, Kern Sibbald wrote:
>>> Hello,
>>>
>>> There is no way to get two autochangers to work on the same Volumes.
>>> You can try but it is almost sure to fail, because it was not
>>> designed that way.  You can potentially use the two autochangers with
>>> two separate pools, and get Bacula to use both of them.  This
>>> (multiple drives with separate pools) was implemented for stand-alone
>>> drives, but it was never tested, because it was not needed after
>>> implementing autochangers.
>>>
>>> If someone were *really* interested he/she would need to test it and
>>> correct any problems in the code.  I am *very* busy implementing
>>> other new features that are very important so I would not be the
>>> person to do it.
>>>
>>> Most people in your place would simply swap out his drive and put in
>>> a newer one with more capacity (unless you are already using LTO-7).
>>> Otherwise most other people would swap out the two autochangers and
>>> get a single one with more cartridges.
>>>
>>> Best regards,
>>>
>>> Kern
>>
>> Hi,
>>
>> If that is the case, no, I will not try and will mess with the code,
>> others do that better.
>>
>> But still, even if two changers cannot work with the same volume, they
>> can still work with the same pool which is good enough for me.
>>
>> And, changers are mechanical devices that sometimes break, having two
>> means you can loose one and still do your job.
>>
>> Cheers,
>>
>> //per
>>
>>> On 07/03/2017 12:05 PM, Per olof Ljungmark wrote:
 Hello,

 As stated in the subject, how can one get two (identical) changers
 work together seamlessly in the same pool so when one has its tapes
 filled up the next will continue without intervention?

 Thanks,

 //per

 --

 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
>>
>> Per olof Ljungmark
>> CEO
> 
> 
> --
> 
> 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] Baculum xenial package.

2017-07-05 Thread Marcio Merlone

Em 08/10/2016 17:14, Marcin Haba escreveu:

I let know that I prepared Baculum 7.4.4 packages for Ubuntu 16.04. I
tested them so I added them to official Baculum packages repository.

Here is the repository definition for Ubuntu 16.04:

deb [ arch=amd64 ] http://bacula.org/downloads/baculum/ubuntu xenial main
deb-src http://bacula.org/downloads/baculum/ubuntu xenial main

The most important change in these packages is using metapackages for
PHP that currently install modules for PHP 7.

Hi,

I am trying to install Baculum on a Ubuntu 16.04 server with no luck, it 
looks for a php5 package, which is not available:


root@phobos:/var/www/html/baculum# apt install baculum-apache2 baculum
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 baculum : Depends: php5-cgi but it is not installable
   Depends: php5-curl but it is not installable
   Depends: php5-json but it is not installable
   Depends: php5-mysql but it is not installable
   Depends: php5-pgsql but it is not installable
   Depends: php5-sqlite but it is not installable
 baculum-apache2 : Depends: libapache2-mod-php5 but it is not installable
E: Unable to correct problems, you have held broken packages.
root@phobos:/var/www/html/baculum#

Any hint?

--
*Marcio Merlone*
--
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] Baculum xenial package.

2017-07-05 Thread Marcin Haba
Hello Marcio,

Thanks for the report.

It is a bit strange because latest Baculum 7.4.4 in the stable
packages repository for Ubuntu 16.04 doesn't contain PHP 5
dependencies. I think that you are trying to install an older version
than 7.4.4 or you use other repository than the official.

Here is my test on Ubuntu 16.04:

# LANG=C apt-get install baculum-apache2 baculum
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic
linux-image-4.4.0-31-generic linux-image-extra-4.4.0-31-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  baculum baculum-apache2
0 upgraded, 2 newly installed, 0 to remove and 275 not upgraded.
Need to get 0 B/1347 kB of archives.
After this operation, 8168 kB of additional disk space will be used.
Selecting previously unselected package baculum.
(Reading database ... 244795 files and directories currently installed.)
Preparing to unpack .../baculum_7.4.4-1_all.deb ...
Unpacking baculum (7.4.4-1) ...
Selecting previously unselected package baculum-apache2.
Preparing to unpack .../baculum-apache2_7.4.4-1_all.deb ...
Unpacking baculum-apache2 (7.4.4-1) ...
Setting up baculum (7.4.4-1) ...
Setting up baculum-apache2 (7.4.4-1) ...


I propose to use Baculum 7.9 beta packages for Ubuntu 16.04.
Installation process is described here:

http://www.bacula.org/7.9.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION0034

Please note that this version 7.9 beta doesn't support update between
7.4.4 and 7.9. For users with 7.4.4 there is required uninstall 7.4.4
and install 7.9.

Best regards.
Marcin Haba (gani)

On 5 July 2017 at 15:10, Marcio Merlone  wrote:
> Em 08/10/2016 17:14, Marcin Haba escreveu:
>
> I let know that I prepared Baculum 7.4.4 packages for Ubuntu 16.04. I
> tested them so I added them to official Baculum packages repository.
>
> Here is the repository definition for Ubuntu 16.04:
>
> deb [ arch=amd64 ] http://bacula.org/downloads/baculum/ubuntu xenial main
> deb-src http://bacula.org/downloads/baculum/ubuntu xenial main
>
> The most important change in these packages is using metapackages for
> PHP that currently install modules for PHP 7.
>
> Hi,
>
> I am trying to install Baculum on a Ubuntu 16.04 server with no luck, it
> looks for a php5 package, which is not available:
>
> root@phobos:/var/www/html/baculum# apt install baculum-apache2 baculum
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  baculum : Depends: php5-cgi but it is not installable
>Depends: php5-curl but it is not installable
>Depends: php5-json but it is not installable
>Depends: php5-mysql but it is not installable
>Depends: php5-pgsql but it is not installable
>Depends: php5-sqlite but it is not installable
>  baculum-apache2 : Depends: libapache2-mod-php5 but it is not installable
> E: Unable to correct problems, you have held broken packages.
> root@phobos:/var/www/html/baculum#
>
> Any hint?
>
> --
> Marcio Merlone
>
> --
> 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
>



-- 
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus

--
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] Baculum xenial package.

2017-07-05 Thread Steven Hammond
Was curious about this 'Baculum' package so I typed in BACULUM in my 
Google search bar.   LOL - I wish now I hadn't.


Steven Hammond



On 7/5/2017 11:35 AM, Marcin Haba wrote:

Hello Marcio,

Thanks for the report.

It is a bit strange because latest Baculum 7.4.4 in the stable
packages repository for Ubuntu 16.04 doesn't contain PHP 5
dependencies. I think that you are trying to install an older version
than 7.4.4 or you use other repository than the official.

Here is my test on Ubuntu 16.04:

# LANG=C apt-get install baculum-apache2 baculum
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
   linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic
linux-image-4.4.0-31-generic linux-image-extra-4.4.0-31-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
   baculum baculum-apache2
0 upgraded, 2 newly installed, 0 to remove and 275 not upgraded.
Need to get 0 B/1347 kB of archives.
After this operation, 8168 kB of additional disk space will be used.
Selecting previously unselected package baculum.
(Reading database ... 244795 files and directories currently installed.)
Preparing to unpack .../baculum_7.4.4-1_all.deb ...
Unpacking baculum (7.4.4-1) ...
Selecting previously unselected package baculum-apache2.
Preparing to unpack .../baculum-apache2_7.4.4-1_all.deb ...
Unpacking baculum-apache2 (7.4.4-1) ...
Setting up baculum (7.4.4-1) ...
Setting up baculum-apache2 (7.4.4-1) ...


I propose to use Baculum 7.9 beta packages for Ubuntu 16.04.
Installation process is described here:

http://www.bacula.org/7.9.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION0034

Please note that this version 7.9 beta doesn't support update between
7.4.4 and 7.9. For users with 7.4.4 there is required uninstall 7.4.4
and install 7.9.

Best regards.
Marcin Haba (gani)

On 5 July 2017 at 15:10, Marcio Merlone  wrote:

Em 08/10/2016 17:14, Marcin Haba escreveu:

I let know that I prepared Baculum 7.4.4 packages for Ubuntu 16.04. I
tested them so I added them to official Baculum packages repository.

Here is the repository definition for Ubuntu 16.04:

deb [ arch=amd64 ] http://bacula.org/downloads/baculum/ubuntu xenial main
deb-src http://bacula.org/downloads/baculum/ubuntu xenial main

The most important change in these packages is using metapackages for
PHP that currently install modules for PHP 7.

Hi,

I am trying to install Baculum on a Ubuntu 16.04 server with no luck, it
looks for a php5 package, which is not available:

root@phobos:/var/www/html/baculum# apt install baculum-apache2 baculum
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  baculum : Depends: php5-cgi but it is not installable
Depends: php5-curl but it is not installable
Depends: php5-json but it is not installable
Depends: php5-mysql but it is not installable
Depends: php5-pgsql but it is not installable
Depends: php5-sqlite but it is not installable
  baculum-apache2 : Depends: libapache2-mod-php5 but it is not installable
E: Unable to correct problems, you have held broken packages.
root@phobos:/var/www/html/baculum#

Any hint?

--
Marcio Merlone

--
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] Baculum xenial package.

2017-07-05 Thread Vanush "Misha" Paturyan
On 5 July 2017 at 17:35, Marcin Haba  wrote:

> Hello Marcio,
>
> Thanks for the report.
>
> It is a bit strange because latest Baculum 7.4.4 in the stable
> packages repository for Ubuntu 16.04 doesn't contain PHP 5
> dependencies. I think that you are trying to install an older version
> than 7.4.4 or you use other repository than the official.
>


​simple "apt-cache policy ​baculum" should show you which repository the
"baculum" package is being installed from.

and "apt-cache showpkg baculum" will list its dependencies.
--
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] Baculum xenial package.

2017-07-05 Thread Marcio Merlone

Hello,

Indeed, forgot I have a ppa (hawq/bacula) for latest bacula packages and 
it does have a baculum package, sorry for the mess and thanks all for 
your help.


Best regards.


Em 05/07/2017 14:00, Vanush "Misha" Paturyan escreveu:


On 5 July 2017 at 17:35, Marcin Haba > wrote:


It is a bit strange because latest Baculum 7.4.4 in the stable
packages repository for Ubuntu 16.04 doesn't contain PHP 5
dependencies. I think that you are trying to install an older version
than 7.4.4 or you use other repository than the official.


​simple "apt-cache policy ​baculum" should show you which repository 
the "baculum" package is being installed from.


and "apt-cache showpkg baculum" will list its dependencies.


--
*Marcio Merlone*
--
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