Re: [Bacula-users] is not a Bacula labeled Volume, because: ERR=block.c:1023 Re

2014-10-26 Thread Marcin Haba
On 24.10.2014 13:34, Che_m wrote:
> According to the bacula database, the tape has 500GB of data written on it.
>
> I'm trying to check out on the tape itself, but knowledge of the mtx script 
> is limited.
>
> However, the difference of nst0 and st0 is, the first one does not 
> autorewind. and as stated by kern, bacula avoids rewinding the tape. so.
>
> also, this is tape which I have problems with, is the last one in a pool of 4 
> for that month specific.
>
> during the restore, it selects the 3 other tapes correctly, but it does not 
> complete the restore, because of the 4th tape.

Hello,

You can try to use bls, bextract or bcopy Bacula program for checking 
what exactly is on tape that makes problem.

Best regards.
Marcin Haba

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


Re: [Bacula-users] Client restore self service

2014-11-14 Thread Marcin Haba
2014-11-14 20:55 GMT+01:00 Peter Viskup :
> Hi all,
> searching for some enterprise ready backup solution. Bacula seems promising.
> Just trying to find information whether there is any possibility to restore
> files by the users themselves without admin rights.
> Is it ready to integrate it with Kerberos/AD authentication - for admin/user
> logon?
> Thank you in advance for your answers.

Hello,

Bacula has support for ACL with access defined in text configuration
files. The functionality is named Console ACL and more information you
can find in documentation here:

http://www.bacula.org/7.0.x-manuals/en/main/Configuring_Director.html#SECTION001518

By using Console ACL functionality you can assign resources (e.g.
backup jobs, restore jobs, clients, storages) for which end-user via
text console, GUI console is allowed to use these restricted resources
and no other resources.

In short relation looks like below (1):

SERVER <-> TEXT/GUI console <-> END user

or with Web interface (2):

SERVER <-> TEXT console <-> Web Interface <-> END user

where:
- SERVER - general meaning Bacula server services,
- TEXT console - bconsole tool
- GUI console - BAT (Bacula Administration Tool)
- Web Interface - any that has support for restrited consoles

About integration with AD:

You can integrate AD users on web server level in solution (2) as auth
backend. Apache has support for LDAP, AD and others. At the end you
can allow end-users to login to web interface by HTTP Basic that in
your case will be use as auth backend your AD.

Best regards.
Marcin


>
> --
> Peter Viskup
>
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



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

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum Ubuntu packages

2015-03-10 Thread Marcin Haba
2015-03-10 21:32 GMT+01:00 Heitor Faria :
>
>> Hello,
>>
>> I let know that I prepared Baculum binary packages for Ubuntu 14.04
>> and Ubuntu 14.10.
>
> Thanks Marcin. I wonder if they also work on Debian.

Hello,

Yes, the packages will work on Debian but not by adding repository.
For Debian is need to download Baculum package manually.

Then can run gdebi that will install Baculum with required
dependencies. For example:

gdebi baculum_7.0+git20150208ppa1~utopic1_all.deb

or alternativelly is possible to install by dpkg in two next steps:

dpkg -i baculum_7.0+git20150208ppa1~utopic1_all.deb
apt-get -f install

In near future I will try to prepare repository and packages for Debian too.

Best regards.
Marcin Haba (gani)

>
>>
>> They are available on Launchpad.net service as PPA repository located here:
>>
>> https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum
>>
>> For install Baculum you can use following three commands:
>>
>> sudo add-apt-repository ppa:ganiuszka/baculum
>> sudo apt-get update
>> sudo apt-get install baculum
>>
>> After installation, you can go to:
>>
>> http://localhost:9095
>>
>> First time login is: admin
>> First time password is: admin
>>
>> Please feel free to change user and password by initial Baculum wizard.
>>
>> The Baculum binary packages are not official yet and they contain
>> latest snapshot from Bacula Git repository.
>>
>> Feedback and comments are welcome.
>>
>> Best regards.
>> Marcin Haba (gani)
>>
>> --
>> "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
>> za przyjaciół swoich." Jezus Chrystus
>>
>> --
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub for
>> all
>> things parallel software development, from weekly thought leadership blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>



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

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum Ubuntu packages

2015-03-10 Thread Marcin Haba
2015-03-10 21:13 GMT+01:00 compdoc :
>> I let know that I prepared Baculum binary packages for Ubuntu 14.04 and 
>> Ubuntu 14.10.
>
> Baculum is an unfortunate choice of name. lol

Hello,

I hear about it from time to time :-) It does not make any problem for me.

Regards.
Marcin Haba (gani)



>
>
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



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

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Baculum Ubuntu packages

2015-03-12 Thread Marcin Haba
Hello,

I let know that I prepared Baculum binary packages for Ubuntu 14.04
and Ubuntu 14.10.

They are available on Launchpad.net service as PPA repository located here:

https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum

For install Baculum you can use following three commands:

sudo add-apt-repository ppa:ganiuszka/baculum
sudo apt-get update
sudo apt-get install baculum

After installation, you can go to:

http://localhost:9095

First time login is: admin
First time password is: admin

Please feel free to change user and password by initial Baculum wizard.

The Baculum binary packages are not official yet and they contain
latest snapshot from Bacula Git repository.

Feedback and comments are welcome.

Best regards.
Marcin Haba (gani)

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

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum not working on Ubuntu 14.04 LTS running Bacula 7.0.5

2015-05-31 Thread Marcin Haba
Hello,

Your web server configuration looks well.

Could you tell me if you placed hidden file ".htaccess"  from tar.gz
archive to location:

/var/www/baculum/

The hidden file consists mod_rewrite rules and I guess that during
copying from tar.gz archive the hidden file has not been copied.

If you are interested in Baculum binary package for your Ubuntu 14.04,
here is unofficial PPA project on Launchpad.net:

https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum

The binary packages contain almost latest Baculum snapshot from Bacula
Git archive.

From 7.0.5 version to current Git version there are a lot of new
functionalities in Baculum.

Best regards.
Marcin Haba (gani)

2015-06-01 0:38 GMT+02:00 Mike Boyce :
> I'm currently testing Bacula 7.0.5 before deploying it into a production
> environment.  This is a fresh install of Ubuntu just to test setting up and
> running Bacula.
>
> The problem I have is that when I set up Baculum according to the
> instructions included with the file I get an error when pointing my browser
> at the web server:
>
> Not Found
>
> The requested URL /wizard/ was not found on this server.
>
> 
> Apache/2.4.7 (Ubuntu) Server at 192.168.25.101 Port 80
>
>
> I've googled this and read as much as I can find, but I have applied all the
> fixes and double and triple-checked my settings and the solutions that are
> offered don't apply to me b/c I've already applied the solutions.
>
> I set the document root to the directory that I have baculum in:
> /var/www/baculum.  After unpacking it there I changed the ownership
> recursively the www-data:www-data on that directory.
>
> The other thing I've seen suggested to resolve this is to enable mod
> rewrite, but I've already enabled it.  It's even in the instructions under
> the Debian specific part.
>
> Included is my apache config file.  Any help that anyone can provide will be
> greatly appreciated.
>
> 
> # The ServerName directive sets the request scheme, hostname and port
> that
> # the server uses to identify itself. This is used when creating
> # redirection URLs. In the context of virtual hosts, the ServerName
> # specifies what hostname must appear in the request's Host: header to
> # match this virtual host. For the default virtual host (this file) this
> # value is not decisive as it is used as a last resort host regardless.
> # However, you must set it for any further virtual host explicitly.
> #ServerName www.example.com
>
> ServerAdmin webmaster@localhost
> DocumentRoot /var/www/baculum
> ServerName Ubuntu14-04.boycenet.local
> 
> RewriteEngine On
> AllowOverride All
> AuthType Basic
> AuthName MyPrivateFile
> AuthUserFile /etc/apache2/passwords
> Require valid-user
> Order allow,deny
> Allow from all
> 
>
> # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
> # error, crit, alert, emerg.
> # It is also possible to configure the loglevel for particular
> # modules, e.g.
> #LogLevel info ssl:warn
>
> ErrorLog ${APACHE_LOG_DIR}/error.log
> CustomLog ${APACHE_LOG_DIR}/access.log combined
>
> # For most configuration files from conf-available/, which are
> # enabled or disabled at a global level, it is possible to
> # include a line for only one particular virtual host. For example the
> # following line enables the CGI configuration for this host only
> # after it has been globally disabled with "a2disconf".
> #Include conf-available/serve-cgi-bin.conf
> 
>
> Thanks!
> Mike Boyce
>
>
> --
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



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

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


Re: [Bacula-users] Baculum - Graphics

2015-06-06 Thread Marcin Haba
2015-06-06 13:07 GMT+02:00 Erwan RIGOLLOT :
> Hi,
>
> In baculum , how to access the graphics ?
>
> Thanks
>
> Erwan

Hello Erwan,

What do you exactly mean by "the graphics"?

Best regards.
Marcin Haba (gani)

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


Re: [Bacula-users] Baculum - Graphics

2015-06-06 Thread Marcin Haba
Hello,

Yes. It is exactly as Kern said - access is realized by web browser.

If you installed Baculum from binary package from Launchpad.net then
default port for HTTP access is 9095, for example:

http://localhost:9095/

first time login: admin
first time password: admin

If you installed Baculum from tar.gz archive then your Baculum access
depends on your web server settings for Baculum (HTTP or HTTPS, host,
port...)

Best regards.
Marcin Haba (gani)

2015-06-06 13:50 GMT+02:00 Kern Sibbald :
> Hello,
>
> I think the answer that you are looking for is: once Baculum is installed
> and configure, it is a web application, so you access Baculum and its
> graphical user interface from your web browser.
>
> Best regards,
> Kern
>
>
> On 06.06.2015 13:07, Erwan RIGOLLOT wrote:
>
> Hi,
>
> In baculum , how to access the graphics ?
>
> Thanks
>
> Erwan
>
>
> --
>
>
>
> ___
> 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
>



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

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


Re: [Bacula-users] Baculum - Graphics

2015-06-06 Thread Marcin Haba
Hello,

The graphs and rest of new functionalities are available in current
Bacula Git repository here:

http://www.bacula.org/git/cgit.cgi/bacula/tree/gui?h=Branch-7.0

You can use Baculum version from Git or wait on new release.

Best regards.
Marcin Haba (gani)

2015-06-06 14:13 GMT+02:00 Erwan RIGOLLOT :
> Hi
> Thanks for you answer and sorry for my bad English.
>
> I can access to baculum and start recovery files etc...
>
> But i don't know how to access to graphical reports like attached picture.
>
> Thanks
>
> Erwan
> 
> De : Kern Sibbald
> Envoyé : ‎06/‎06/‎2015 13:50
> À : Erwan RIGOLLOT; bacula-users@lists.sourceforge.net
> Objet : Re: [Bacula-users] Baculum - Graphics
>
> Hello,
>
> I think the answer that you are looking for is: once Baculum is installed
> and configure, it is a web application, so you access Baculum and its
> graphical user interface from your web browser.
>
> Best regards,
> Kern
>
> On 06.06.2015 13:07, Erwan RIGOLLOT wrote:
>
> Hi,
>
> In baculum , how to access the graphics ?
>
> Thanks
>
> Erwan
>
>
> --
>
>
>
> ___
> 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
>



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

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


Re: [Bacula-users] Dell TL4000 labeling timeout

2015-06-17 Thread Marcin Haba
Hello,

Do you have any errors in dmesg (hardware errors, bus reset, SCSI
errors ... etc.) ?

Best regards,
Marcin Haba (gani)

2015-06-17 21:56 GMT+02:00 Andrew Noonan :
> Hi all,
>
>  It's taking a lot longer because of the higher timeouts, but the
> label is still failing with a termination.  If I understand it
> correctly, the mtx-changer script is polling with 'mt' looking for the
> $ready state, defined in the config file as ONLINE (for Linux).  I'm
> not seeing drive 0 go into that state... I just see:
>
> SCSI 2 tape drive:
> File number=-1, block number=-1, partition=0.
> Tape block size 0 bytes. Density code 0x0 (default).
> Soft error count since last status=0
> General status bits on (5):
>  DR_OPEN IM_REP_EN
>
> the other device looks like:
>
> SCSI 2 tape drive:
> File number=0, block number=0, partition=0.
> Tape block size 0 bytes. Density code 0x5a (no translation).
> Soft error count since last status=0
> General status bits on (4101):
>  BOT ONLINE IM_REP_EN
>
> So I see that it's ~possible~ to see the ONLINE state, but it doesn't
> seem like it ever gets to that state during load.
>
> Any thoughts?
>
> Thanks,
> Andrew
>
> On Wed, Jun 17, 2015 at 11:44 AM, Andrew Noonan  wrote:
>> Hi Ana,
>>
>>  Thanks for the reply.  I'm adding those into the drives.  BTW,
>> 900 is the value.  Having no real experience with these, is it
>> abnormal for a load to take the 10+ minutes, or is that reasonable?
>> My next step is to add those settings in, restart the SD, and attempt
>> to do a "label barcode" again.
>>
>> Thanks,
>> Andrew
>>
>> On Tue, Jun 16, 2015 at 9:10 PM, Ana Emília M. Arruda
>>  wrote:
>>> Hello Andrew,
>>>
>>> You can find in the output of a "lsscsi -l" command the timeout for your
>>> drives. Then you can configure 3 timeout directives for each one of your two
>>> drives (LRADrive-1 e LRADrive-2):
>>>
>>> Maximum Changer Wait = X
>>> Maximum Rewind Wait = X
>>> Maximum Open Wait = X
>>>
>>> where X is the timeout value for your dirves.
>>>
>>> You can also customize your mtx-changer script for this timeout changing the
>>> bellow 300 seconds value:
>>>
>>> wait_for_drive() {
>>>   i=0
>>>   while [ $i -le 300 ]; do  # Wait max 300 seconds
>>>
>>> Best regards,
>>> Ana
>>>
>>>
>>> On Tue, Jun 16, 2015 at 5:02 PM, Andrew Noonan  wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I'm almost completely new to tape.  We've been doing disk-based
>>>> backups for years, but we now have a project where we want to offsite
>>>> hundreds of TB permanently, and have a Dell TL4000 (a rebranded IBM
>>>> 3573-TL from the looks of it) with 2 ULT3580 LTO-6 drives.  We're
>>>> running bacula 5.2.  The server is a Dell 1950 running Centos 5 (sorry
>>>> for the old OS).
>>>>
>>>> The btape tests run on both units without a problem, including the
>>>> autochanger tests, and manually executing load/unload/list commands
>>>> with mtx-changer seem to run fine.  The one exception to this is that
>>>> the mtx-changer load command seems to take about 10 minutes to
>>>> complete, which seems unreasonably long.  These are brand new tapes
>>>> and I haven't written anything to them other then whatever btape does
>>>> with testing.  I put a 5 minute sleep on the load for mtx-changer, but
>>>> other then that haven't customized the script, as I'm not sure what
>>>> I'd customize.
>>>>
>>>> The "update slots" command from the director works OK, but when I go
>>>> to do a "label barcode", the resulting "load slot" gets killed by
>>>> Bacula:
>>>>
>>>> 3992 Bad autochanger "load slot 20, drive 1": ERR=Child died from
>>>> signal 15: Termination.
>>>> Results=Program killed by Bacula (timeout)
>>>>
>>>> I've seen that in some of these posts to the list, this ends up being
>>>> permissions problems against the devices, but that doesn't seem to be
>>>> the case as far as I can see:
>>>>
>>>> bacula-sd is running as the bacula user/group.  The bacula user is in
>>>> the "disk" group, and the *st* devices are in the disk group with "rw"
>>>> permissions:
>>&

Re: [Bacula-users] Dell TL4000 labeling timeout

2015-06-19 Thread Marcin Haba
Hello,

2015-06-18 4:35 GMT+02:00 Andrew Noonan :
> @Marcin - dmesg is clean
>
> @Ana - I ~think~ /dev/changer is created by udev, I'm not 100%.  It's
> a symlink to sg19 in this case:
>
> lrwxrwxrwx 1 root root 4 Jun 10 17:06 /dev/changer -> sg19
> crw-rw 1 root disk 21, 19 Jun 10 17:06 /dev/sg19
>
> Here are the tape drive parts of "lsscsi -l".  I removed a bunch of
> HDDs attached to the system:
>
> [2:0:8:0]tapeIBM  ULT3580-HH6  D8E5  /dev/st0
>   state=running queue_depth=254 scsi_level=7 type=1 device_blocked=0 
> timeout=900

Your queue_depth value for tape devices looks to be too big (254) and
seems to be value for tagged devices. You can try to switch to
untagged command depth value (1) by:

echo 1 > /sys/bus/scsi/devices/2\:0\:8\:0/queue_depth

or

echo 0 > /sys/bus/scsi/devices/2\:0\:8\:0/queue_depth

I am not sure if the timeout=900 is not consequence of your
queue_depth. However the timeout is the same as time of your switching
tape drive in ONLINE state after tape load. So maybe worth to try.

Best regards.
Marcin Haba (gani)



> [2:0:10:0]   tapeIBM  ULT3580-HH6  D8E5  /dev/st1
>   state=running queue_depth=254 scsi_level=7 type=1 device_blocked=0 
> timeout=900
> [2:0:10:1]   mediumx IBM  3573-TL  C.30  -
>   state=running queue_depth=254 scsi_level=6 type=8 device_blocked=0 timeout=0
>
> At some point we had the Tape unit powered down and then powered it
> back up, but the system remained on, so the dmesg mentions the drives
> multiple times:
>
> [anoonan@odin ~]$ dmesg | grep Attached
> sd 0:1:0:0: Attached scsi disk sda
> scsi 0:0:0:0: Attached scsi generic sg0 type 0
> scsi 0:0:1:0: Attached scsi generic sg1 type 0
> sd 0:1:0:0: Attached scsi generic sg2 type 0
> sd 1:0:0:0: Attached scsi disk sdb
> sd 1:0:0:0: Attached scsi generic sg3 type 0
> sd 1:0:0:1: Attached scsi disk sdc
> sd 1:0:0:1: Attached scsi generic sg4 type 0
> sd 1:0:0:2: Attached scsi disk sdd
> sd 1:0:0:2: Attached scsi generic sg5 type 0
> sd 1:0:0:3: Attached scsi disk sde
> sd 1:0:0:3: Attached scsi generic sg6 type 0
> sd 1:0:0:31: Attached scsi disk sdf
> sd 1:0:0:31: Attached scsi generic sg7 type 0
> sd 1:0:1:0: Attached scsi disk sdg
> sd 1:0:1:0: Attached scsi generic sg8 type 0
> sd 1:0:1:1: Attached scsi disk sdh
> sd 1:0:1:1: Attached scsi generic sg9 type 0
> sd 1:0:1:2: Attached scsi disk sdi
> sd 1:0:1:2: Attached scsi generic sg10 type 0
> sd 1:0:1:3: Attached scsi disk sdj
> sd 1:0:1:3: Attached scsi generic sg11 type 0
> sd 1:0:1:31: Attached scsi disk sdk
> sd 1:0:1:31: Attached scsi generic sg12 type 0
> scsi 2:0:0:0: Attached scsi generic sg13 type 1
> scsi 2:0:1:0: Attached scsi generic sg14 type 1
> st 2:0:0:0: Attached scsi tape st0
> st 2:0:1:0: Attached scsi tape st1
> st 2:0:2:0: Attached scsi tape st1
> st 2:0:2:0: Attached scsi generic sg14 type 1
> st 2:0:3:0: Attached scsi tape st1
> st 2:0:3:0: Attached scsi generic sg14 type 1
> st 2:0:4:0: Attached scsi tape st0
> st 2:0:4:0: Attached scsi generic sg13 type 1
> st 2:0:5:0: Attached scsi tape st1
> st 2:0:5:0: Attached scsi generic sg14 type 1
> scsi 2:0:5:1: Attached scsi generic sg15 type 8
> st 2:0:6:0: Attached scsi tape st0
> st 2:0:6:0: Attached scsi generic sg13 type 1
> scsi 2:0:6:1: Attached scsi generic sg14 type 8
> st 2:0:7:0: Attached scsi tape st1
> st 2:0:7:0: Attached scsi generic sg15 type 1
> sd 1:0:0:4: Attached scsi disk sdl
> sd 1:0:0:4: Attached scsi generic sg13 type 0
> sd 1:0:0:5: Attached scsi disk sdm
> sd 1:0:0:5: Attached scsi generic sg14 type 0
> sd 1:0:1:4: Attached scsi disk sdn
> sd 1:0:1:4: Attached scsi generic sg15 type 0
> sd 1:0:1:5: Attached scsi disk sdo
> sd 1:0:1:5: Attached scsi generic sg16 type 0
> st 2:0:8:0: Attached scsi tape st0
> st 2:0:8:0: Attached scsi generic sg17 type 1
> st 2:0:9:0: Attached scsi tape st1
> st 2:0:9:0: Attached scsi generic sg18 type 1
> scsi 2:0:9:1: Attached scsi generic sg19 type 8
> st 2:0:10:0: Attached scsi tape st1
> st 2:0:10:0: Attached scsi generic sg18 type 1
> scsi 2:0:10:1: Attached scsi generic sg19 type 8
>
> I did change out the device names for the drives to be /dev/tape/by-id
> names instead to make sure the naming stays stable after reboots, but
> I haven't tried changing /dev/changer to anything else.  The btape
> tests were successful, and I haven't had any problems with mtx or even
> mt commands, though as mentioned previously, I've gotten Input/Output
> errors from mt when doing rewind/weof commands to the drives.  That
> being said, I'm suspicious of the amount of time that mt reports
> DR_OPEN on loads.  I can issue mtx-changer commands OK, as well,
> though I'm n

Re: [Bacula-users] Dell TL4000 labeling timeout

2015-06-19 Thread Marcin Haba
Hello,

I wrote the sample commands for /dev/st0 device. Did you change
queue_depth value for both tape drives ?

I am seeing that you have problem with /dev/st1 device as is shown on
attached output from SD debug (from your first mail in this thread).

If you changed queue_depth only for /dev/st0, you can try to do the
same for /dev/st1 by following command:

echo 1 > /sys/bus/scsi/devices/2\:0\:10\:0/queue_depth

At the end you can try to umount storage device from Bacula and call
following command (for tape in slot 7, for example):

/path/to/script/mtx-changer /dev/sg19 load 7 /dev/nst1 1

for check if the command work OK and in reasonable time.

Best regards.
Marcin Haba (gani)

2015-06-19 12:00 GMT+02:00 Andrew Noonan :
> Hi Marcin,
>
> I changed that setting, but that doesn't seem to have made a
> difference in terms of the status output, or mtx-changer taking less
> then the full timeout period to complete.  The drive still shows as
> DR_OPEN.
>
> Thanks,
> Andrew
>
> On Fri, Jun 19, 2015 at 2:00 AM, Marcin Haba  wrote:
>> Hello,
>>
>> 2015-06-18 4:35 GMT+02:00 Andrew Noonan :
>>> @Marcin - dmesg is clean
>>>
>>> @Ana - I ~think~ /dev/changer is created by udev, I'm not 100%.  It's
>>> a symlink to sg19 in this case:
>>>
>>> lrwxrwxrwx 1 root root 4 Jun 10 17:06 /dev/changer -> sg19
>>> crw-rw 1 root disk 21, 19 Jun 10 17:06 /dev/sg19
>>>
>>> Here are the tape drive parts of "lsscsi -l".  I removed a bunch of
>>> HDDs attached to the system:
>>>
>>> [2:0:8:0]tapeIBM  ULT3580-HH6  D8E5  /dev/st0
>>>   state=running queue_depth=254 scsi_level=7 type=1 device_blocked=0 
>>> timeout=900
>>
>> Your queue_depth value for tape devices looks to be too big (254) and
>> seems to be value for tagged devices. You can try to switch to
>> untagged command depth value (1) by:
>>
>> echo 1 > /sys/bus/scsi/devices/2\:0\:8\:0/queue_depth
>>
>> or
>>
>> echo 0 > /sys/bus/scsi/devices/2\:0\:8\:0/queue_depth
>>
>> I am not sure if the timeout=900 is not consequence of your
>> queue_depth. However the timeout is the same as time of your switching
>> tape drive in ONLINE state after tape load. So maybe worth to try.
>>
>> Best regards.
>> Marcin Haba (gani)
>>
>>
>>
>>> [2:0:10:0]   tapeIBM  ULT3580-HH6  D8E5  /dev/st1
>>>   state=running queue_depth=254 scsi_level=7 type=1 device_blocked=0 
>>> timeout=900
>>> [2:0:10:1]   mediumx IBM  3573-TL  C.30  -
>>>   state=running queue_depth=254 scsi_level=6 type=8 device_blocked=0 
>>> timeout=0
>>>
>>> At some point we had the Tape unit powered down and then powered it
>>> back up, but the system remained on, so the dmesg mentions the drives
>>> multiple times:
>>>
>>> [anoonan@odin ~]$ dmesg | grep Attached
>>> sd 0:1:0:0: Attached scsi disk sda
>>> scsi 0:0:0:0: Attached scsi generic sg0 type 0
>>> scsi 0:0:1:0: Attached scsi generic sg1 type 0
>>> sd 0:1:0:0: Attached scsi generic sg2 type 0
>>> sd 1:0:0:0: Attached scsi disk sdb
>>> sd 1:0:0:0: Attached scsi generic sg3 type 0
>>> sd 1:0:0:1: Attached scsi disk sdc
>>> sd 1:0:0:1: Attached scsi generic sg4 type 0
>>> sd 1:0:0:2: Attached scsi disk sdd
>>> sd 1:0:0:2: Attached scsi generic sg5 type 0
>>> sd 1:0:0:3: Attached scsi disk sde
>>> sd 1:0:0:3: Attached scsi generic sg6 type 0
>>> sd 1:0:0:31: Attached scsi disk sdf
>>> sd 1:0:0:31: Attached scsi generic sg7 type 0
>>> sd 1:0:1:0: Attached scsi disk sdg
>>> sd 1:0:1:0: Attached scsi generic sg8 type 0
>>> sd 1:0:1:1: Attached scsi disk sdh
>>> sd 1:0:1:1: Attached scsi generic sg9 type 0
>>> sd 1:0:1:2: Attached scsi disk sdi
>>> sd 1:0:1:2: Attached scsi generic sg10 type 0
>>> sd 1:0:1:3: Attached scsi disk sdj
>>> sd 1:0:1:3: Attached scsi generic sg11 type 0
>>> sd 1:0:1:31: Attached scsi disk sdk
>>> sd 1:0:1:31: Attached scsi generic sg12 type 0
>>> scsi 2:0:0:0: Attached scsi generic sg13 type 1
>>> scsi 2:0:1:0: Attached scsi generic sg14 type 1
>>> st 2:0:0:0: Attached scsi tape st0
>>> st 2:0:1:0: Attached scsi tape st1
>>> st 2:0:2:0: Attached scsi tape st1
>>> st 2:0:2:0: Attached scsi generic sg14 type 1
>>> st 2:0:3:0: Attached scsi tape st1
>>> st 2:0:3:0: Attached scsi generic sg14 type 1
>>> st 2:0:4:0: Attached scsi tape st0
>>> st 2:0:4:0: Attached scsi generic sg13 

[Bacula-users] Baculum online demo version

2015-06-22 Thread Marcin Haba
Hello,

I have prepared online version of the Baculum webGUI tool.

The demo version from Git repository snapshot is available here:

http://baculum.baculus.pl/

login: admin
password: admin

Bacula environment is recreated every hour.

Comments and notices are welcome.

Best regards.
Marcin Haba (gani)

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

--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum online demo version

2015-06-22 Thread Marcin Haba
Hello Heitor,

Thanks for put Baculum demo access params in your website.

About webserver auth, you can just use in your src iframe attribute
link with login and password in following form:

http://admin:ad...@baculum.baculus.pl/

Then log in to webserver take place automatically.

Thanks :)

Best regards.
Marcin Haba (gani)


2015-06-23 0:26 GMT+02:00 Heitor Faria :
> Hello Marcin,
>
> Thanks!
> If you don't mind I published a link through my websites: 
> http://bacula.us/demos/
> I know I'm abusing here, but if you could remove Apache authentication I 
> would be able to embed like I did with Webacula and bacula-web. A true Bacula 
> GUI Menu. =P
>
> Regards,
> ===
> Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified 
> Administrator II
> Do you need Bacula training? 
> https://www.udemy.com/bacula-backup-software/?couponCode=bacula-list
> +55 61 8268-4220
> Site: http://bacula.us FB: heitor.faria
> =======
>
> - Original Message -
>> From: "Marcin Haba" 
>> To: "Bacula-users@lists.sourceforge.net" 
>> Sent: Monday, June 22, 2015 6:38:54 PM
>> Subject: [Bacula-users] Baculum online demo version
>
>> Hello,
>>
>> I have prepared online version of the Baculum webGUI tool.
>>
>> The demo version from Git repository snapshot is available here:
>>
>> http://baculum.baculus.pl/
>>
>> login: admin
>> password: admin
>>
>> Bacula environment is recreated every hour.
>>
>> Comments and notices are welcome.
>>
>> Best regards.
>> Marcin Haba (gani)
>>
>> --
>> "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
>> za przyjaciół swoich." Jezus Chrystus
>>
>> --
>> Monitor 25 network devices or servers for free with OpManager!
>> OpManager is web-based network management software that monitors
>> network devices and physical & virtual servers, alerts via email & sms
>> for fault. Monitor 25 devices for free with no restriction. Download now
>> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users



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

--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Not working encryption

2015-07-03 Thread Marcin Haba
Hello Jakubek,

Data encryption in Bacula takes place on FileDaemon side, not on
Storage Daemon side, and it is configured from FileDaemon side. Data
is sent to Storage Daemon already encrypted by FileDaemon during
backup, and during restore data is recieved from Storage Daemon to
FileDaemon in  encrypted form. Then FileDaemon decrypts data.

It looks that probably you are from Poland. You can follow on below
links about Data encryption (articles in Polish):

http://www.bacula.pl/artykul/58/szyfrowanie-danych-na-wolumenach-w-bacula-cz-1/
http://www.bacula.pl/artykul/59/szyfrowanie-danych-na-wolumenach-w-bacula-cz-2/

Best regards.
Marcin Haba (gani)

2015-07-03 16:07 GMT+02:00 Jakubek Jakub :
> Hi,
> I'm trying to configure Bacula with FD encryption. I started with
> http://www.bacula.com.br/manual/Data_Encryption.html but it doesn't work.
>
> My environment:
> bacula-dir on FreeBSD Version: 7.0.4 (04 June 2014)
> bacula-fd on Debian Version: 5.2.6 (21 February 2012)
>
> Configuration FD, at this moment I configured only FD:
> ##
> Director {
>   Name = back-dir
>   Password = "xxx"
> }
>
> FileDaemon {
>   Name = client-fd
>   FDport = 9102
>   WorkingDirectory = /var/lib/bacula
>   Pid Directory = /var/run/bacula
>   Maximum Concurrent Jobs = 20
>   PKI Signatures = Yes
>   PKI Encryption = Yes
>   PKI Keypair = "/etc/bacula/cert.pem"
>   PKI Master Key = "/etc/bacula/master.cert"
> }
>
> Messages {
>   Name = Standard
>   director = cwback-dir = all, !skipped, !restored
> }
> ###
>
> Certs on filesystem:
> root@gpgkeyserver:/etc/bacula# ls -ls master.cert cert.pem
> 4 -rw--- 1 root root 2977 Jul  3 13:41 cert.pem
> 4 -rw--- 1 root root 1285 Jul  3 13:41 master.cert
>
> cert.pem includes cert+key
> master.cert includes only master cert
>
> ###
>
> After executing job for client with enabled encryption I can find
> "Encryption: yes" in summary. It means that files should be
> encrypted.
>
> Funny thing is that I didn't five any PKI information to bacula-dir so
> after all it shouldn't be possible to restore any data. At this moment I
> can restore all data without master key so it indicates that encryption
> is not working. Any ideas why it's not working? Maybe I'm doing it wrong?
>
> Debug containing PKI related part from bacula-fd:
> /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf -dt -d 1000 -f -m
>
> 03-Jul-2015 15:45:28 bacula-fd: lex.c:237-0 fget line=12   PKI
> Signatures = Yes
> 03-Jul-2015 15:45:28 bacula-fd: parse_conf.c:925-0 parse state=1 pass=2
> got token=T_IDENTIFIER
> 03-Jul-2015 15:45:28 bacula-fd: parse_conf.c:974-0 in T_IDENT got
> token=T_EQUALS
> 03-Jul-2015 15:45:28 bacula-fd: parse_conf.c:980-0 calling handler for
> pkisignatures
> 03-Jul-2015 15:45:28 bacula-fd: lex.c:237-0 fget line=13   PKI
> Encryption = Yes
> 03-Jul-2015 15:45:28 bacula-fd: parse_conf.c:925-0 parse state=1 pass=2
> got token=T_IDENTIFIER
> 03-Jul-2015 15:45:28 bacula-fd: parse_conf.c:974-0 in T_IDENT got
> token=T_EQUALS
> 03-Jul-2015 15:45:28 bacula-fd: parse_conf.c:980-0 calling handler for
> pkiencryption
> 03-Jul-2015 15:45:28 bacula-fd: lex.c:237-0 fget line=14   PKI Keypair =
> "/etc/bacula/cert.pem"
> 03-Jul-2015 15:45:28 bacula-fd: parse_conf.c:925-0 parse state=1 pass=2
> got token=T_IDENTIFIER
> 03-Jul-2015 15:45:28 bacula-fd: parse_conf.c:974-0 in T_IDENT got
> token=T_EQUALS
> 03-Jul-2015 15:45:28 bacula-fd: parse_conf.c:980-0 calling handler for
> pkikeypair
> 03-Jul-2015 15:45:28 bacula-fd: lex.c:237-0 fget line=15   PKI Master
> Key = "/etc/bacula/master.cert"
> 03-Jul-2015 15:45:28 bacula-fd: parse_conf.c:925-0 parse state=1 pass=2
> got token=T_IDENTIFIER
> 03-Jul-2015 15:45:28 bacula-fd: parse_conf.c:974-0 in T_IDENT got
> token=T_EQUALS
> 03-Jul-2015 15:45:28 bacula-fd: parse_conf.c:980-0 calling handler for
> pkimasterkey
> 03-Jul-2015 15:45:28 bacula-fd: parse_conf.c:565-0 Append
> /etc/bacula/master.cert to alist 1d900f8 size=0 pkimasterkey
>
> Kind regards,
>
> --
> jakub
>
> --
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-- 
"Większej miłości nikt nie ma nad tę, j

[Bacula-users] Baculum CentOS 7 and Fedora 22 packages

2015-07-12 Thread Marcin Haba
Hello,

I prepared Baculum RPM packages repository for CentOS 7 and Fedora 22.

The packages have been created from latest Git snapshot.

Below I wrote up short installation instruction for CentOS and Fedora.

=== Fedora 22 ===

1) Add Baculum repository:

dnf config-manager --add-repo
http://download.opensuse.org/repositories/home:/ganiuszka/Fedora_22/home:ganiuszka.repo

2) Install Baculum

dnf install baculum

3) If SELinux enabled then is required additional baculum-selinux package:

dnf install baculum-selinux

4) Start Baculum

service baculum start

5) In web browser go to:

http://localhost:9095/

First time login: admin
First time password: admin

=== CentOS 7 ===

1) Because Baculum installed from RPM package works using Lighttpd web
server that is not available default in CentOS, from this reason is
needed to install epel-release package first:

yum install epel-release

2) Add Baculum repository

yum-config-manager --add-repo
http://download.opensuse.org/repositories/home:/ganiuszka/CentOS_7/home:ganiuszka.repo

3) Install Baculum

yum install baculum

4) If SELinux enabled then is required additional baculum-selinux package:

yum install baculum-selinux

5) Start Baculum

service baculum start

6) In web browser go to:

http://localhost:9095/

First time login: admin
First time password: admin

Best regards.
Marcin Haba (gani)

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Browsing through Bacula made backup files

2015-07-31 Thread Marcin Haba
Hello Josip,

The bls tool and data volume/media is sufficient to prepare a
bootstrap file and next extract by bextract tool from the volume whole
specific backup with or without using include/exclude list.

For prepare bootstrap you can use JobId, Job and other criterias from here:

http://www.bacula.org/7.0.x-manuals/en/main/Bootstrap_File.html

For extracting only specific job you can use Job or JobId criteria.
For filtring only needed files during extract you can use includes function.
For filtring not needed files during extract you can use excludes function.

I hope that it helps.

Best regards.
Marcin Haba (gani)

2015-07-31 16:24 GMT+02:00 Josip Deanovic :
> On Friday 2015-07-31 11:12:36 Kern Sibbald wrote:
>> Hello,
>>
>> I would suggest that you read the sections of the manual that document
>> bscan, bls, and bextract.  You will then understand that it is possible
>> to do a large number of things without a bsr file.  If you read the
>> section of the manual about the bsr, you will understand that from
>> simple Job output, you can easily construct a bsr that will restore the
>> whole job or even parts of a job.
>>
>> Best regards,
>> Kern
>
> Hi,
>
> I went trough the manual to refresh my memory and I have found that it
> only confirms what I have said in my previous post.
> In order to use bextract to extract the exact job from a volume that
> contains multiple backup jobs one would need to create and specify a
> bsr file.
>
> It is possible to use "-i" and "-e" options but that wouldn't help to
> select all the files that belongs to a certain job and if those options
> are omitted and no bsr file is specified the complete content of the
> volume (all jobs) would be extracted to a specified output directory.
>
>
>> On 31.07.2015 00:31, Josip Deanovic wrote:
>> > On Thursday 2015-07-30 21:51:11 Radosław Korzeniewski wrote:
>> >> Hello,
>> >>
>> >> 2015-07-30 11:54 GMT+02:00 Josip Deanovic
> :
>> >>> I would like to add that in order to extract the files without the
>> >>> bacula database, using the bextract tool, you will also have to
>> >>> create
>> >>> a bootstrap file.
>> >>
>> >> Well. It is not required. It is possible to use bextract without a
>> >> bsr
>> >> file.
>> >
>> > It is possible but without a bootstrap file you wouldn't be able to
>> > control what job or a number of jobs gets extracted.
>> > If you have multiple backup jobs from multiple systems contained
>> > inside
>> > the same backup volume (which is common scenario) the restore without
>> > a
>> > bsr file would make a mess in the specified output directory.
>> >
>> > I might be wrong because I didn't try it but it seems to me that this
>> > is exactly what would happen (unless you are using one job per volume
>> > which is possible but rare practice).
>
> --
> Josip Deanovic
>
> --
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



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

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


Re: [Bacula-users] Browsing through Bacula made backup files

2015-07-31 Thread Marcin Haba
2015-07-31 17:10 GMT+02:00 Josip Deanovic :
> On Friday 2015-07-31 16:56:43 Marcin Haba wrote:
>> Hello Josip,
>>
>> The bls tool and data volume/media is sufficient to prepare a
>> bootstrap file and next extract by bextract tool from the volume whole
>> specific backup with or without using include/exclude list.
>>
>> For prepare bootstrap you can use JobId, Job and other criterias from
>> here:
>>
>> http://www.bacula.org/7.0.x-manuals/en/main/Bootstrap_File.html
>>
>> For extracting only specific job you can use Job or JobId criteria.
>> For filtring only needed files during extract you can use includes
>> function. For filtring not needed files during extract you can use
>> excludes function.
>>
>> I hope that it helps.
>
> Thanks. I know all this and I have no issues with this.

Hello Josip,

Thanks for clarification. I did not read all thread.

> Also, check the notes about Job and JobId bsr options in a bsr related
> part of the documentation:
>
> "The Job filter works only if you do not run multiple simultaneous jobs.
> This value is optional and not used by Bacula to restore files."

Ah, yes. Right. Thanks.

Best regards.
Marcin Haba (gani)

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

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


[Bacula-users] Baculum 7.2.0 new features and binary packages for CentOS 7 and Fedora 22

2015-08-15 Thread Marcin Haba
) and then install Baculum 7.2.0 following
on above descriptions. I am sorry for this inconvenience.


=== Deb packages ===

Baculum 7.2.0 deb packages for Ubuntu and Debian should be available
soon. As usual they will be accessible in Launchpad.net service. I
will write about details and installation procedure in separate post.

Comments and notices are welcome.

Best regards.
Marcin Haba (gani)

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

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


[Bacula-users] Baculum 7.2.0 binary packages for Ubuntu 15.04 and Debian 8

2015-08-16 Thread Marcin Haba
Hello,

I prepared new Baculum 7.2.0 binary packages for Ubuntu 15.04 (Vivid)
and Debian 8 (Jessie).

Note, this version is splitted into three packages:

baculum_7.2.0  - base Baculum package
baculum-apache2_7.2.0  - Apache config files for Baculum
baculum-lighttpd_7.2.0 - Lighttpd config files for Baculum

Fresh install can be done by following steps:

=== Ubuntu 15.04 (Vivid) ===

1) Add PPA repository:

$ sudo add-apt-repository ppa:ganiuszka/baculum

2) Update packages index:

$ sudo apt-get update

3) Install Baculum base package:

$ sudo apt-get install baculum

4) Install web server specific Baculum config files and start web server:

a) For Apache:

$ sudo apt-get install baculum-apache2

Next is required to enable mod_rewrite module for Apache manually (if
not enabled):
$ sudo ln -s /etc/apache2/mods-available/rewrite.load
/etc/apache2/mods-enabled/rewrite.load

then enable Baculum webGUI in Apache:
$ sudo ln -s /etc/apache2/sites-available/baculum.conf
/etc/apache2/sites-enabled/baculum.conf

and at the end restart Apache server:

$ sudo service apache2 restart

b) For Lighttpd:

$ sudo apt-get install baculum-lighttpd
$ sudo service baculum-lighttpd start

5) Access from web browser:

http://localhost:9095/

First time login: admin
First time password: admin

=== Debian 8 (Jessie) ===

In case Baculum Debian packages there is no special Debian repository.
From this reason Baculum 7.2.0 deb packages installation can be done
by download binary packages directly and install them:

1) Download and install Baculum base package:

# wget 
https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum/+files/baculum_7.2.0ppa1~jessie1_all.deb
# gdebi baculum_7.2.0ppa1~jessie1_all.deb

2) Download and install web server specific Baculum config files and
start web server:

a) For Apache:

# wget 
https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum/+files/baculum-apache2_7.2.0ppa1~jessie1_all.deb
# gdebi baculum-apache2_7.2.0ppa1~jessie1_all.deb

Next is required to enable mod_rewrite module for Apache manually (if
not enabled):

# ln -s /etc/apache2/mods-available/rewrite.load
/etc/apache2/mods-enabled/rewrite.load

then enable Baculum webGUI in Apache:

# ln -s /etc/apache2/sites-available/baculum.conf
/etc/apache2/sites-enabled/baculum.conf

and at the end restart Apache server:

# service apache2 restart

b) For Lighttpd:

# wget 
https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum/+files/baculum-lighttpd_7.2.0ppa1~jessie1_all.deb
# gdebi baculum-lighttpd_7.2.0ppa1~jessie1_all.deb

# sudo service baculum-lighttpd start

3) Access from web browser:

http://localhost:9095/

First time login: admin
First time password: admin

== Note ==
In initial wizard for access to bconsole by sudo please create a file:

# vi /etc/sudoers.d/baculum

and type there two lines both in case Apache specific and Lighttpd
specific installation:

Defaults:www-data !requiretty
www-data  ALL= NOPASSWD:  /usr/sbin/bconsole

=== Upgrade 7.0+git packages from Git snapshot ===

For users that already using Baculum for Ubuntu or Debian from binary
packages on Launchpad.net marked as 7.0+git that were built from
Git snapshot, I recommend first to remove baculum-7.0+git deb
package and then install Baculum 7.2.0 following on above
descriptions. I am sorry for this inconvenience.

Comments and notices are welcome.

Best regards.
Marcin Haba (gani)

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

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


Re: [Bacula-users] data key rollover strategy

2015-11-19 Thread Marcin Haba
Hello Devin,

2015-11-19 0:17 GMT+01:00 Devin Reade :
> My alerting system tells me that I have some file daemons that have been
> merrily encrypting their data for quite a while.  In particular, the
> expiry dates for the data encryption x509 certs are coming up soon.

You can renew your certs. I think that way described on the following
link should be sufficient:

http://www.tldp.org/HOWTO/SSL-Certificates-HOWTO/x195.html#AEN215

> Well, this brings up an interesting question that I'd not really
> considered in depth:  Given that you can only specify two keys
> in the bacula-fd.conf file, what is the best strategy during key
> rollover?  That is, that time period after making a new client
> keypair available, and the retention time of the backups that were
> made with the old keypair?

I think that important is understand that data stored by Bacula is not
encrypted by ANY from public keys. Data is encrypted (symetric) by
session keys and these session keys are stored on Bacula volumes in
(asymetric) encrypted (by public keys) form.

So data encryption in Bacula uses session keys stored in encrypted
ASN.1 standard structure. In short it means that you are able to
decrypt session key not by only ONE key, but by Client private key and
private Master Key.

Some time ago I prepared a few diagrams that show Bacula data
encryption algorighm. Here are the diagrams in English version:

http://www.bacula.pl/data_encryption.html

> First off, I think that the master key specification doesn't enter
> the picture; there is still a need for encrypting with the master
> public key, for the usual reasons.
>
> The first section of the data encryption chapter says to not change
> the location of the client keypair.  Fair enough.  This implies that
> the new keypair should be used to overwrite the old.  That's great
> for performing backups, but what about doing restores?

You can do restore as long as you have private Master Key, because in
this case for decrypt session keys from volumes there is used private
Master Key as only one valid. Of course, you have to provide the
private Master Key to your Client.

I hope that it helps.

Best regards.
Marcin Haba (gani)

> I suspect the answer is:
>   1. Save a copy of the old keypair (presumably there are copies
>  offline already, but best to be explicit)
>   2. Overwrite the old client keypair with the new keypair.
>   3. Resume backup operations.
>   4. If you have to restore data from a time after the key replacement,
>  then it's business as usual.
>   5. If you have to restore data from a time prior to the key replacement,
>  then you need to copy the old keypair over top of the new,
>  (presumably) restart the file daemon, perform the restore,
>  copy the new keypair back on top of the old, restart the file daemon,
>  and then continue with normal operations again.
>
> This implies that you also need to keep track of what the flag day
> is when you change the certificate for a given client.  (Although this
> may be recorded in your certificate maintenance system, if any.)
>
> Does anyone have a better procedure?
>
> Devin
>
>
> --
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



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

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


[Bacula-users] Baculum version 7.2.1-0 released

2015-12-17 Thread Marcin Haba
Hello,

I let know that I released Baculum version 7.2.1-0. In this release I
focused on performance improvements. Despite the fact that it is minor
release, in the  version has been included numerous features. Below I
added changes list.

>From version 7.2.1-0 are prepared binary packages for: CentOS, Fedora,
Ubuntu and Debian. In attachment to this message I included text file
with installation instruction the packages.

Comments and feedback are welcome.

Source tar archive:
http://bacula.org/downloads/baculum/baculum-7.2.1-0.tar.gz
Signature: http://bacula.org/downloads/baculum/baculum-7.2.1-0.tar.gz.sig
PGP public key: http://bacula.org/downloads/baculum/baculum.pub

Changes:
- Add run job again button
- Add session cache
- Search field works for all table cells
- Remember sort order for data grids
- Remove temporary Bvfs table when restore starts
- Add example Nginx config
- Add jobbytes and jobfiles columns in job list
- Split configuration windows into two tabs: actions and console
- Set default job attributes (level, client, fileset, pool, storage,
priority) in Run job panel
- Do not refresh window lists if toolbar is open or elements are checked
- Fix working with php-fpm
- Fix sorting formatted values in tables
- Improve size formatter precision
- Fix jobs count in job list
- Fix end-of-file warning in bconsole calls. Patch from Ulrich Leodolter
- Show jobid in job configuration window
- Get system timezone for PHP if possible
- Fix restore when a lot of jobids given
- Show copy job label in job list
- Get job show result by job name or jobid
- Set half size window as default window size
- Not remember controls state in jobs window
- Fix showing table header
- Update SELinux policy module
- Fix update pool action when no volumes in pool
- Change default elements limit to 500 elements
- Add drive parameter to bconsole release command execution
- Fix expectation failed error during restore
- Switch to debug mode only when debug is enabled in config
- Fix remove users file during upgrade deb packages
- Fix default values in Makefile
- Change Makefile to using also for deb packages template
- Add deb template files and deb configs examples

Best regards.
Marcin Haba (gani)
=== Fedora packages ===

1. Add Baculum repository:

# dnf config-manager --add-repo 
http://download.opensuse.org/repositories/home:/ganiuszka/Fedora_23/home:ganiuszka.repo

2. Install base Baculum package

# dnf install baculum

3. If SELinux enabled then is required additional baculum-selinux package:

# dnf install baculum-selinux

4. Install Baculum web server configuration and Baculum start

a) For Apache web server

# dnf install baculum-httpd
# service httpd restart

b) For Lighttpd web server

# dnf install baculum-lighttpd
# service baculum-lighttpd start

5. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole will be accessible to Baculum via sudo then required is create a 
file:

# vi /etc/sudoers.d/baculum

and put to the file following content:

a) For Apache web server:

Defaults:apache !requiretty
apache  ALL= NOPASSWD:  /usr/sbin/bconsole

b) For Lighttpd web server

Defaults:lighttpd !requiretty
lighttpd  ALL= NOPASSWD:  /usr/sbin/bconsole


=== CentOS packages ===

1. Add Baculum repository:

# yum-config-manager --add-repo 
http://download.opensuse.org/repositories/home:/ganiuszka/CentOS_7/home:ganiuszka.repo

2. Install base Baculum package

# yum install baculum

3. If SELinux enabled then is required additional baculum-selinux package:

# yum install baculum-selinux

4. Install Baculum web server configuration and Baculum start

a) For Apache web server

# yum install baculum-httpd
# service httpd restart

b) For Lighttpd web server

Because Lighttpd binary packages default do not exist in CentOS repository, 
there is required to install epel repository by following command:

# yum install epel-release

and then install Lighttpd configuration for Baculum:

# yum install baculum-lighttpd
# service baculum-lighttpd start

5. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole will be accessible to Baculum via sudo then required is create a 
file:

# vi /etc/sudoers.d/baculum

and put to the file following content:

a) For Apache web server:

Defaults:apache !requiretty
apache  ALL= NOPASSWD:  /usr/sbin/bconsole

b) For Lighttpd web server

Defaults:lighttpd !requiretty
lighttpd  ALL= NOPASSWD:  /usr/sbin/bconsole


=== Ubuntu packages ===

1. Add Baculum PPA repository:

# add-apt-repository ppa:ganiuszka/baculum

2. Update packages index

# apt-get update

3. Install base Baculum package

# apt-get install baculum

4. Install Baculum web server configuration end Baculum start

a) For Apache web server:

# apt-get install baculum-apache2

Enable mod_rewrite module in Apache

# ln -s /etc/apache2/mods-available/rewrite.load 
/etc/apache2/mods-enabled/rewrite.load

Enable Bacu

Re: [Bacula-users] Problem on baculum 7.2.1

2016-01-07 Thread Marcin Haba
Hello Wanderlei,

During restore preparation Baculum uses Bvfs interface which creates a
temporary table to restore purpose. This temporary table is removed
just before restore start.

Please make sure that your database user has privileges to create and
remove SQL tables in Bacula catalog database.

Message that you received is not too precise, I know. I will try to do
something with it.

Best regards.
Marcin Haba (gani)


2016-01-07 14:36 GMT+01:00 Wanderlei Huttel :
> Hi guys
>
> I've got the last update of baculum.
> Is the first time I'm using baculum, before this I used the bconsole.
> I'm trying to restore a most recent backup of a client, but I'm receiving an
> error:
>
> ###
>
> Baculum problem
>
> Error 2 - problem with connection to database.
>
> 
> What can I do
>
> Please check if Catalog database service is running.
> Please check if Web Server user is allowed for connection to Catalog
> database.
> Please re-run Baculum Initial Wizard and on step "Database" please perform
> connection test.
>
> TRY AGAIN
>
> ###
>
> But in Baculum Initial Wizard passed in all tests and work all resources.
>
> I'm using bacula director 7.2.0
>
> Could be because the director is in a minor version of baculum?
>
>
> Thanks
> Wanderlei
>
>
>
> --
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



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

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


[Bacula-users] Baculum - official rpm and deb packages repositories

2016-01-30 Thread Marcin Haba
Hello,

I prepared Baculum official packages repositories for following distributions:
- CentOS
- Fedora
- Debian
- Ubuntu

The repositories contain latest version of Baculum (7.4.0-1) and they
will be updated after releasing every new version.

Below is small part from repositories documentation with repositiories
description. That part will be added to Bacula Console manual soon.
Rest of the Baculum chapter in Bacula Console manual is up-to-date and
available here:

http://www.bacula.org/7.4.x-manuals/en/console/Baculum_WebGUI_Tool.html

=== RPM repositories ===

To add Baculum repository, first is required importing public key:

rpm --import http://bacula.org/downloads/baculum/baculum.pub

Once importing the key is done, next step is adding repository
definition to newly created file:

/etc/yum.repos.d/baculum.repo

For CentOS 7 the definition is:

[baculumrepo]
name=Baculum CentOS repository
baseurl=http://bacula.org/downloads/baculum/centos
gpgcheck=1
enabled=1

For Fedora 23 the definition is:

[baculumrepo]
name=Baculum Fedora repository
baseurl=http://bacula.org/downloads/baculum/fedora
gpgcheck=1
enabled=1

=== DEB repositories ===

To add Baculum repository, first is required importing public key:

wget -qO - http://bacula.org/downloads/baculum/baculum.pub | apt-key add -

Once importing the key is done, next step is adding repository
definition to newly created file:

/etc/apt/sources.list.d/baculum.list

For Debian 8 Jessie the definition is:

deb http://bacula.org/downloads/baculum/debian jessie main
deb-src http://bacula.org/downloads/baculum/debian jessie main

For Ubuntu 15.04 Vivid the definition is:

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

For Ubuntu 15.10 Wily the definition is:

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

After adding repository definition please refresh repository indexes:

apt-get update

=

Comments and feedback are welcome.

Best regards.
Marcin Haba (gani)

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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restricted consoles and uids

2016-02-24 Thread Marcin Haba
Hello,

Alternatively you can use Baculum and define restricted consoles self.
In this case users have access to assigned restricted consoles even
without having shell accounts. And they have bconsole access via web
interface.

Advantages:
- no users shell accounts required
- access to bconsole via http(s)
- each user logs in using HTTP Basic auth
- besides bconsole access users can use web interface features
- in web interface features users see only resources assigned them in
theirs bconsole config
- adding/editing/removing users credential by Baculum admin

Disadvantages:
- you have take care of creating users bconsole config files in system

More info you can find in Baculum documentation here:

http://www.bacula.org/7.4.x-manuals/en/console/Baculum_WebGUI_Tool.html

I hope that it helps.

Best regards.
Marcin Haba

On 24 February 2016 at 23:35, Peter Keller  wrote:
> Hello,
>
> Does bacula have any feature where, depending upon the UID of the unix user
> executing the bconsole program, one can choose different restrictions for
> the console and this would all be specified in one config file?
>
> Thank you!
>
> -pete
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem to implement Verify Data in Bacula 7.4.0

2016-02-26 Thread Marcin Haba
Hello Wanderlei,

It looks that in the documentation is lack of Type directive
(obligatory for Job resource).

Can you add the Type directive to your Job resource and try again?

Type = Verify

Best regards.
Marcin Haba (gani)


On 26 February 2016 at 20:20, Wanderlei Huttel
 wrote:
> I was trying to test new features in bacula 7.4.0 like (Verify Volume Data).
> http://www.bacula.org/7.4.x-manuals/en/main/New_Features_in_7_4_0.html#SECTION00311000
>
> So I've configured a Job like example:
>
> # Verify Job definition
> Job {
>   Name = VerifyData
>   Level = Data
>   Client = 127.0.0.1-fd # Use local file daemon
>   FileSet = Dummy   # Will be adapted during the job
>   Storage = File# Should be the right one
>   Messages = Standard
>   Pool = Default
> }
>
> But when I run bacula-dir -t I receive an error:
>
> "Type" directive in Job "VerifyData" resource is required, but not found.
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] No compression?

2016-03-02 Thread Marcin Haba
Hello,

Could you show output from following bconsole command:

show fileset="MAIL"

You can also make sure that:
1) you did 'reload' in bconsole after updating config file
2) your job that in result gives "Compression = none" really uses the
MAIL fileset

Best regards.
Marcin Haba (gani)

On 2 March 2016 at 14:58, SPQR  wrote:
> Hello,
>
> I tried to configure software-compression like this:
>
> FileSet {
>   Name = MAIL
>   Include {
> Options {
>   signature = MD5
>   compression = GZIP
> }
> File = /var/mail
> File = /var/qmail
>   }
>   Exclude {
>   }
> }
>
>
> Unfortunately bconsole reports "Compression = none" on every backup task.
>
> How can I solve that?
>
> +--
> |This was sent by r...@ehrenwert.it via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +--
>
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



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

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum restore Error 4

2016-03-10 Thread Marcin Haba
Hello,

It looks that on your side the following command:

sudo /opt/bacula/etc/bconsole -c /opt/bacula/etc/bconsole.conf -l

causes connecting to Director instead of listing Director names.

Could you tell if in path:

/opt/bacula/etc/bconsole

you use your own wrapper to bconsole commands?

If yes, then you need to add support in your wrapper to "-l" switcher.

Best regards.
Marcin Haba (gani)

On 10 March 2016 at 14:59, mamatov  wrote:
> Hi,
>
> In order to test Baculum (wb gui for bacula), I made a fresh install :
>
> - bacula-7.4.0
> - baculum 7.4.0
>
> Everything is working well except the restore function. I click on "Perform 
> Restore" and I get :
>
> ===
>
> Baculum problem
> Error 4 - problem with connection to bconsole.
> What can I do
>
> Please check if Bacula Director service is running.
> Please check in shell console if bconsole program is able to connect to 
> Bacula Director service.
> Please be sure if Web Server user is allowed for executing bconsole 
> program.
> You can login to shell console as Web Server user and try to run bconsole 
> program.
> Please re-run Baculum Initial Wizard and on step "Console" please perform 
> connection test.
>
> 
>
> 1 - Bacula dir is running
> 2 - Bconsole is able to connact to Bacula Dir
> 3 - Web server user (apache) is allowed to connect to bconsole (I used sudo 
> and I also tested by given apache rights on bconsole).
> 4 - I log with apache user and is able to start bconsole and perform a 
> restore task from it.
>
> The Wizard tell me all is ok, no problem.
>
> So I check some log :
>
> 1 - /var/log/httpd/error_log
>
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `sudo /opt/bacula/etc/bconsole -c 
> /opt/bacula/etc/bconsole.conf -D 1000 OK: 102 centos6-test-dir Version: 7.4.0 
> (16 January 2016) <
> It seems to be the source of the problem because this command will not work.
> why this command is built like this? Is it a PHP issue ?
>
>
> 2 - I also enavle debug on Baculum 
> (/usr/share/baculum/htdocs/protected/Data/baculum.dbg)
>
> ===
>
> Mar 10 14:56:10 [Debug] [Execute] Command=sudo /opt/bacula/etc/bconsole -c 
> /opt/bacula/etc/bconsole.conf -D Connecting to Director localhost:9101 
> < .storage
> quit
> END_OF_DATA, Output=stdClass Object
> (
> [output] => Array
> (
> [0] => .storage
> [1] => File1
> [2] => File2
> )
>
> [exitcode] => 0
> )
> , File=/usr/share/baculum/htdocs/protected/Class/Bconsole.php, Line=116 (line 
> 89, /usr/share/baculum/htdocs/protected/Class/Logging.php)
> Mar 10 14:56:11 [Debug] [Execute] Command=sudo /opt/bacula/etc/bconsole -c 
> /opt/bacula/etc/bconsole.conf -D Connecting to Director localhost:9101 
> < .pool
> quit
> END_OF_DATA, Output=stdClass Object
> (
> [output] => Array
> (
> [0] => .pool
> [1] => Default
> [2] => File
> [3] => Scratch
> )
>
> [exitcode] => 0
> )
> , File=/usr/share/baculum/htdocs/protected/Class/Bconsole.php, Line=116 (line 
> 89, /usr/share/baculum/htdocs/protected/Class/Logging.php)
> Mar 10 14:56:11 [Debug] [Execute] Command=sudo /opt/bacula/etc/bconsole -c 
> /opt/bacula/etc/bconsole.conf -D Connecting to Director localhost:9101 
> < show fileset
> quit
> END_OF_DATA, Output=stdClass Object
> (
> [output] => Array
> (
> [0] => show fileset
> [1] => FileSet: name=Full Set
> [2] =>   O M
> [3] =>   N
> [4] =>   I /opt/bacula/bin
> [5] =>   N
> [6] =>   E /opt/bacula/working
> [7] =>   E /tmp
> [8] =>   E /proc
> [9] =>   E /tmp
> [10] =>   E /sys
> [11] =>   E /.journal
> [12] =>   E /.fsck
> [13] =>   N
> [14] => FileSet: name=Catalog
> [15] =>   O M
> [16] =>   N
> [17] =>   I /opt/bacula/working/bacula.sql
> [18] =>   N
> )
>
> [exitcode] => 0
> )
> , File=/usr/share/baculum/htdocs/protected/Class/Bconsole.php, Line=116 (line 
> 89, /usr/share/baculum/htdocs/protected/Class/Logging.php)
> Mar 10 14:56:11 [Debug] [Execute] Command=sudo /opt/bacula/etc/bconsole -c 
> /opt/bacula/etc/bconsole.conf -

Re: [Bacula-users] Problems with restore archive GZIP on BACULUM

2016-05-21 Thread Marcin Haba
Hello Caio,

On the included image (from link) I am not seeing anything wrong with Baculum.

On the third step in restore wizard ("Files") you need select files
and/or directories by clicking 'Add' button on the right side every
file/directory or by dragging and dropping files/directories to box on
the bottom right.

Best regards.
Marcin Haba (gani)

On 20 May 2016 at 22:40, caio rebello  wrote:
> Hello,
>
> I did a backup metod on FILESET, i added "compression=GZIP". The backup works 
> fine, and restore with line command too.
>
> But, i installed the baculum (7.2.0), and when i try restore a backup with 
> compression=gzip, don't appear
> anything, the restore page open, but the archive appear in blank:
>
> [img]http://img.prntscr.com/img?url=http://i.imgur.com/OSyRQpM.jpg[/img]
>
> When y use compression=LZO or no compression, i can restore normally...
>
> I'm using ubuntu server and baculum 7.2.0undefined
>
> +--
> |This was sent by caio.spassa...@gmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +--
>
>
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



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

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with restore archive GZIP on BACULUM

2016-05-25 Thread Marcin Haba
Hello Caio,

I don't see any direct relation between type of compression that you
used for doing backup and file browser working in Baculum.

The restore file browser items (files and directories) come from
Catalog database (via Bvfs interface).

If you are not able to open and to select directories in files browser
then you can check logs from web server and debug from Baculum. Debug
you can enable on Baculum interface (checkbox at the bottom of page).

Please let know here if you notice something wrong in logs.

Good luck.

Best regards.
Marcin Haba (gani)

On 23 May 2016 at 05:33, caio rebello  wrote:
> Hello,
>
> Thanks for reply, the problem occur when i try expand the "/" folder, i click 
> twice to expand this folder, but folder dont open.
>
> I tried backup with no compression, and the / file open normmaly:
>
> http://img.prntscr.com/img?url=http://i.imgur.com/JKGkuuy.jpg
>
> +--
> |This was sent by caio.spassa...@gmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +--
>
>
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



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

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems With restore in Baculum

2016-07-04 Thread Marcin Haba
Hello Caio,

Heitor is right. You need to define StorageACL directive in your
Console resource.

In the Console and Operators Guide and in README file you can find
description to this Baculum's feature. Here is link to this guide
chapter:

http://www.bacula.org/7.4.x-manuals/en/console/Baculum_WebGUI_Tool.html#SECTION0036

There are also described necessary for Baculum minimal values to
define in Console resource (specially CommandACL values).

You can check if your restricted console settings work well by calling
bconsole with "-c config":

bconsole -c /etc/bacula/bconsole-username.conf

If you want to check the same on Baculum interface, you can use
bconsole web-terminal available at the bottom (button with label:
"show console").

All bconsole calls and outputs are also logged in debug file if the
debug is enabled.

Best regards.
Marcin Haba (gani)

On 4 July 2016 at 18:38, Heitor Faria  wrote:
> Hello, Caio: I think there is also a StorageACL.
>
> Regards,
> ===
> Heitor Medrado de Faria  - LPIC-III | ITIL-F |  Bacula Systems Certified
> Administrator II
>
> 61 8268-4220
>
> www.bacula.com.br
>
> 
>
> Enviado por TypeApp
>
> Em 4 de jul de 2016, em 1:17 PM, caio rebello
>  escreveu:
>>
>> Hello,
>>
>> I'm trying restore a backup on baculum, when i use the default user
>> (admin), my restore works fine, but when i try restore a file using some
>> user, i can't restore.
>>
>> I created a file on /etc/bacula/bconsole-username.conf, and in my
>> dir.conf, i created this line:
>>
>> Console {
>> Name = "optika"
>> Password = "@@@pass@@@"
>> CommandACL = *all*
>> CatalogACL = *all*
>> ClientACL = *all*
>> JobACL = *all*
>> PoolACL = *all*
>> FileSetACL = *all*
>> WhereACL = *all*
>>  ScheduleACL = *all*
>> }
>>
>> Why i don't restore in some user, if this user has all permissions in acl?
>>
>> +
>> 
>>
>> |This was sent by caio.spassa...@gmail.com via Backup Central.
>> |Forward SPAM to ab...@backupcentral.com.
>> +
>> 
>>
>>
>>
>>
>> 
>>
>> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>> present their vision of the future. This family event has something for
>> everyone, including kids. Get more information and register today.
>> http://sdm.link/attshape
>> 
>>
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
> --
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



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

--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] IBM DAT 160 (dds6) media status error after backup.

2016-09-22 Thread Marcin Haba
Hello Gi Dot,

Could you try to run test command in btape tool and past here output
from this test?

The output text from the test command in btape can also advise adding
some directives to your Bacula config (BSF at EOM = yes/no ...and
others).

I have also question if you use "mt" or "mt-st" program to manage
magnetic tape drive? Your IBM DAT 160 works on SCSI bus (it is SAS)
and that is OK, because Bacula supports SCSI tape drives, of course. I
am asking about it because to tape drives on SCSI bus better is use
mt-st (magnetic tape control tool for SCSI tape driver) instead of mt
(standard magnetic tape control tool) to use proper ioctls for your
SCSI tape driver.

Thanks in advance for sending btape test output here.

Best regards.
Marcin Haba (gani)

On 5 September 2016 at 11:19, Gi Dot  wrote:
> Hi all,
>
> I am using IBM DAT 160 media with bacula, and I always get a tape error
> after a successful backup job. There were a lot of times that the tapes
> snapped as well. At first I thought the tapes are just defect, but the error
> occured so frequent that I started to doubt my bacula configuration.
>
> I used to get this error in the logs, but couldn't find similar error in
> recent logs:
>
> 05-May 15:54 hpsf-sd JobId 130: Volume "set1-w" previously written, moving
> to end of data.
> 05-May 15:54 hpsf-sd JobId 130: Error: Unable to position to end of data on
> device "ibm-dds6" (/dev/nst0): ERR=dev.c:776 ioct
> l MTEOM error on "ibm-dds6" (/dev/nst0). ERR=Input/output error.
>
> 05-May 15:54 hpsf-sd JobId 130: Marking Volume "set1-w" in Error in Catalog.
>
>
> Whenever this occured, I can only relabel the tape in order to reuse it. I
> hope anyone can have a look on the information of the tape settings and
> bacula configuration provided below, and advise if there is anything that is
> not right.
>
> # tapeinfo -f /dev/nst0
> Product Type: Tape Drive
> Vendor ID: 'IBM '
> Product ID: 'DDS Gen6'
> Revision: 'WU04'
> Attached Changer API: No
> SerialNumber: 'HU14086PJM'
> MinBlock: 1
> MaxBlock: 16777215
> SCSI ID: 0
> SCSI LUN: 0
> Ready: yes
> BufferedMode: yes
> Medium Type: Not Loaded
> Density Code: 0x48
> BlockSize: 0
> DataCompEnabled: yes
> DataCompCapable: yes
> DataDeCompEnabled: yes
> CompType: 0x20
> DeCompType: 0x0
> BOP: yes
> Block Position: 0
> Partition 0 Remaining Kbytes: 86814000
> Partition 0 Size in Kbytes: 86814000
> ActivePartition: 0
> EarlyWarningSize: 0
> NumPartitions: 0
> MaxPartitions: 1
>
>
> # mt -f /dev/nst0 status
> drive type = Generic SCSI-2 tape
> drive status = 1207959552
> sense key error = 0
> residue count = 0
> file number = 0
> block number = 0
> Tape block size 0 bytes. Density code 0x48 (DAT160).
> Soft error count since last status=0
> General status bits on (4101):
>  BOT ONLINE IM_REP_E
>
>
> # bacula-sd.conf:
> Device {
>   Name = ibm-dds6
>   Media Type = DDS6
>   Device Type = tape
>   Archive Device = /dev/nst0
>   AlwaysOpen = yes;
>   Hardware End of Medium = no;
> # Two EOF = Yes
>   RemovableMedia = yes;
>   RandomAccess = no;
> }
>
>
> Before running the first job, mount script will be executed (run before
> job). After running the last job, umount script will be executed (run after
> job).
>
> # cat mount.sh
> #!/bin/sh
>
> /usr/sbin/bconsole -c /etc/bacula/bconsole.conf < mount storage=TapeDrive
> EOF
>
>
> # cat umount.sh
> #!/bin/sh
>
> /bin/sleep 60
>
> /usr/sbin/bconsole -c /etc/bacula/bconsole.conf < umount storage=TapeDrive
> EOF
>
> More from bacula.log:
> https://dpaste.de/uAYF/raw
>
>
>
>
>
> --
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



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

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


Re: [Bacula-users] IBM DAT 160 (dds6) media status error after backup.

2016-09-23 Thread Marcin Haba
Hello Gi Dot,

Thanks for this output from btape test.

You are asking about my thoughts. Looking on advices in your btape
output, I would propose to add these three directives to device
config:

Hardware End of Medium = No
Fast Forward Space File = No
BSF at EOM = yes

You mentioned that you already changed directives self, and now this
error doesn't occur. That is fine, you are rich in new experiences.

I usually in this type of chooses when I don't know in full 100% how
something works, I use values recommended by software author.

I am sure that Bacula developers know well these directives that they
proposed you in btape test output.

You use mt, not mt-st. OK, you can change it, it should be useful too.

I would propose to do all these changes now, because some problems
with your current config can come after some time, for example when
you will need urgent restore from a tape.

I hope that I helped.

Please let know here how it works with new changes if you decide to use them.

Best regards.
Marcin

On 23 September 2016 at 11:54, Gi Dot  wrote:
> Oh ya btw I'm using the mt command.
>
> On Fri, Sep 23, 2016 at 5:51 PM, Gi Dot  wrote:
>>
>> Hi,
>>
>> Thanks for your reply. I have changed my bacula-sd.conf configuration
>> since a couple of weeks, and removed the mount.sh and umount.sh scripts. So
>> far I have not received the tape error anymore.
>>
>> I did run the btape test as suggested, and seems like I have more
>> modification to make. Let me know your thoughts.
>>
>>
>>
>>
>> # btape test output:
>> https://dpaste.de/0Qme/raw
>>
>>
>> # Current bacula-sd.conf:
>> Device {
>> Name = ibm-dds6
>> Media Type = DDS6
>> Device Type = tape
>> Archive Device = /dev/nst0
>> AutomaticMount = yes; # when device opened, read it
>> AlwaysOpen = no;
>> Hardware End of Medium = yes;
>> Two EOF = Yes
>> RemovableMedia = yes;
>> RandomAccess = no;
>> }
>>
>>
>>
>> # mt -f /dev/nst0 status
>> drive type = Generic SCSI-2 tape
>> drive status = 1207959552
>> sense key error = 0
>> residue count = 0
>> file number = 0
>> block number = 0
>> Tape block size 0 bytes. Density code 0x48 (DAT160).
>> Soft error count since last status=0
>> General status bits on (4101):
>>  BOT ONLINE IM_REP_EN
>>
>> # tapeinfo -f /dev/nst0
>> Product Type: Tape Drive
>> Vendor ID: 'IBM '
>> Product ID: 'DDS Gen6'
>> Revision: 'WU04'
>> Attached Changer API: No
>> SerialNumber: 'HU14246VM2'
>> MinBlock: 1
>> MaxBlock: 16777215
>> SCSI ID: 0
>> SCSI LUN: 0
>> Ready: yes
>> BufferedMode: yes
>> Medium Type: Not Loaded
>> Density Code: 0x48
>> BlockSize: 0
>> DataCompEnabled: yes
>> DataCompCapable: yes
>> DataDeCompEnabled: yes
>> CompType: 0x20
>> DeCompType: 0x0
>> BOP: yes
>> Block Position: 0
>> Partition 0 Remaining Kbytes: 86814000
>> Partition 0 Size in Kbytes: 86814000
>> ActivePartition: 0
>> EarlyWarningSize: 0
>> NumPartitions: 0
>> MaxPartitions: 1
>>
>>
>>
>> Thanks.
>>
>> On Fri, Sep 23, 2016 at 11:39 AM, Marcin Haba  wrote:
>>>
>>> Hello Gi Dot,
>>>
>>> Could you try to run test command in btape tool and past here output
>>> from this test?
>>>
>>> The output text from the test command in btape can also advise adding
>>> some directives to your Bacula config (BSF at EOM = yes/no ...and
>>> others).
>>>
>>> I have also question if you use "mt" or "mt-st" program to manage
>>> magnetic tape drive? Your IBM DAT 160 works on SCSI bus (it is SAS)
>>> and that is OK, because Bacula supports SCSI tape drives, of course. I
>>> am asking about it because to tape drives on SCSI bus better is use
>>> mt-st (magnetic tape control tool for SCSI tape driver) instead of mt
>>> (standard magnetic tape control tool) to use proper ioctls for your
>>> SCSI tape driver.
>>>
>>> Thanks in advance for sending btape test output here.
>>>
>>> Best regards.
>>> Marcin Haba (gani)
>>>
>>> On 5 September 2016 at 11:19, Gi Dot  wrote:
>>> > Hi all,
>>> >
>>> > I am using IBM DAT 160 media with bacula, and I always get a tape error
>>> > after a successful backup job. There were a lot of times that the tapes
>>> > snapped as well. At first I thought the tapes are just defect, but the
>>> > error

Re: [Bacula-users] Baculum xenial package.

2016-09-23 Thread Marcin Haba
Hello Piero,

I saw your message here from a few days but I didn't have time to
respond here. Now I am trying to catch up reading mails from mailing
groups.

Answering to your question - no, there isn't Baculum packages for
Ubuntu 16.04 Xenial. I can prepare these pacakges but for now I can
prepare them with "unstable" mark, because I still need time to test
these new packages. If you and anybody else are interested Baculum
packages for Ubuntu 16.04 please let me know here. I will prepare them
in the beginning of next week.

Please note that from Baculum packages for 15.10 there isn't too many
big changes to Baculum. There are only minor changes. In the future I
will add more new features.

Best regards.
Marcin Haba (gani)

On 14 September 2016 at 17:48, Piero Ferroni  wrote:
> Hi,
> I need to install baculum on Ubuntu 16.04 Xenial but until now I did not
> find any xenial specific package.
> Is somebody working on a xenial package? If so, is there any estimated
> date for its release?
>
> Best regards.
>
> --
> Piero Ferroni
>
>
> --
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



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

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


Re: [Bacula-users] IBM DAT 160 (dds6) media status error after backup.

2016-09-23 Thread Marcin Haba
Hello Gi Dot,

OK, fine.

Please note that mount and umount scripts that you mentioned are
defined on Director side, not on Storage Daemon side. You also
mentioned that you removed mount.sh and umount.sh after some tests.

To btape you use bacula-sd.conf as a param in which you don't use
mount.sh and umount.sh.

I think that these scritps can be not required and maybe Bacula can do
this mount/umount actions besides you.

You can read official Bacula documentation where all this type
directives are described (Device section):

http://www.bacula.org/7.4.x-manuals/en/main/Storage_Daemon_Configuratio.html#SECTION00193

Could you also tell my what is reason that you use mount.sh and umount.sh ?

Best regards.
Marcin Haba (gani)



On 23 September 2016 at 13:39, Gi Dot  wrote:
> Yes, I'm planning to add the suggested parameters as well. Will also try out
> the mt-st command.
>
> I am pretty sure that the error occurred due to the mount and unmount
> scripts that I included in each run of the backup job, it would be
> interesting to see if the error still appear with the new config. Actually I
> don't even need to use the scripts anymore, but maybe I'll just make a test
> for the fun of it.
>
> Will let you know on how it goes. Thanks a lot for your help and advice.
>
>
> On 23 Sep 2016 18:57, "Marcin Haba"  wrote:
>>
>> Hello Gi Dot,
>>
>> Thanks for this output from btape test.
>>
>> You are asking about my thoughts. Looking on advices in your btape
>> output, I would propose to add these three directives to device
>> config:
>>
>> Hardware End of Medium = No
>> Fast Forward Space File = No
>> BSF at EOM = yes
>>
>> You mentioned that you already changed directives self, and now this
>> error doesn't occur. That is fine, you are rich in new experiences.
>>
>> I usually in this type of chooses when I don't know in full 100% how
>> something works, I use values recommended by software author.
>>
>> I am sure that Bacula developers know well these directives that they
>> proposed you in btape test output.
>>
>> You use mt, not mt-st. OK, you can change it, it should be useful too.
>>
>> I would propose to do all these changes now, because some problems
>> with your current config can come after some time, for example when
>> you will need urgent restore from a tape.
>>
>> I hope that I helped.
>>
>> Please let know here how it works with new changes if you decide to use
>> them.
>>
>> Best regards.
>> Marcin
>>
>> On 23 September 2016 at 11:54, Gi Dot  wrote:
>> > Oh ya btw I'm using the mt command.
>> >
>> > On Fri, Sep 23, 2016 at 5:51 PM, Gi Dot  wrote:
>> >>
>> >> Hi,
>> >>
>> >> Thanks for your reply. I have changed my bacula-sd.conf configuration
>> >> since a couple of weeks, and removed the mount.sh and umount.sh
>> >> scripts. So
>> >> far I have not received the tape error anymore.
>> >>
>> >> I did run the btape test as suggested, and seems like I have more
>> >> modification to make. Let me know your thoughts.
>> >>
>> >>
>> >>
>> >>
>> >> # btape test output:
>> >> https://dpaste.de/0Qme/raw
>> >>
>> >>
>> >> # Current bacula-sd.conf:
>> >> Device {
>> >> Name = ibm-dds6
>> >> Media Type = DDS6
>> >> Device Type = tape
>> >> Archive Device = /dev/nst0
>> >> AutomaticMount = yes; # when device opened, read it
>> >> AlwaysOpen = no;
>> >> Hardware End of Medium = yes;
>> >> Two EOF = Yes
>> >> RemovableMedia = yes;
>> >> RandomAccess = no;
>> >> }
>> >>
>> >>
>> >>
>> >> # mt -f /dev/nst0 status
>> >> drive type = Generic SCSI-2 tape
>> >> drive status = 1207959552
>> >> sense key error = 0
>> >> residue count = 0
>> >> file number = 0
>> >> block number = 0
>> >> Tape block size 0 bytes. Density code 0x48 (DAT160).
>> >> Soft error count since last status=0
>> >> General status bits on (4101):
>> >>  BOT ONLINE IM_REP_EN
>> >>
>> >> # tapeinfo -f /dev/nst0
>> >> Product Type: Tape Drive
>> >> Vendor ID: 'IBM '
>> >> Product ID: 'DDS Gen6'
>> >> Revision: 'WU04'
>> >> Attached Changer API: 

Re: [Bacula-users] Bacula release version 7.4.4

2016-09-23 Thread Marcin Haba
Hello Viraj,

I think that in Bacula Community version there isn't any Bacula FreeNAS
plugin or I wrong understood your question.

Could you explain what do you mean?

Best regards.
Marcin Haba (gani)

On 23 September 2016 at 13:32, Viraj Bhujbal  wrote:

> Hi Team,
>
> Thank you for the update. I would like to know whether this plug-in has
> been tested for FreeNAS 9.10.1 stable.
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Kern Sibbald [mailto:k...@sibbald.com]
> *Sent:* Thursday, September 22, 2016 5:51 PM
> *To:* bacula-devel; bacula-users; bacula-announce
> *Subject:* [Bacula-users] Bacula release version 7.4.4
>
>
>
> Hello,
>
> We are pleased to announce that we have just released Bacula version 7.4.4
>
> This version is a minor bug fix release.
>
> If you are a packager, I strongly advise you to take the 7.4.4 version
> instead of 7.4.0 since it corrects a number of problems related to
> packaging and installation. If you are already running Bacula version
> 7.4.0, it is not urgent to upgrade unless you find a problem you are
> experiencing on the list of fixes (see ReleaseNotes below). There is no
> database update required from any prior 7.4.x version, but as usual all
> Storage Daemons must be updated to the same version as your Director
> (presumably 7.4.4).
>
> As a reminder, the Windows File Daemon is available for download on the
> www.bacula.org web site for personal use. Since there are no updates to
> the Windows FD, version 7.4.4 does not exist. Consequently, please use the
> Windows FD version 7.4.0.  We are working on releasing an updated version.
>
> Work is progressing on the next major version, which will have several
> major new features. It will probably be ready in the spring of 2017.
>
> Thank you for using Bacula.
>
>
>
> Best regards,
>
> Kern
>
> ===
>
> Release Notes for Bacula 7.4.4
>
> – Fix #2085 About director segfault in cram-md5 function
> – Attempt to fix bug #2237
> – Recompile configure.in
> – Fix systemd installation
> – If using readline reset terminal at bconsole exit
> – Fix compilation without SMARTALLOC
> – Fix #2060 about SQL false error message with “update volume
> fromallpools” command
> – Fix spurious MD5 update errors when nothing changed should fix   bug
> #2237 and others
> – Fix small memory leak with the restart command
> – baculum: Update language files
> – Fix #335 Avoid backups going to the scratch pool
> – Minor modifications to Ubuntu packaging
> – Check if the ScratchPool points to the current Pool and print a warning
> message in such case
> – Fix #1968 print the ScratchPool name instead of just ‘Scratch’
> – Display PrefixLinks in “show job” output
> – Add explicit LL to big integers to appease older compilers
> – Enable the plugin directory for the FileDaemon by default
> – Allow multiple mailcommand+operatorcommand in Messages. Fixes bug #
> – Handle NULL pointers in smartdump() and asciidump()
> – Modify status to include Admin and Restore in Level field — clearer
> – Ensure that zero JobMedias are written for labelling
> – Fix error message about the stream 26 (PLUGIN_NAME) in bextract
>
> Bugs fixed/closed since last release:
> 1968 2060 2085  2237 335
>
> 
> --
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>


-- 
"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za
przyjaciół swoich." Jezus Chrystus
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] IBM DAT 160 (dds6) media status error after backup.

2016-09-23 Thread Marcin Haba
Hello Gi Dot,

That is fantastic. You found source of the problem and you fixed the
source. From this time the workarround with shell scripts is not
needed anymore.

By the way you fixed your tape drive problem with EOF position and you
adjusted your tape drive to work with Bacula.

Only good things :-)

Best regards.
Marcin

On 23 September 2016 at 20:48, Gi Dot  wrote:
> Hi,
>
> I don't use the mount and umount scripts anymore by setting the following
> parameters:
>
> AlwaysOpen = no
> AutomaticMount = yes
>
> Previously I had AlwaysOpen set to yes and therefore I had to manually
> unmount it so that the tape is ready to be ejected by the user.
> AutomaticMount was not set as well and that's why I needed the mount script.
>
> Thanks.
>
>
> On 23 Sep 2016 19:54, "Marcin Haba"  wrote:
>>
>> Hello Gi Dot,
>>
>> OK, fine.
>>
>> Please note that mount and umount scripts that you mentioned are
>> defined on Director side, not on Storage Daemon side. You also
>> mentioned that you removed mount.sh and umount.sh after some tests.
>>
>> To btape you use bacula-sd.conf as a param in which you don't use
>> mount.sh and umount.sh.
>>
>> I think that these scritps can be not required and maybe Bacula can do
>> this mount/umount actions besides you.
>>
>> You can read official Bacula documentation where all this type
>> directives are described (Device section):
>>
>>
>> http://www.bacula.org/7.4.x-manuals/en/main/Storage_Daemon_Configuratio.html#SECTION00193
>>
>> Could you also tell my what is reason that you use mount.sh and umount.sh
>> ?
>>
>> Best regards.
>> Marcin Haba (gani)
>>
>>
>>
>> On 23 September 2016 at 13:39, Gi Dot  wrote:
>> > Yes, I'm planning to add the suggested parameters as well. Will also try
>> > out
>> > the mt-st command.
>> >
>> > I am pretty sure that the error occurred due to the mount and unmount
>> > scripts that I included in each run of the backup job, it would be
>> > interesting to see if the error still appear with the new config.
>> > Actually I
>> > don't even need to use the scripts anymore, but maybe I'll just make a
>> > test
>> > for the fun of it.
>> >
>> > Will let you know on how it goes. Thanks a lot for your help and advice.
>> >
>> >
>> > On 23 Sep 2016 18:57, "Marcin Haba"  wrote:
>> >>
>> >> Hello Gi Dot,
>> >>
>> >> Thanks for this output from btape test.
>> >>
>> >> You are asking about my thoughts. Looking on advices in your btape
>> >> output, I would propose to add these three directives to device
>> >> config:
>> >>
>> >> Hardware End of Medium = No
>> >> Fast Forward Space File = No
>> >> BSF at EOM = yes
>> >>
>> >> You mentioned that you already changed directives self, and now this
>> >> error doesn't occur. That is fine, you are rich in new experiences.
>> >>
>> >> I usually in this type of chooses when I don't know in full 100% how
>> >> something works, I use values recommended by software author.
>> >>
>> >> I am sure that Bacula developers know well these directives that they
>> >> proposed you in btape test output.
>> >>
>> >> You use mt, not mt-st. OK, you can change it, it should be useful too.
>> >>
>> >> I would propose to do all these changes now, because some problems
>> >> with your current config can come after some time, for example when
>> >> you will need urgent restore from a tape.
>> >>
>> >> I hope that I helped.
>> >>
>> >> Please let know here how it works with new changes if you decide to use
>> >> them.
>> >>
>> >> Best regards.
>> >> Marcin
>> >>
>> >> On 23 September 2016 at 11:54, Gi Dot  wrote:
>> >> > Oh ya btw I'm using the mt command.
>> >> >
>> >> > On Fri, Sep 23, 2016 at 5:51 PM, Gi Dot  wrote:
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >> Thanks for your reply. I have changed my bacula-sd.conf
>> >> >> configuration
>> >> >> since a couple of weeks, and removed the mount.sh and umount.sh
>> >> >> scripts. So
>> >> >> far I have not received the tape error anymor

Re: [Bacula-users] Bacula plugin for backing-up Linux 7 & CentOS 7 machine in network

2016-09-23 Thread Marcin Haba
Hello Viraj,

I am not sure what is the problem. Let me describe in points what I know
and what I don't know and please confirm YES/NO each of these points.

I know:
1) You use following hardware https://www.ixsystems.com/freenas-mini/
2) by the GUI in this hardware you installed Bacula SD,
3) by the GUI in this hardware you installed Bacula Director.

I don't know:
1) Did you install following Bacula SD plugin for FreeNAS or you installed
another plugin?
https://forums.freenas.org/index.php?threads/bacula-sd-plugin.8212/
2) Where are you downloaded Bacula Director plugin for FreeNAS? (I can't
find any, so far)
3) Do you have your own Bacula clients in your network?

Thank you in advance for answers to above points.

Best regards.
Marcin Haba (gani)

On 22 September 2016 at 13:36, Viraj Bhujbal  wrote:

> Hi Team,
>
> I am using FreeNAS Mini from iXsystems with below configuration:
>
>
>
> Build: FreeNAS 9.10.1 (d989edd)
>
> Platform: Intel Atom C2750 @ 2.40GHz
>
> Memory: 16GB
>
> HDD: 1 x 3TB 7200rpm
>
>
>
> I’ve created a user with NFS service enabled & installed Bacula SD
> 5.2.12_3-amd64 (using GUI).
>
> I’ve also added a Director (using GUI).
>
> Now, I want to take backup of my Linux 7 & CentOS 7 machine in my network
> to this FreeNAS.
>
> Please let me know how do I proceed.
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> 
> --
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>


-- 
"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za
przyjaciół swoich." Jezus Chrystus
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Recycle Tape marked used but not the oldest volume.

2016-09-23 Thread Marcin Haba
Hello Gi Dot,

I think that this problem and solution to the problem is very similar
to that we solved yesterday here:

https://adsm.org/lists/html/Bacula-users/2016-09/msg8.html

I don't mean the same technical solution but only analogy to use a
workarround and its consequences.

You described this current problem such as: You want to have
capability to run backup always and you want to have volume recycling
well configured.

Did I understand the problem correct or not? Do you want to add
something to the problem description?

If I understood the problem well, I think that you need to do (in this order):

1) read in Bacula official documentation the chapter "Automatic Volume
Recycling"

http://www.bacula.org/7.4.x-manuals/en/main/Automatic_Volume_Recycling.html

It will give you theoretical knowledge that enables you start thinking
about configuration that you will want to use in Bacula.

2) Write down your requrements what you want to achieve in volume recycling
3) Start using the new recycle config in Bacula and check if it works
as you expected.
4) In case problems you can ask at the mailing list. Here are
subscribed many very experienced Bacula admins who help people with
using Bacula if people send a problem here.

Best regards.
Marcin Haba (gani)

On 12 September 2016 at 16:33, Gi Dot  wrote:
> Sorry I forgot to mention that I want a solution that doesn't require human
> intervention. I used to use a script to set the volume status to recycle
> after each job run but I figured that maybe there's a better way of doing
> it?
>
> My aim is so that the backup job will always be successful, regardless a
> wrong tape is inserted, or if a tape is not changed for some time that will
> lead it to be fully utilised, but can't be recycled because there are other
> tapes that are appendable.
>
>
> On 12 Sep 2016 22:06, "Phil Stracchino"  wrote:
>
> On 09/12/16 06:14, Gi Dot wrote:
>> Hi list,
>>
>> If I have a list of tapes with status Used, and the tape that I inserted
>> is also Used and the retention period is already exceeded, bacula won't
>> recycle the tape if it is not the oldest volume, right?
>>
>> If the prior statement is true, is it possible for me to get bacula to
>> recycle a tape that is already marked as used and has exceeded its
>> retention period, while ignoring whether it is the oldest volume or not.
>
> Purge the volume and use an UPDATE VOLUME command to set its status to
> Recycle.
>
>
> --
>   Phil Stracchino
>   Babylon Communications
>   ph...@caerllewys.net
>   p...@co.ordinate.org
>   Landline: 603.293.8485
>
> --
> ___
> 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
>



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

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


Re: [Bacula-users] Bacula plugin for backing-up Linux 7 & CentOS 7 machine in network

2016-09-26 Thread Marcin Haba
Hello Viraj,

Thanks for your answers.

Under the link, that you take Bacula Director plugin there isn't any Bacula
Director plugin (at least I don't see it):

http://download.freenas.org/plugins/9/x64/

It can be that your FreeNAS gets and installs the Bacula Director plugin
from another place.

You can ask the iXsystems support or you can check FreeNAS logs if they are
some logs.

I have one additional question. Could you tell me if the FreeNAS Mini is
open source or close source software?

I am asking about it because I think that it can be problem when there will
be three separate FreeNAS plugins - Director, Storage and FileDaemon that
will be provided in diferent versions and that will be maintained by
different maintainers. More difficult case can be when development for one
from these plugins will be stopped. On the freenas.org link the bacula-sd
is 5.2.12 only.

Thanks in advance for your answer.

Best regards.
Marcin

On 26 September 2016 at 07:12, Viraj Bhujbal  wrote:

> Hi Marcin,
>
>
>
> Please find below response
>
>
>
> I know:
>
> 1)  You use following hardware https://www.ixsystems.com/freenas-mini/
>
> Ans:  Yes
>
> 2)  by the GUI in this hardware you installed Bacula SD,
>
> Ans: Yes
>
> 3)  by the GUI in this hardware you installed Bacula Director.
>
> Ans: Yes
>
>
>
> I don't know:
>
> 1)  Did you install following Bacula SD plugin for FreeNAS or you
> installed another plugin? https://forums.freenas.org/
> index.php?threads/bacula-sd-plugin.8212/
>
> Ans: Yes I had installed Bacula SD plugin for FreeNAS 9.10.1 stable
>
> 2)  Where are you downloaded Bacula Director plugin for FreeNAS? (I
> can't find any, so far)
>
>Ans: The plug-in is already built-in with the system. We have to
> simply select the plug-in & click install. This installation takes the
> http://download.freenas.org/plugins/9/x64/ path
>
> 3)  Do you have your own Bacula clients in your network?
>
> Ans:  I have Linux 7 & Centos 7 desktop & laptop.
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com]
> *Sent:* Saturday, September 24, 2016 4:10 AM
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hello Viraj,
>
>
>
> I am not sure what is the problem. Let me describe in points what I know
> and what I don't know and please confirm YES/NO each of these points.
>
>
>
> I know:
>
> 1) You use following hardware https://www.ixsystems.com/freenas-mini/
>
> 2) by the GUI in this hardware you installed Bacula SD,
>
> 3) by the GUI in this hardware you installed Bacula Director.
>
>
>
> I don't know:
>
> 1) Did you install following Bacula SD plugin for FreeNAS or you installed
> another plugin? https://forums.freenas.org/index.php?threads/
> bacula-sd-plugin.8212/
>
> 2) Where are you downloaded Bacula Director plugin for FreeNAS? (I can't
> find any, so far)
>
> 3) Do you have your own Bacula clients in your network?
>
>
>
> Thank you in advance for answers to above points.
>
>
>
> Best regards.
>
> Marcin Haba (gani)
>
>
>
> On 22 September 2016 at 13:36, Viraj Bhujbal 
> wrote:
>
> Hi Team,
>
> I am using FreeNAS Mini from iXsystems with below configuration:
>
>
>
> Build: FreeNAS 9.10.1 (d989edd)
>
> Platform: Intel Atom C2750 @ 2.40GHz
>
> Memory: 16GB
>
> HDD: 1 x 3TB 7200rpm
>
>
>
> I’ve created a user with NFS service enabled & installed Bacula SD
> 5.2.12_3-amd64 (using GUI).
>
> I’ve also added a Director (using GUI).
>
> Now, I want to take backup of my Linux 7 & CentOS 7 machine in my network
> to this FreeNAS.
>
> Please let me know how do I proceed.
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]

Re: [Bacula-users] Bacula plugin for backing-up Linux 7 & CentOS 7 machine in network

2016-09-26 Thread Marcin Haba
Hello Viraj,

OK. I understand.

Could you give me link to download this software that you use as web
interface? I mean the mini version of FreeNAS.

Thanks in advance for response.

Best regards.
Marcin

On 26 September 2016 at 11:04, Viraj Bhujbal  wrote:

> Hi Marcin,
>
>
>
> FreeNAS mini is open source.
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com]
> *Sent:* Monday, September 26, 2016 2:31 PM
>
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hello Viraj,
>
>
>
> Thanks for your answers.
>
>
>
> Under the link, that you take Bacula Director plugin there isn't any
> Bacula Director plugin (at least I don't see it):
>
>
>
> http://download.freenas.org/plugins/9/x64/
>
>
>
> It can be that your FreeNAS gets and installs the Bacula Director plugin
> from another place.
>
>
>
> You can ask the iXsystems support or you can check FreeNAS logs if they
> are some logs.
>
>
>
> I have one additional question. Could you tell me if the FreeNAS Mini is
> open source or close source software?
>
>
>
> I am asking about it because I think that it can be problem when there
> will be three separate FreeNAS plugins - Director, Storage and FileDaemon
> that will be provided in diferent versions and that will be maintained by
> different maintainers. More difficult case can be when development for one
> from these plugins will be stopped. On the freenas.org link the bacula-sd
> is 5.2.12 only.
>
>
>
> Thanks in advance for your answer.
>
>
>
> Best regards.
>
> Marcin
>
>
>
> On 26 September 2016 at 07:12, Viraj Bhujbal 
> wrote:
>
> Hi Marcin,
>
>
>
> Please find below response
>
>
>
> I know:
>
> 1)  You use following hardware https://www.ixsystems.com/freenas-mini/
>
> Ans:  Yes
>
> 2)  by the GUI in this hardware you installed Bacula SD,
>
> Ans: Yes
>
> 3)  by the GUI in this hardware you installed Bacula Director.
>
> Ans: Yes
>
>
>
> I don't know:
>
> 1)  Did you install following Bacula SD plugin for FreeNAS or you
> installed another plugin? https://forums.freenas.org/
> index.php?threads/bacula-sd-plugin.8212/
>
> Ans: Yes I had installed Bacula SD plugin for FreeNAS 9.10.1 stable
>
> 2)  Where are you downloaded Bacula Director plugin for FreeNAS? (I
> can't find any, so far)
>
>Ans: The plug-in is already built-in with the system. We have to
> simply select the plug-in & click install. This installation takes the
> http://download.freenas.org/plugins/9/x64/ path
>
> 3)  Do you have your own Bacula clients in your network?
>
> Ans:  I have Linux 7 & Centos 7 desktop & laptop.
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com]
> *Sent:* Saturday, September 24, 2016 4:10 AM
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hello Viraj,
>
>
>
> I am not sure what is the problem. Let me describe in points what I know
> and what I don't know and please confirm YES/NO each of these points.
>
>
>
> I know:
>
> 1) You use following hardware https://www.ixsystems.com/freenas-mini/
>
> 2) by the GUI in this hardware you installed Bacula SD,
>
> 3) by the GUI in this hardware you installed Bacula Director.
>
>
>
> I don't know:
>
> 1) Did you install following Bacula SD plugin for FreeNAS or you installed
> another plugin? https://forums

Re: [Bacula-users] Bacula plugin for backing-up Linux 7 & CentOS 7 machine in network

2016-09-26 Thread Marcin Haba
Hello Viraj,

It is iso file to FreeNAS (not Mini). Maybe the "Mini" is only marketing
name the hardware + software product.

OK. So, at the end could you give me link to the Director Plugin files?

Thanks in advance for response.

Best regards.
Marcin Haba (gani)

On 26 September 2016 at 11:16, Viraj Bhujbal  wrote:

> Hi Marcin,
>
> Please find below link:
>
>
>
> https://download.freenas.org/9.10/STABLE/9.10.1/x64/
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com]
> *Sent:* Monday, September 26, 2016 2:42 PM
>
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hello Viraj,
>
>
>
> OK. I understand.
>
>
>
> Could you give me link to download this software that you use as web
> interface? I mean the mini version of FreeNAS.
>
>
>
> Thanks in advance for response.
>
>
>
> Best regards.
>
> Marcin
>
>
>
> On 26 September 2016 at 11:04, Viraj Bhujbal 
> wrote:
>
> Hi Marcin,
>
>
>
> FreeNAS mini is open source.
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com]
> *Sent:* Monday, September 26, 2016 2:31 PM
>
>
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hello Viraj,
>
>
>
> Thanks for your answers.
>
>
>
> Under the link, that you take Bacula Director plugin there isn't any
> Bacula Director plugin (at least I don't see it):
>
>
>
> http://download.freenas.org/plugins/9/x64/
>
>
>
> It can be that your FreeNAS gets and installs the Bacula Director plugin
> from another place.
>
>
>
> You can ask the iXsystems support or you can check FreeNAS logs if they
> are some logs.
>
>
>
> I have one additional question. Could you tell me if the FreeNAS Mini is
> open source or close source software?
>
>
>
> I am asking about it because I think that it can be problem when there
> will be three separate FreeNAS plugins - Director, Storage and FileDaemon
> that will be provided in diferent versions and that will be maintained by
> different maintainers. More difficult case can be when development for one
> from these plugins will be stopped. On the freenas.org link the bacula-sd
> is 5.2.12 only.
>
>
>
> Thanks in advance for your answer.
>
>
>
> Best regards.
>
> Marcin
>
>
>
> On 26 September 2016 at 07:12, Viraj Bhujbal 
> wrote:
>
> Hi Marcin,
>
>
>
> Please find below response
>
>
>
> I know:
>
> 1)  You use following hardware https://www.ixsystems.com/freenas-mini/
>
> Ans:  Yes
>
> 2)  by the GUI in this hardware you installed Bacula SD,
>
> Ans: Yes
>
> 3)  by the GUI in this hardware you installed Bacula Director.
>
> Ans: Yes
>
>
>
> I don't know:
>
> 1)  Did you install following Bacula SD plugin for FreeNAS or you
> installed another plugin? https://forums.freenas.org/
> index.php?threads/bacula-sd-plugin.8212/
>
> Ans: Yes I had installed Bacula SD plugin for FreeNAS 9.10.1 stable
>
> 2)  Where are you downloaded Bacula Director plugin for FreeNAS? (I
> can't find any, so far)
>
>Ans: The plug-in is already built-in with the system. We have to
> simply select the plug-in & click install. This installation takes the
> http://download.freenas.org/plugins/9/x64/ path
>
> 3)  Do you have your own Bacula clients in your network?
>
> Ans:  I have Linux 7 & Centos 7 desktop & laptop.
>
>
>

Re: [Bacula-users] Bacula plugin for backing-up Linux 7 & CentOS 7 machine in network

2016-09-26 Thread Marcin Haba
Hello Viraj,

This link seems to be repo metafiles, not plugin files.

I am reading that these plugin files to FreeNAS have extension *.pbi and
about this type of file I asked you.

Thanks in advance for response.

Best regards.
Marcin


On 26 September 2016 at 12:01, Viraj Bhujbal  wrote:

> Hi Marcin,
>
> If you want I can share team viewer with you so that you can have a better
> overview. This is a test environment. I’ve taken permission from my boss
> for the same.
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Viraj Bhujbal [mailto:vi...@rahisystems.com]
> *Sent:* Monday, September 26, 2016 3:22 PM
> *To:* 'Marcin Haba'
> *Cc:* 'Bacula-users@lists.sourceforge.net'; 'Ajay Kakde'
> *Subject:* RE: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hi Marcin,
>
> Below is the repository for downloading the plug-in:
>
>
>
> http://download.freenas.org/plugins/9/x64/pbi-meta/
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com ]
> *Sent:* Monday, September 26, 2016 2:55 PM
>
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hello Viraj,
>
>
>
> It is iso file to FreeNAS (not Mini). Maybe the "Mini" is only marketing
> name the hardware + software product.
>
>
>
> OK. So, at the end could you give me link to the Director Plugin files?
>
>
>
> Thanks in advance for response.
>
>
>
> Best regards.
>
> Marcin Haba (gani)
>
>
>
> On 26 September 2016 at 11:16, Viraj Bhujbal 
> wrote:
>
> Hi Marcin,
>
> Please find below link:
>
>
>
> https://download.freenas.org/9.10/STABLE/9.10.1/x64/
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com]
> *Sent:* Monday, September 26, 2016 2:42 PM
>
>
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hello Viraj,
>
>
>
> OK. I understand.
>
>
>
> Could you give me link to download this software that you use as web
> interface? I mean the mini version of FreeNAS.
>
>
>
> Thanks in advance for response.
>
>
>
> Best regards.
>
> Marcin
>
>
>
> On 26 September 2016 at 11:04, Viraj Bhujbal 
> wrote:
>
> Hi Marcin,
>
>
>
> FreeNAS mini is open source.
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com]
> *Sent:* Monday, September 26, 2016 2:31 PM
>
>
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machin

Re: [Bacula-users] Bacula plugin for backing-up Linux 7 & CentOS 7 machine in network

2016-09-26 Thread Marcin Haba
Hello Viraj,

Why are you asking about this Team viewer?

I have never used FreeNAS and I am not even beginner in this matter.

Best regards.
Marcin Haba (gani)

On 26 September 2016 at 14:38, Viraj Bhujbal  wrote:

> Hi Marcin,
>
> Can you please have a Team viewer remote session for my FreeNAS during
> 9.30a.m to 6 p.m IST time zone.
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com]
> *Sent:* Monday, September 26, 2016 3:41 PM
>
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hello Viraj,
>
>
>
> This link seems to be repo metafiles, not plugin files.
>
>
>
> I am reading that these plugin files to FreeNAS have extension *.pbi and
> about this type of file I asked you.
>
>
>
> Thanks in advance for response.
>
>
>
> Best regards.
>
> Marcin
>
>
>
>
>
> On 26 September 2016 at 12:01, Viraj Bhujbal 
> wrote:
>
> Hi Marcin,
>
> If you want I can share team viewer with you so that you can have a better
> overview. This is a test environment. I’ve taken permission from my boss
> for the same.
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Viraj Bhujbal [mailto:vi...@rahisystems.com]
> *Sent:* Monday, September 26, 2016 3:22 PM
> *To:* 'Marcin Haba'
> *Cc:* 'Bacula-users@lists.sourceforge.net'; 'Ajay Kakde'
> *Subject:* RE: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hi Marcin,
>
> Below is the repository for downloading the plug-in:
>
>
>
> http://download.freenas.org/plugins/9/x64/pbi-meta/
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com ]
> *Sent:* Monday, September 26, 2016 2:55 PM
>
>
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hello Viraj,
>
>
>
> It is iso file to FreeNAS (not Mini). Maybe the "Mini" is only marketing
> name the hardware + software product.
>
>
>
> OK. So, at the end could you give me link to the Director Plugin files?
>
>
>
> Thanks in advance for response.
>
>
>
> Best regards.
>
> Marcin Haba (gani)
>
>
>
> On 26 September 2016 at 11:16, Viraj Bhujbal 
> wrote:
>
> Hi Marcin,
>
> Please find below link:
>
>
>
> https://download.freenas.org/9.10/STABLE/9.10.1/x64/
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com]
> *Sent:* Monday, September 26, 2016 2:42 PM
>
>
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up

Re: [Bacula-users] Bacula plugin for backing-up Linux 7 & CentOS 7 machine in network

2016-09-27 Thread Marcin Haba
Hello Viraj,

Is everything OK already with the Bacula Director plugin in your FreeNAS
Mini?

Best regards.
Marcin Haba (gani)

On 26 September 2016 at 14:53, Viraj Bhujbal  wrote:

> Ok. No problem. Thank you!!
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com]
> *Sent:* Monday, September 26, 2016 6:22 PM
>
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hello Viraj,
>
>
>
> Why are you asking about this Team viewer?
>
>
>
> I have never used FreeNAS and I am not even beginner in this matter.
>
>
>
> Best regards.
>
> Marcin Haba (gani)
>
>
>
> On 26 September 2016 at 14:38, Viraj Bhujbal 
> wrote:
>
> Hi Marcin,
>
> Can you please have a Team viewer remote session for my FreeNAS during
> 9.30a.m to 6 p.m IST time zone.
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com]
> *Sent:* Monday, September 26, 2016 3:41 PM
>
>
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hello Viraj,
>
>
>
> This link seems to be repo metafiles, not plugin files.
>
>
>
> I am reading that these plugin files to FreeNAS have extension *.pbi and
> about this type of file I asked you.
>
>
>
> Thanks in advance for response.
>
>
>
> Best regards.
>
> Marcin
>
>
>
>
>
> On 26 September 2016 at 12:01, Viraj Bhujbal 
> wrote:
>
> Hi Marcin,
>
> If you want I can share team viewer with you so that you can have a better
> overview. This is a test environment. I’ve taken permission from my boss
> for the same.
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Viraj Bhujbal [mailto:vi...@rahisystems.com]
> *Sent:* Monday, September 26, 2016 3:22 PM
> *To:* 'Marcin Haba'
> *Cc:* 'Bacula-users@lists.sourceforge.net'; 'Ajay Kakde'
> *Subject:* RE: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hi Marcin,
>
> Below is the repository for downloading the plug-in:
>
>
>
> http://download.freenas.org/plugins/9/x64/pbi-meta/
>
>
>
> *Viraj Bhujbal* *|* *Pre-Sales*
>
> M*:* *+91 9130 08 7741*
>
> *E:* vi...@rahisystems.com
>
> [image: Description: Rahi_Systems_Logo_PNG_3]
>
> *www.rahisystems.com <http://www.rahisystems.com/>*
>
> [image: bwfb] <https://www.facebook.com/RahiSystems/>  [image: bwtw]
> <https://twitter.com/Rahi_Systems>  [image: bwli]
> <https://twitter.com/Rahi_Systems>  [image: bwbl]
> <http://rahisystems.com/blog/>
>
>
>
> *From:* Marcin Haba [mailto:ganius...@gmail.com ]
> *Sent:* Monday, September 26, 2016 2:55 PM
>
>
> *To:* Viraj Bhujbal
> *Cc:* Bacula-users@lists.sourceforge.net; Ajay Kakde
> *Subject:* Re: [Bacula-users] Bacula plugin for backing-up Linux 7 &
> CentOS 7 machine in network
>
>
>
> Hello Viraj,
>
>
>
> It is iso file to FreeNAS (not Mini). Maybe the "Mini" is only marketing
> name the hardware + software product.
>
>
>
> OK. So, at the

Re: [Bacula-users] No scheduled jobs - bacula 7.0.4

2016-09-29 Thread Marcin Haba
Hello Ali,

Do you use splitted Bacula configuration into smaller parts? I mean
inlcuding smaller config parts to main config by "@/some/config". If
yes, then you can check if you included right particular config.

You can do it for example by following bconsole command:

show job=vas-test-123

If you will see there schedules definition, it will mean that you have
included valid config and you need to search source of you problem
somewhere else.

Best regards.
Marcin Haba (gani)

On 29 September 2016 at 13:49, Ali Danish Mahmood (32940)
 wrote:
> Hi ALL,
>
>
>
> I am trying to setup Bacula 7.0.4 on Ubuntu 16.04. I can take manual backups
> and run restore jobs successfully, however I am not been able to implement
> scheduled jobs although I have defined a schedule in my bacula-dir.conf.
>
>
>
> Issuing “status schedule” on bconsole yields “No scheduled jobs” , Here is
> my config
>
>
>
>
>
> bacula-dir.conf
>
>
>
> Schedule {
>
>   Name = "WeeklyCycle"
>
>   Run = Full 1st sun at 23:05
>
>   Run = Differential 2nd-5th sun at 23:05
>
>   Run = Incremental mon-sat at 01:00
>
> }
>
>
>
> Job {
>
>   Name = "vas-test-123"
>
>   Type = Backup
>
>   JobDefs =  "DefaultJob"
>
>   Schedule = "WeeklyCycle"
>
>   Client = vas-test-123.nadra.gov.pk-fd
>
>   FileSet = "testing"
>
>   Storage = File1
>
>   Pool = Default
>
>   Messages = Standard
>
>   Maximum Concurrent Jobs = 1
>
>   where = /bacula_backup/
>
> }
>
>
>
> Bconsole output:-
>
>
>
>
>
> *status schedule
>
> No Scheduled Jobs.
>
> 
>
>
>
> Am I missing something here ?
>
>
>
> Best Regards,
>
>
>
> Ali Danish Mahmood
>
>
>
>
>
>
>
>
> --
>
> ___
> 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

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


Re: [Bacula-users] No scheduled jobs - bacula 7.0.4

2016-09-29 Thread Marcin Haba
Hello David,

The 'status schedule' exists. It has been added from 7.0. Both
Bconsole and Manual say that it exists:

http://www.bacula.org/7.4.x-manuals/en/main/New_Features_in_7_0_0.html#SECTION00515000

Best regards.
Marcin

On 29 September 2016 at 14:57, Mattinson David  wrote:
> I cannot see anywhere that status schedule is a valid command.  I suspect it 
> is translated to something like 'status storage', but I may be wrong on that 
> as my status storage doesn't mention scheduled jobs.  If you just want to 
> know the next scheduled jobs just do a 'status dir'.  The first few lines 
> should give you what you want.
>
> Dave
>
>> Hi ALL,
>
>> I am trying to setup Bacula 7.0.4 on Ubuntu 16.04. I can take manual backups 
>> and run restore jobs successfully, however I am not been able to implement 
>> scheduled jobs
>>although I have defined a schedule in my bacula-dir.conf.
>
>> Issuing "status schedule" on bconsole yields "No scheduled jobs" , Here is 
>> my config
>
> This email and any attachments to it may be confidential and are
> intended solely for the use of the individual to whom it is
> addressed. If you are not the intended recipient of this email,
> you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you
> believe you have received this email in error. QinetiQ may
> monitor email traffic data and also the content of email for
> the purposes of security. QinetiQ Limited (Registered in England
> & Wales: Company Number: 3796233) Registered office: Cody Technology
> Park, Ively Road, Farnborough, Hampshire, GU14 0LX  http://www.qinetiq.com.
>
> --
> ___
> 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

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


Re: [Bacula-users] No scheduled jobs - bacula 7.0.4

2016-09-29 Thread Marcin Haba
Hello Kern,

I see the status schedule item in ReleaseNotes 7.0.0:

- status scheduled bconsole command with the following options:
   days=nn (0-500 default 10); limit=nn (0-2000 default 100)
   time=-MM-DD HH:MM:SS
   schedule=xxx job=xxx

In manual there is the same information:

http://www.bacula.org/7.4.x-manuals/en/main/New_Features_in_7_0_0.html#SECTION00515000

I didn't check on 7.0.0 but it seems that it is 7.0.

Best regards.
Marcin

On 29 September 2016 at 16:11, Kern Sibbald  wrote:
> If I remember right status schedule was added in 7.2.x.
>
> Best regards,
> Kern
>
> On 09/29/2016 02:57 PM, Mattinson David wrote:
>> I cannot see anywhere that status schedule is a valid command.  I suspect it 
>> is translated to something like 'status storage', but I may be wrong on that 
>> as my status storage doesn't mention scheduled jobs.  If you just want to 
>> know the next scheduled jobs just do a 'status dir'.  The first few lines 
>> should give you what you want.
>>
>> Dave
>>
>>> Hi ALL,
>>> I am trying to setup Bacula 7.0.4 on Ubuntu 16.04. I can take manual 
>>> backups and run restore jobs successfully, however I am not been able to 
>>> implement scheduled jobs
>>> although I have defined a schedule in my bacula-dir.conf.
>>> Issuing "status schedule" on bconsole yields "No scheduled jobs" , Here is 
>>> my config
>> This email and any attachments to it may be confidential and are
>> intended solely for the use of the individual to whom it is
>> addressed. If you are not the intended recipient of this email,
>> you must neither take any action based upon its contents, nor
>> copy or show it to anyone. Please contact the sender if you
>> believe you have received this email in error. QinetiQ may
>> monitor email traffic data and also the content of email for
>> the purposes of security. QinetiQ Limited (Registered in England
>> & Wales: Company Number: 3796233) Registered office: Cody Technology
>> Park, Ively Road, Farnborough, Hampshire, GU14 0LX  http://www.qinetiq.com.
>>
>> --
>> ___
>> 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



-- 
"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

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


Re: [Bacula-users] bacula does not delete OLD files from disk

2016-09-30 Thread Marcin Haba
Hello,

Bacula doesn't remove volume files. You mention you expect that Bacula
will remove volume files when retention period has expired. The
retention period is an option that is part of a big subject called
Volume Recycling.

Recycling by desing means re-using something again as a something new.

The volumes management described by you is only one from many
different volumes managements. Additionally Bacula supports data
multiplexing on volumes to enable writing few data stream.

I think that your idea is generally OK, but it could be painful for
the Bacula desing.

Best regards.
Marcin Haba (gani)

On 30 September 2016 at 22:27,   wrote:
>
> I have an issue with bacula version 5.2.6 on Debian.
> bacula does not delete the physical files from disk after the retention
> period has expired. I have different paths ( disks) for different bacula
> jobs. let's say the backup location for client X is under drive 1 and the
> backup location for client Y is under drive 2. when the the retention period
> has expired for one of the incremental backup of client 1, bacula  marks it
> purged and uses the lable for creating a new incremental backup for client Y
> under disk 2, but it does not delete the OLD file from the disk1.
>
> part of my bacula-dir configuration files related to purge:
>
> Pool {
>
> Name = IncrementalPool
>
>   Pool Type = Backup
>
>   Recycle = yes
>
>   AutoPrune = yes
>
>   UseVolumeOnce = yes
>
>   Volume Retention = 1 weeks
>
>   Volume Use Duration = 23h
>
>  
>
> }
>
>
> --
> 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.

2016-10-08 Thread Marcin Haba
Hello Piero,

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.

For upgrades please note that because of the new depenencies to PHP 7,
there isn't possible to upgrade Baculum by command:

apt-get upgrade

but there is required using:

apt-get dist-upgrade

After upgrading packages, I recommend to remove all Baculum cache from
directory:

/var/cache/baculum/

by removing directories inside this directory. This cache will be
re-created by Baculum automatically after using Baculum interface.

More information about Baculum you can find here:

http://www.bacula.org/7.4.x-manuals/en/console/Baculum_Web_GUI_Tool.html

In near feature I will prepare packages for rest distributions
(Debian, Fedora, Centos...).

Best regards.
Marcin Haba (gani)

On 30 September 2016 at 10:43, Marcin Haba  wrote:
> Hello Piero,
>
> OK, thanks. I will let you know and I will let know on bacula-users
> list when these packages are ready.
>
> It will be somewhe within one week, I think.
>
> Best regards.
> Marcin
>
>
> On 30 September 2016 at 10:41, Piero Ferroni  
> wrote:
>> Hi,
>>
>> only now I read your proposal to prepare a Baculum package for Ubuntu 16.04
>> Xenial.
>> If the proposal is still valid I would accept it. Also for a version with
>> "unstable" mark.
>>
>> Best regards.
>> Piero Ferroni
>>
>>
>> Il 23/09/2016 13:11, Marcin Haba ha scritto:
>>>
>>> Hello Piero,
>>>
>>> I saw your message here from a few days but I didn't have time to
>>> respond here. Now I am trying to catch up reading mails from mailing
>>> groups.
>>>
>>> Answering to your question - no, there isn't Baculum packages for
>>> Ubuntu 16.04 Xenial. I can prepare these pacakges but for now I can
>>> prepare them with "unstable" mark, because I still need time to test
>>> these new packages. If you and anybody else are interested Baculum
>>> packages for Ubuntu 16.04 please let me know here. I will prepare them
>>> in the beginning of next week.
>>>
>>> Please note that from Baculum packages for 15.10 there isn't too many
>>> big changes to Baculum. There are only minor changes. In the future I
>>> will add more new features.
>>>
>>> Best regards.
>>> Marcin Haba (gani)
>>>
>>> On 14 September 2016 at 17:48, Piero Ferroni 
>>> wrote:
>>>>
>>>> Hi,
>>>> I need to install baculum on Ubuntu 16.04 Xenial but until now I did not
>>>> find any xenial specific package.
>>>> Is somebody working on a xenial package? If so, is there any estimated
>>>> date for its release?
>>>>
>>>> Best regards.
>>>>
>>>> --
>>>> Piero Ferroni
>>>>
>>>>
>>>>
>>>> --
>>>> ___
>>>> 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



-- 
"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 on Solaris 11?

2016-10-11 Thread Marcin Haba
Hello Daniel,

I have never used Baculum on Solaris nevertheless three things
required to run Baculum are: web server, PHP and Bacula. If you have
these three in your environment you should be able to run Baculum.

The Makefile doesn't matter here. It only prepares/separates runtime
files, nothing more. All this work can be done manually.

Please note that minimal PHP version for Baculum is PHP 5.3.4

As web server I tested Apache, Lighttpd, Nginx. Baculum can work at
all these web servers.

Here are required PHP extensions:

- php-bcmath
- php-common
- php-mbstring
- php-pdo
- php-mysqlnd or php-pgsql or php-sqlite3
- php-xml
- php-json
- php-curl
- php-cgi (optional, for running as CGI)

I don't know how to do packages for Solaris but if somebody is willing
to prepare them I can help in whole Baculum matter with it.

Thanks in advance for answer.

Best regards.
Marcin

On 11 October 2016 at 10:25, Daniel Heitepriem
 wrote:
> Hi guys,
>
> is it possible to get baculum running on Solaris 11? As far as I have seen
> it's mandatory to run 'make' which is (when analysing the Makefile) only
> possible for Debian or RPM-based Distros.
>
> Thanks and regards,
> Daniel Heitepriem
>
> --
> 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 on Solaris 11?

2016-10-11 Thread Marcin Haba
Hello Daniel,

OK. Don't worry if you miss some Baculum dependencies because Baculum
will inform you on web interface if something is required and not
installed.

I am curious this Baculum on Solaris. Please let know here how this
installation is going.

Good luck.

Best regards.
Marcin Haba (gani)

On 11 October 2016 at 16:54, Daniel Heitepriem
 wrote:
> Hello Marcin,
>
> thank you very much for your answer. I will try how far I get as standard
> Solaris 11.3 only has PHP 5.3.29 and also a lot extensions (like php-mysqlnd
> or php-bcmath) are missing in the official repositories
>
> Regards,
> Daniel
>
> Am 11.10.16 um 12:43 schrieb Marcin Haba:
>
>> Hello Daniel,
>>
>> I have never used Baculum on Solaris nevertheless three things
>> required to run Baculum are: web server, PHP and Bacula. If you have
>> these three in your environment you should be able to run Baculum.
>>
>> The Makefile doesn't matter here. It only prepares/separates runtime
>> files, nothing more. All this work can be done manually.
>>
>> Please note that minimal PHP version for Baculum is PHP 5.3.4
>>
>> As web server I tested Apache, Lighttpd, Nginx. Baculum can work at
>> all these web servers.
>>
>> Here are required PHP extensions:
>>
>> - php-bcmath
>> - php-common
>> - php-mbstring
>> - php-pdo
>> - php-mysqlnd or php-pgsql or php-sqlite3
>> - php-xml
>> - php-json
>> - php-curl
>> - php-cgi (optional, for running as CGI)
>>
>> I don't know how to do packages for Solaris but if somebody is willing
>> to prepare them I can help in whole Baculum matter with it.
>>
>> Thanks in advance for answer.
>>
>> Best regards.
>> Marcin
>>
>> On 11 October 2016 at 10:25, Daniel Heitepriem
>>  wrote:
>>>
>>> Hi guys,
>>>
>>> is it possible to get baculum running on Solaris 11? As far as I have
>>> seen
>>> it's mandatory to run 'make' which is (when analysing the Makefile) only
>>> possible for Debian or RPM-based Distros.
>>>
>>> Thanks and regards,
>>> Daniel Heitepriem
>>>
>>>
>>> --
>>> 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 on Solaris 11?

2016-10-12 Thread Marcin Haba
Hello Daniel,

Great work. Thanks for the link to the Makefile.

About the lack of php extensions please note that some of extensions
can be not provided as shared modules but they can be compiled inside
PHP core (module for Apache and interpreter) so maybe no additional
work is needed. It depends on package maintainers how they prepare it.
You can check these integrated extensions in original Solaris packages
by:

php -m

or in full php info:

php -i

If you will have problem with identifying extensions, you can past
them here and I will check them. Baculum is also able to check them.

Best regards.
Marcin

On 12 October 2016 at 15:09, Daniel Heitepriem
 wrote:
> Hi Marcin,
>
> I modified the Makefile so it works on standard Solaris 11
> http://pastebin.com/9YybsrxK (Please note that this link will expire in 7
> days). Therefore I only adjusted some copy-commands, replaced "install",
> "find" and "sed" with their corresponding GNU programs which are installed
> by default in Solaris 11.3
>
> The main problems so far are the missing php-extensions which can only be
> solved by recompiling php manually. That's the next step I'll be doing
>
> Best regards,
> Daniel
>
> Am 11.10.16 um 17:56 schrieb Marcin Haba:
>
> Hello Daniel,
>
> OK. Don't worry if you miss some Baculum dependencies because Baculum
> will inform you on web interface if something is required and not
> installed.
>
> I am curious this Baculum on Solaris. Please let know here how this
> installation is going.
>
> Good luck.
>
> Best regards.
> Marcin Haba (gani)
>
> On 11 October 2016 at 16:54, Daniel Heitepriem
>  wrote:
>
> Hello Marcin,
>
> thank you very much for your answer. I will try how far I get as standard
> Solaris 11.3 only has PHP 5.3.29 and also a lot extensions (like php-mysqlnd
> or php-bcmath) are missing in the official repositories
>
> Regards,
> Daniel
>
> Am 11.10.16 um 12:43 schrieb Marcin Haba:
>
> Hello Daniel,
>
> I have never used Baculum on Solaris nevertheless three things
> required to run Baculum are: web server, PHP and Bacula. If you have
> these three in your environment you should be able to run Baculum.
>
> The Makefile doesn't matter here. It only prepares/separates runtime
> files, nothing more. All this work can be done manually.
>
> Please note that minimal PHP version for Baculum is PHP 5.3.4
>
> As web server I tested Apache, Lighttpd, Nginx. Baculum can work at
> all these web servers.
>
> Here are required PHP extensions:
>
> - php-bcmath
> - php-common
> - php-mbstring
> - php-pdo
> - php-mysqlnd or php-pgsql or php-sqlite3
> - php-xml
> - php-json
> - php-curl
> - php-cgi (optional, for running as CGI)
>
> I don't know how to do packages for Solaris but if somebody is willing
> to prepare them I can help in whole Baculum matter with it.
>
> Thanks in advance for answer.
>
> Best regards.
> Marcin
>
> On 11 October 2016 at 10:25, Daniel Heitepriem
>  wrote:
>
> Hi guys,
>
> is it possible to get baculum running on Solaris 11? As far as I have
> seen
> it's mandatory to run 'make' which is (when analysing the Makefile) only
> possible for Debian or RPM-based Distros.
>
> Thanks and regards,
> Daniel Heitepriem
>
>
> --
> 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
>
>
>
>
>
> --
> Mit freundlichen Gruessen / Best regards
> Daniel Heitepriem
>
> pribas GmbH
>
> Valterweg 24-25
> 65817 Eppstein-Bremthal
> Germany
>
> Phone  +49 (0) 6198 57146400
> Fax   +49 (0) 6198 57146433
> eMail   daniel.heitepr...@pribas.com
>
> Corporate Headquarters: Huenfelden-Dauborn Managing Director: Arnulf Pribas
> Registration: Amtsgericht Limburg a. d. Lahn 7HRB874 Tax ID: DE113840457
> 
> This e-mail is confidential. Information in this e-mail is intended for the
> exclusive use of the individual or entity named above and may constitute
> information that is privileged or confidential or otherwise protected from
> disclosure. The information in this e-mail may be read, published, copied
> and/or forwarded only by the individual or entity named above.
> Dissemination, distribution, forwarding or copying of this e-mail by anyone
> other than the intended recipient is 

Re: [Bacula-users] Baculum on Solaris 11?

2016-10-12 Thread Marcin Haba
Hello Daniel,

No, you have already everything from PHP to run Baculum :-) Baculum
reports on white screen when some PHP dependencies are missing.

Here you don't have language files and also HTML fields are not visible.

To language files, you can look at ./protected/Lang/en/messages.mo

On your side it can be dead symbolic link that you can update or you
can copy messages.mo directly to "./protected/Lang/en/".

To the problem with text fields, I have no idea so far. Could you tell
me what web browser are you using?

Best regards.
Marcin Haba (gani)

On 12 October 2016 at 16:13, Daniel Heitepriem
 wrote:
> Hello Marcin,
>
> these are the extensions which are available in PHP 5.3.29 on Solaris:
>
> [PHP Modules]
> apc
> bcmath
> bz2
> calendar
> Core
> ctype
> curl
> date
> dba
> dom
> ereg
> exif
> fileinfo
> filter
> ftp
> gd
> gettext
> hash
> iconv
> idn
> imap
> json
> ldap
> libxml
> mbstring
> mcrypt
> memcache
> mysql
> mysqli
> mysqlnd
> openssl
> pcntl
> pcre
> PDO
> pdo_mysql
> pdo_sqlite
> Phar
> posix
> Reflection
> session
> shmop
> SimpleXML
> snmp
> soap
> sockets
> SPL
> SQLite
> sqlite3
> standard
> suhosin
> sysvmsg
> sysvsem
> sysvshm
> tcpwrap
> tidy
> tokenizer
> xdebug
> xml
> xmlreader
> xmlrpc
> xmlwriter
> xsl
> zip
> zlib
>
> [Zend Modules]
> Xdebug
>
> But something is still missing. When browsing to the URL with baculum and
> starting the wizard it seems that the variables are not interpreted (see
> below) which makes the wizard unusable
>
> https://abload.de/img/bildschirmfoto-121016ojjtl.png
>
> Best regards,
> Daniel
>
> Am 12.10.16 um 15:58 schrieb Marcin Haba:
>
>> Hello Daniel,
>>
>> Great work. Thanks for the link to the Makefile.
>>
>> About the lack of php extensions please note that some of extensions
>> can be not provided as shared modules but they can be compiled inside
>> PHP core (module for Apache and interpreter) so maybe no additional
>> work is needed. It depends on package maintainers how they prepare it.
>> You can check these integrated extensions in original Solaris packages
>> by:
>>
>> php -m
>>
>> or in full php info:
>>
>> php -i
>>
>> If you will have problem with identifying extensions, you can past
>> them here and I will check them. Baculum is also able to check them.
>>
>> Best regards.
>> Marcin
>>
>> On 12 October 2016 at 15:09, Daniel Heitepriem
>>  wrote:
>>>
>>> Hi Marcin,
>>>
>>> I modified the Makefile so it works on standard Solaris 11
>>> http://pastebin.com/9YybsrxK (Please note that this link will expire in 7
>>> days). Therefore I only adjusted some copy-commands, replaced "install",
>>> "find" and "sed" with their corresponding GNU programs which are
>>> installed
>>> by default in Solaris 11.3
>>>
>>> The main problems so far are the missing php-extensions which can only be
>>> solved by recompiling php manually. That's the next step I'll be doing
>>>
>>> Best regards,
>>> Daniel
>>>
>>> Am 11.10.16 um 17:56 schrieb Marcin Haba:
>>>
>>> Hello Daniel,
>>>
>>> OK. Don't worry if you miss some Baculum dependencies because Baculum
>>> will inform you on web interface if something is required and not
>>> installed.
>>>
>>> I am curious this Baculum on Solaris. Please let know here how this
>>> installation is going.
>>>
>>> Good luck.
>>>
>>> Best regards.
>>> Marcin Haba (gani)
>>>
>>> On 11 October 2016 at 16:54, Daniel Heitepriem
>>>  wrote:
>>>
>>> Hello Marcin,
>>>
>>> thank you very much for your answer. I will try how far I get as standard
>>> Solaris 11.3 only has PHP 5.3.29 and also a lot extensions (like
>>> php-mysqlnd
>>> or php-bcmath) are missing in the official repositories
>>>
>>> Regards,
>>> Daniel
>>>
>>> Am 11.10.16 um 12:43 schrieb Marcin Haba:
>>>
>>> Hello Daniel,
>>>
>>> I have never used Baculum on Solaris nevertheless three things
>>> required to run Baculum are: web server, PHP and Bacula. If you have
>>> these three in your environment you should be able to run Baculum.
>>>
>>> The Makefile doesn't matter here. It only prepares/separates runtime
>>> files, nothing

Re: [Bacula-users] Baculum on Solaris 11?

2016-10-12 Thread Marcin Haba
Hello Daniel,

I have never experienced this type of problem with HTML fields.

Could you tell me if you have some warnings or errors in web server
logs? You can also check errors on client side in web browser console
that is open usually by F12 button.

Thanks in advance for response.

Best regards.
Marcin Haba (gani)


On 12 October 2016 at 17:04, Daniel Heitepriem
 wrote:
> Hello Marcin,
>
> yes, you are right, it was a wrong link for the language file.
>
> For the text fields: I tried it with Firefox version 31 (on Solaris 11),
> version 48 (on Ubuntu 16.04) and Chromium version 51 (also on Ubuntu 16.04)
> and none of them displays the text fields.
>
> Best regards,
> Daniel
>
> Am 12.10.16 um 16:54 schrieb Marcin Haba:
>>
>> Hello Daniel,
>>
>> No, you have already everything from PHP to run Baculum :-) Baculum
>> reports on white screen when some PHP dependencies are missing.
>>
>> Here you don't have language files and also HTML fields are not visible.
>>
>> To language files, you can look at ./protected/Lang/en/messages.mo
>>
>> On your side it can be dead symbolic link that you can update or you
>> can copy messages.mo directly to "./protected/Lang/en/".
>>
>> To the problem with text fields, I have no idea so far. Could you tell
>> me what web browser are you using?
>>
>> Best regards.
>> Marcin Haba (gani)
>>
>



-- 
"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 on Solaris 11?

2016-10-12 Thread Marcin Haba
Hello Daniel,

The JSMin.php is responsible for preparing minimal version of
javascript files. It minifies javascript code to faster load in web
browsers.

In Baculum case the JSMin.php is used once when PRADO framework cache
is prepared. I think that it is this case that you shown in logs.

The interesting thing for me is that creating the cache took you over
30 seconds. I don't know what could cause it, maybe your hard disk
isn't healty or your server is overloaded.

I think that the cache from PHP framework can be incompleted and it
can cause problems, for example invisible text fields that you
experienced.

You can rebuild this cache by removing content of 'assets' directory:

/path_with_baculum/assets/*

and then please refresh Baculum page. The cache will be rebuilt.

You can also check in system logs what has happened that time "Wed Oct
12 17:01:04 2016" that also caused cache problem in Baculum.

To not use JSMin.php you can alternatively switch Baculum to Debug
mode. Then javascript files will not be minified. It will require more
memory assigned to PHP in php.ini file. Switching to debug mode you
can do from web interface (checkbox at the page bottom) or in
settings.conf config in path:

./protected/Data/settings.conf

Best regards.
Marcin Haba (gani)

On 12 October 2016 at 18:00, Daniel Heitepriem  wrote:
> Hello Marcin,
>
> I figured it out. After looking at the error logfile of apache2, I noticed
> this line
>
> [Wed Oct 12 17:01:04 2016] [error] [client 10.1.10.22] PHP Fatal error:
> Maximum execution time of 30 seconds exceeded in
> /opt/baculum/htdocs/framework/Web/Javascripts/JSMin.php on line 139
>
> After that I set the execution time in php.ini to 5min (300seconds) and now
> the text boxes appear as they should. The rest of the configuration will be
> done tomorrow (european time)
>
> Best regards,
>
> Daniel
>
>
> Am 12.10.2016 um 17:41 schrieb Marcin Haba:
>>
>> Hello Daniel,
>>
>> I have never experienced this type of problem with HTML fields.
>>
>> Could you tell me if you have some warnings or errors in web server
>> logs? You can also check errors on client side in web browser console
>> that is open usually by F12 button.
>>
>> Thanks in advance for response.
>>
>> Best regards.
>> Marcin Haba (gani)
>>
>>
>> On 12 October 2016 at 17:04, Daniel Heitepriem
>>  wrote:
>>>
>>> Hello Marcin,
>>>
>>> yes, you are right, it was a wrong link for the language file.
>>>
>>> For the text fields: I tried it with Firefox version 31 (on Solaris 11),
>>> version 48 (on Ubuntu 16.04) and Chromium version 51 (also on Ubuntu
>>> 16.04)
>>> and none of them displays the text fields.
>>>
>>> Best regards,
>>> Daniel
>>>
>>> Am 12.10.16 um 16:54 schrieb Marcin Haba:
>>>>
>>>> Hello Daniel,
>>>>
>>>> No, you have already everything from PHP to run Baculum :-) Baculum
>>>> reports on white screen when some PHP dependencies are missing.
>>>>
>>>> Here you don't have language files and also HTML fields are not visible.
>>>>
>>>> To language files, you can look at ./protected/Lang/en/messages.mo
>>>>
>>>> On your side it can be dead symbolic link that you can update or you
>>>> can copy messages.mo directly to "./protected/Lang/en/".
>>>>
>>>> To the problem with text fields, I have no idea so far. Could you tell
>>>> me what web browser are you using?
>>>>
>>>> Best regards.
>>>> Marcin Haba (gani)
>>>>
>>
>>
>



-- 
"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] client name = X or Y

2016-10-26 Thread Marcin Haba
Hello Dimitri,

In your case cluster active/passive with shared storage replicated by
DRBD I think you need to use only one Bacula FD config, the same on
both nodes.

In your cluster in the same time the File Daemon will be running on
the only one node (A or B), not on both. It is the cluster way to have
accessible the service by one (or more) common virtual IP address(es)
the same for both nodes. It is the virutal IP address that in your
case is 1.2.3.1.

You should store Bacula FD config on a disk that is replicated by
DRBD. This way you will have automatically the FD configuration on
remote host up-to-date as well.

Now let's look on usage cases with begining state: A - active node, B
- passive node:

In case manual failover action the cluster software should:
1) umount your disks on node A and switch DRBD disks to passive mode,
2) mount your disks on node B and switch DRBD disks to active mode,
3) stop your FD on node A and start FD on node B,
4) your virtual IP address should be down on node A and up on node B.

In the cluster software there should be handlers/triggers to do points
1), 2), 3) and 4).

In case automatic failover (for example: server crash or power off):
1) mount your disks on node B and switch DRBD disks to active mode,
2) start FD on node B,
3) your virtual IP address should be up on node B.

In case failback (crash node A is fixed, node A is back healthy):
1) umount your disks on node B and switch DRBD disks to passive mode
2) mount your disks on node A and switch DRBD disks to active mode
2) stop your FD on node B and start FD on node A.
3) your virtual IP address should be down on node B and up on node A

The steps for failback are opposite to manual failover action.

I case one FD in the cluster environment you need only following
configs (1.2.3.1 - virtual IP address):

Client {
  name = cluster-fd
  address = 1.2.3.1
  ...
}
Job {
  name = nodea-etc
  client = cluster-fd
  fileset = etc
}
FileDaemon {
  name = cluster-fd
...
}

You have to be careful when you switch active/passive after failover
because there can be miliseconds when your cluster can be splitted (it
is split brain state in DRBD nomenclature). It is the moment when
users are able to write to both nodes at the same time. For DRBD there
are some scenarios to recovery this situation.

I hope that I helped. Please let know on the mailing list your
experiences when you finish preparing your cluster.

Good luck.

Best regards.
Marcin Haba (gani)

On 26 October 2016 at 21:46, Dimitri Maziuk  wrote:
> On 10/24/2016 04:15 PM, Josh Fisher wrote:
>
> ... snipped ...
>
> Yes, this is more or less what I've been doing up until now. The good
> news is, it seems I don't have to anymore. Here's what I have working now:
>
> corosync/pacemaker cluster with node A @ 1.2.3.4, node B @ 1.2.3.5, and
> cluster ip @ 1.2.3.1, shared storage mounted a /raid on the active node.
>
> node A bacula-fd.conf:
> FileDaemon {
>   name = nodea-fd
> ...
> }
>
> node B bacula-fd.conf:
> FileDaemon {
>   name = nodeb-fd
> ...
> }
>
> bacula-dir config:
>
> Client {
>   name = nodea-fd
>   address = 1.2.3.4
>   ...
> }
> Client {
>   name = nodeb-fd
>   address = 1.2.3.5
>   ...
> }
> Client {
>   name = cluster-fd
>   address = 1.2.3.1
>   ...
> }
> Job {
>   name = nodea-etc
>   client = nodea-fd
>   fileset = etc
> }
> Job {
>   name = nodeb-etc
>   client = nodeb-fd
>   fileset = etc
> }
> Job {
>   name = cluster-raid
>   client = cluster-fd
>   fileset = raid
> }
>
> -- and it's happily spooling the 21GB /raid right now.
>
> What seems to be happening is bacula is connecting to the cluster
> address (checked with lsof -i), completely ignoring FD name "cluster-fd"
> and is backing up "fileset = raid" from "nodea-fd".
>
> Which is great, if not checking FD name is a bug, *please* don't fix it. :)
>
> So all you need is start FDs at boot listening on * and the director
> will automagically get the shared filesystem off of the node that
> happens to have it mounted.
>
> (Of course the backup will fail if the cluster fails over or the
> connection is otherwise disrupted.)
> --
> Dimitri Maziuk
> Programmer/sysadmin
> BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
>
>
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> ___
> Bacula-users mailing list
&g

Re: [Bacula-users] Problem with change settings at bacula via webmin 1.820

2016-10-26 Thread Marcin Haba
Hello Leonardo,

It seems to me that the configuration is broken after these delete actions.

I have never used the webmin, but I think that if this state you have
without your manual changes in configs (only changes via web
interface) you can report a bug to webmin developers.

Anyway, it doesn't seem to be a problem with Bacula but it is syntax
error in your Bacula config (broken config).

Best regards.
Marcin Haba (gani)

On 25 October 2016 at 23:33, Leonardo Calcagno
 wrote:
> I need help.-
>
> I need change or delete jobs and storage devices and pools but when change
> via webmin, bacula dir  down and the config file show :
>
> [root@Server bacula]# bconsole -t -c bacula-dir.conf
> bconsole: ERROR TERMINATION at parse_conf.c:993
> Config error: Keyword "QueryFile" not permitted in this resource.
> Perhaps you left the trailing brace off of the previous resource.
> : line 21, col 12 of file /etc/bacula/bacula-dir.conf
>   QueryFile = "/etc/bacula/query.sql"
>
> 25-Oct 18:30 bconsole: ERROR TERMINATION at parse_conf.c:993
> Config error: Keyword "QueryFile" not permitted in this resource.
> Perhaps you left the trailing brace off of the previous resource.
> : line 21, col 12 of file /etc/bacula/bacula-dir.conf
>   QueryFile = "/etc/bacula/query.sql"
>
>
>
>
> Saludos cordiales
> Leonardo L. Calcagno – Informática
>
> Servicio Técnico de PC
> Instalación y Administración de Redes
> Servidores y Terminales Linux
> Firewall dedicados Linux
> Servidores de Backup
>
>
>
> Las Heras 2428 4A – B7600EIH - Mar del Plata
> 0223 - 451 8139 | 0223 – 155 351353
>
> leonardocalca...@gmail.com
>
> Website : www.leonardocalcagno.com
>
> Seguime en Facebook : https://www.facebook.com/LeonardoCalcagnoInformatica
>
> Importante: A partir de la fecha 30/11/2015 , solo se hacen remotos a
> clientes con abono mensual SIN EXCEPCION (consultar x abonos mensuales). En
> el caso de necesitar un service, solo son a domicilio con costo por hora .
> Gracias.-
>
>
>
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> ___
> 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

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] client name = X or Y

2016-10-26 Thread Marcin Haba
Hello Dimitri,

OK, I understood your need wrongly.

That's fine that you solved the FD naming issue.

On 26 October 2016 at 23:13, Marcin Haba  wrote:
> You have to be careful when you switch active/passive after failover
> because there can be miliseconds when your cluster can be splitted (it

Here I meant "ca be split". The "can be splitted" is invalid form.

Best regards.
Marcin

-- 
"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

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: Bacula-Gui The requested URL /wizard/ was not found on this server.

2016-11-01 Thread Marcin Haba
Hello Francis,

I propose to check two things:

1) if .htaccess files are copied to destination path. They are in a
few places. If you used * (asterisk) character in rsync then the
hidden files could be not copied from source directory.

2) if mod_rewrite module is enabled in Apache. On some distributions
it isn't enabled by default, maybe Gentoo is one from them.

Please let know here if it works.

Best regards.
Marcin Haba (gani)

On 1 November 2016 at 14:28, Francis The Metman  wrote:
> Very sorry I sent this originally from the wrong Email Address, so here it is 
> from the correct one!
>
> Good morning folks! I am just starting out with Bacula on my Gentoo Server 
> with apache 2.4.23 and php 5.6.26
>
> I have all the required apache modules and php modules installed and active, 
> including the apache Redirect module.
>
> I have installed bacula 7.4.3 using portage. Everything is fine, and seems to 
> work,
>
> I downloaded the bacula-gui 7.4.3
>
> When I go to the gui in the browser I get a 404 The requested URL /wizard/ 
> was not found on this server.
>
> I have rsynced the untared files into /var/www/localhost/htdocs/bacula-gui
>
> Set owner to apache:apache with directories to 755 and files to 644
>
> I have put the htpasswd file into bacula-gui/protected/Data/ and the login 
> works fine.
>
> Here is my apache2 vhosts file
>
>
>
> 
> DocumentRoot /var/www/localhost/htdocs/bacula-gui
> ServerName bacula-gui.fsoft.nnet
> CustomLog /var/log/apache2/bacula-gui-access.log combined
> ErrorLog /var/log/apache2/bacula-gui-error.log
> 
> AllowOverride All
> AuthType Basic
> AuthName bacula
> AuthUserFile 
> /var/www/localhost/htdocs/bacula-gui/protected/Data/bacula-gui.users
> Require valid-user
> 
> 
>
>
> I have searched the internet for help on this, but have not found anything 
> that works.
>
> Any ideas welcome
>
> Francis
>
>
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___
> 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

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: Bacula-Gui The requested URL /wizard/ was not found on this server.

2016-11-02 Thread Marcin Haba
Hello Francis,

You are welcome :-)

I think that the wizard shouldn't expect the Baculum files in baculum/
directory, something looks to be wrong here. Baculum should work just
in web server document root path the same as in subdirectory somehwere
in document root. The difference is only with URL (added prefix with
subdirectory).

The problem here can be when you have symbolic links somewhere in path:

/var/www/localhost/htdocs/bacula-gui/

because Baculum tries to solve them.

Best regards.
Marcin Haba (gani)

On 2 November 2016 at 09:29, TheMetMan  wrote:
> Dear Marcin, BINGO!!!
> there was one .htaccess file missing, the one in the root of the virtual host.
> Thank you SO MUCH!!!
> and yes rewrite is enabled by default in gentoo.
> Only one problem, the wizard expects the virtual host to be in a folder 
> called baculum in the root of the apache server, so the wizard falls over 
> when trying to save the settings at the end. I had called the folder 
> bacula-gui so I changed it to baculum, and it worked.
> Now to get down to the backups.
> Regard
> Francis
>
> - Original Message -
> From: "Marcin Haba" 
> To: "Francis The Metman" 
> Cc: Bacula-users@lists.sourceforge.net
> Sent: Tuesday, 1 November, 2016 2:20:16 PM
> Subject: Re: [Bacula-users] Fwd: Bacula-Gui The requested URL /wizard/ was 
> not found on this server.
>
> Hello Francis,
>
> I propose to check two things:
>
> 1) if .htaccess files are copied to destination path. They are in a
> few places. If you used * (asterisk) character in rsync then the
> hidden files could be not copied from source directory.
>
> 2) if mod_rewrite module is enabled in Apache. On some distributions
> it isn't enabled by default, maybe Gentoo is one from them.
>
> Please let know here if it works.
>
> Best regards.
> Marcin Haba (gani)
>
> On 1 November 2016 at 14:28, Francis The Metman  
> wrote:
>> Very sorry I sent this originally from the wrong Email Address, so here it 
>> is from the correct one!
>>
>> Good morning folks! I am just starting out with Bacula on my Gentoo Server 
>> with apache 2.4.23 and php 5.6.26
>>
>> I have all the required apache modules and php modules installed and active, 
>> including the apache Redirect module.
>>
>> I have installed bacula 7.4.3 using portage. Everything is fine, and seems 
>> to work,
>>
>> I downloaded the bacula-gui 7.4.3
>>
>> When I go to the gui in the browser I get a 404 The requested URL /wizard/ 
>> was not found on this server.
>>
>> I have rsynced the untared files into /var/www/localhost/htdocs/bacula-gui
>>
>> Set owner to apache:apache with directories to 755 and files to 644
>>
>> I have put the htpasswd file into bacula-gui/protected/Data/ and the login 
>> works fine.
>>
>> Here is my apache2 vhosts file
>>
>>
>>
>> 
>> DocumentRoot /var/www/localhost/htdocs/bacula-gui
>> ServerName bacula-gui.fsoft.nnet
>> CustomLog /var/log/apache2/bacula-gui-access.log combined
>> ErrorLog /var/log/apache2/bacula-gui-error.log
>> 
>> AllowOverride All
>> AuthType Basic
>> AuthName bacula
>> AuthUserFile 
>> /var/www/localhost/htdocs/bacula-gui/protected/Data/bacula-gui.users
>> Require valid-user
>> 
>> 
>>
>>
>> I have searched the internet for help on this, but have not found anything 
>> that works.
>>
>> Any ideas welcome
>>
>> Francis
>>
>>
>> --
>> Developer Access Program for Intel Xeon Phi Processors
>> Access to Intel Xeon Phi processor-based developer platforms.
>> With one year of Intel Parallel Studio XE.
>> Training and support from Colfax.
>> Order your platform today. http://sdm.link/xeonphi
>> ___
>> 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
>



-- 
"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

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: Bacula-Gui The requested URL /wizard/ was not found on this server.

2016-11-02 Thread Marcin Haba
Hello Francis,

Thanks for detailed problem description.

I think that it can be problem with write permission to baculum.users
file. You can check this file permissions and owner/group.

Best regards.
Marcin Haba (gani)

On 2 November 2016 at 12:27, Francis The Metman  wrote:
> Marcin, I am not using any symbolic links. I just got the error box when I 
> tried to save the wizard configuration (it had already saved it OK) and it 
> was saying that the Auth file in /baculum/protected/Data/ was probably wron, 
> despite the fact it had to be OK to log in!!!
> I am 100% positive that I had filled in the same username and passsword in 
> the last screen of the wizard as was used for the htpasswd file in 
> /baculum/protected/Data/
> Not only that I did it 3 times, then when I changed the root folder of the 
> vhost to baculum from bacula-gui, it all went through fine.
> I should have untarred the download directly into my localhost root as the 
> install instructions tell you. My error!
> Anyway, it is up and running now. Just got to get my head round setting it up 
> for my network machines now.
> Best wishes, and thanks for the prompt help.
> Francis
>
>
> - Original Message -
> From: "Marcin Haba" 
> To: "TheMetMan" 
> Cc: "Bacula-users" 
> Sent: Wednesday, 2 November, 2016 10:11:15 AM
> Subject: Re: [Bacula-users] Fwd: Bacula-Gui The requested URL /wizard/ was 
> not found on this server.
>
> Hello Francis,
>
> You are welcome :-)
>
> I think that the wizard shouldn't expect the Baculum files in baculum/
> directory, something looks to be wrong here. Baculum should work just
> in web server document root path the same as in subdirectory somehwere
> in document root. The difference is only with URL (added prefix with
> subdirectory).
>
> The problem here can be when you have symbolic links somewhere in path:
>
> /var/www/localhost/htdocs/bacula-gui/
>
> because Baculum tries to solve them.
>
> Best regards.
> Marcin Haba (gani)
>
> On 2 November 2016 at 09:29, TheMetMan  wrote:
>> Dear Marcin, BINGO!!!
>> there was one .htaccess file missing, the one in the root of the virtual 
>> host.
>> Thank you SO MUCH!!!
>> and yes rewrite is enabled by default in gentoo.
>> Only one problem, the wizard expects the virtual host to be in a folder 
>> called baculum in the root of the apache server, so the wizard falls over 
>> when trying to save the settings at the end. I had called the folder 
>> bacula-gui so I changed it to baculum, and it worked.
>> Now to get down to the backups.
>> Regard
>> Francis
>>
>> - Original Message -
>> From: "Marcin Haba" 
>> To: "Francis The Metman" 
>> Cc: Bacula-users@lists.sourceforge.net
>> Sent: Tuesday, 1 November, 2016 2:20:16 PM
>> Subject: Re: [Bacula-users] Fwd: Bacula-Gui The requested URL /wizard/ was 
>> not found on this server.
>>
>> Hello Francis,
>>
>> I propose to check two things:
>>
>> 1) if .htaccess files are copied to destination path. They are in a
>> few places. If you used * (asterisk) character in rsync then the
>> hidden files could be not copied from source directory.
>>
>> 2) if mod_rewrite module is enabled in Apache. On some distributions
>> it isn't enabled by default, maybe Gentoo is one from them.
>>
>> Please let know here if it works.
>>
>> Best regards.
>> Marcin Haba (gani)
>>
>> On 1 November 2016 at 14:28, Francis The Metman  
>> wrote:
>>> Very sorry I sent this originally from the wrong Email Address, so here it 
>>> is from the correct one!
>>>
>>> Good morning folks! I am just starting out with Bacula on my Gentoo Server 
>>> with apache 2.4.23 and php 5.6.26
>>>
>>> I have all the required apache modules and php modules installed and 
>>> active, including the apache Redirect module.
>>>
>>> I have installed bacula 7.4.3 using portage. Everything is fine, and seems 
>>> to work,
>>>
>>> I downloaded the bacula-gui 7.4.3
>>>
>>> When I go to the gui in the browser I get a 404 The requested URL /wizard/ 
>>> was not found on this server.
>>>
>>> I have rsynced the untared files into /var/www/localhost/htdocs/bacula-gui
>>>
>>> Set owner to apache:apache with directories to 755 and files to 644
>>>
>>> I have put the htpasswd file into bacula-gui/protected/Data/ and the login 
>>> works fine.
>>>
>>> Here is my apache2 vhosts file
>>>
>>>
>>>
>>> 

Re: [Bacula-users] Fwd: Bacula-Gui The requested URL /wizard/ was not found on this server.

2016-11-02 Thread Marcin Haba
Hello Francis,

Yes, if web server works as apache user/group, then the privilages for
the file are OK.

Could you show privilages to write in the 'Data' directory?

Thanks in advance.

Best regards.
Marcin Haba (gani)

On 2 November 2016 at 20:03, TheMetMan  wrote:
> Here are the permissions
> -rw-r--r-- 1 apache apache   20 Nov  2 08:24 baculum.users
> This should be OK I think??
> Francis
>
> ________
> From: "Marcin Haba" 
> To: "themetman" 
> Cc: "Bacula-users" 
> Sent: Wednesday, 2 November, 2016 17:59:46
>
> Subject: Re: [Bacula-users] Fwd: Bacula-Gui The requested URL /wizard/ was
> not found on this server.
>
> Hello Francis,
>
> Thanks for detailed problem description.
>
> I think that it can be problem with write permission to baculum.users
> file. You can check this file permissions and owner/group.
>
> Best regards.
> Marcin Haba (gani)
>
> On 2 November 2016 at 12:27, Francis The Metman 
> wrote:
>> Marcin, I am not using any symbolic links. I just got the error box when I
>> tried to save the wizard configuration (it had already saved it OK) and it
>> was saying that the Auth file in /baculum/protected/Data/ was probably wron,
>> despite the fact it had to be OK to log in!!!
>> I am 100% positive that I had filled in the same username and passsword in
>> the last screen of the wizard as was used for the htpasswd file in
>> /baculum/protected/Data/
>> Not only that I did it 3 times, then when I changed the root folder of the
>> vhost to baculum from bacula-gui, it all went through fine.
>> I should have untarred the download directly into my localhost root as the
>> install instructions tell you. My error!
>> Anyway, it is up and running now. Just got to get my head round setting it
>> up for my network machines now.
>> Best wishes, and thanks for the prompt help.
>> Francis
>>
>>
>> - Original Message -
>> From: "Marcin Haba" 
>> To: "TheMetMan" 
>> Cc: "Bacula-users" 
>> Sent: Wednesday, 2 November, 2016 10:11:15 AM
>> Subject: Re: [Bacula-users] Fwd: Bacula-Gui The requested URL /wizard/ was
>> not found on this server.
>>
>> Hello Francis,
>>
>> You are welcome :-)
>>
>> I think that the wizard shouldn't expect the Baculum files in baculum/
>> directory, something looks to be wrong here. Baculum should work just
>> in web server document root path the same as in subdirectory somehwere
>> in document root. The difference is only with URL (added prefix with
>> subdirectory).
>>
>> The problem here can be when you have symbolic links somewhere in path:
>>
>> /var/www/localhost/htdocs/bacula-gui/
>>
>> because Baculum tries to solve them.
>>
>> Best regards.
>> Marcin Haba (gani)
>>
>> On 2 November 2016 at 09:29, TheMetMan  wrote:
>>> Dear Marcin, BINGO!!!
>>> there was one .htaccess file missing, the one in the root of the virtual
>>> host.
>>> Thank you SO MUCH!!!
>>> and yes rewrite is enabled by default in gentoo.
>>> Only one problem, the wizard expects the virtual host to be in a folder
>>> called baculum in the root of the apache server, so the wizard falls over
>>> when trying to save the settings at the end. I had called the folder
>>> bacula-gui so I changed it to baculum, and it worked.
>>> Now to get down to the backups.
>>> Regard
>>> Francis
>>>
>>> - Original Message -
>>> From: "Marcin Haba" 
>>> To: "Francis The Metman" 
>>> Cc: Bacula-users@lists.sourceforge.net
>>> Sent: Tuesday, 1 November, 2016 2:20:16 PM
>>> Subject: Re: [Bacula-users] Fwd: Bacula-Gui The requested URL /wizard/
>>> was not found on this server.
>>>
>>> Hello Francis,
>>>
>>> I propose to check two things:
>>>
>>> 1) if .htaccess files are copied to destination path. They are in a
>>> few places. If you used * (asterisk) character in rsync then the
>>> hidden files could be not copied from source directory.
>>>
>>> 2) if mod_rewrite module is enabled in Apache. On some distributions
>>> it isn't enabled by default, maybe Gentoo is one from them.
>>>
>>> Please let know here if it works.
>>>
>>> Best regards.
>>> Marcin Haba (gani)
>>>
>>> On 1 November 2016 at 14:28, Francis The Metman 
>>> wrote:
>>>> Very sorry I sent this originally from the wrong Email Ad

Re: [Bacula-users] I am planning to Japaneseize Baculum.

2016-11-18 Thread Marcin Haba
Hello Ken,

Nice to hear that you are planning to Japaneseize Baculum.

To do this, you can clone git repo, as you mentioned. Then you can
copy lang files:

cp -r baculum/protected/Lang/en baculum/protected/Lang/ja

Then you can edit following file:

baculum/protected/Lang/ja/messages.po

Please update there your name, e-mail address and rest parameters.

Values in msgstr keyword are possible to translate. For example from:

msgid "select language"
msgstr "select language"

you can translate to:

msgid "select language"
msgstr "your translated text"

To see your translation results, each time after editing you need to
do following command:

msgfmt -o baculum/protected/Lang/ja/messages.mo
baculum/protected/Lang/ja/messages.po

To check your translations, you can add Japanese language definition:



to  list in file:

baculum/protected/Pages/ConfigurationWizard.page

and after switching in config wizard language to Japanese, you will
see translations.

When you finish your translation, you can send this file to me and I
will commit it with your name.

Thank you in advance for your contributing Baculum.

Best regards.
Marcin

On 18 November 2016 at 09:15, KEN SAWADA  wrote:
> Hello
>
> I am planning to Japaneseize Baculum.
>
> Execute clone from the following
>
> git clone http://git.bacula.org/bacula
>
> Should I pull request?
> please tell me.
>
>
> --
>
> ___
> 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

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


Re: [Bacula-users] I am planning to Japaneseize Baculum.

2016-11-18 Thread Marcin Haba
Hello Ken,

I am not sure if I understood well. What do you mean by confirmation git commit?

Thank you in advance for reply.

Best regards.
Marcin

On 19 November 2016 at 07:02, KEN SAWADA  wrote:
> Hello Marcin
>
> Thank you for teaching me how to create a language file.
> I will create a Japanese file, correct the specified part, and check the
> operation.
> After confirmation git commit.
>
> Thank you for your immediate reply
>
>
> Best regards.
> Ken Sawada
>
>
> 2016-11-18 18:21 GMT+09:00 Marcin Haba :
>>
>> Hello Ken,
>>
>> Nice to hear that you are planning to Japaneseize Baculum.
>>
>> To do this, you can clone git repo, as you mentioned. Then you can
>> copy lang files:
>>
>> cp -r baculum/protected/Lang/en baculum/protected/Lang/ja
>>
>> Then you can edit following file:
>>
>> baculum/protected/Lang/ja/messages.po
>>
>> Please update there your name, e-mail address and rest parameters.
>>
>> Values in msgstr keyword are possible to translate. For example from:
>>
>> msgid "select language"
>> msgstr "select language"
>>
>> you can translate to:
>>
>> msgid "select language"
>> msgstr "your translated text"
>>
>> To see your translation results, each time after editing you need to
>> do following command:
>>
>> msgfmt -o baculum/protected/Lang/ja/messages.mo
>> baculum/protected/Lang/ja/messages.po
>>
>> To check your translations, you can add Japanese language definition:
>>
>> 
>>
>> to  list in file:
>>
>> baculum/protected/Pages/ConfigurationWizard.page
>>
>> and after switching in config wizard language to Japanese, you will
>> see translations.
>>
>> When you finish your translation, you can send this file to me and I
>> will commit it with your name.
>>
>> Thank you in advance for your contributing Baculum.
>>
>> Best regards.
>> Marcin
>>
>> On 18 November 2016 at 09:15, KEN SAWADA  wrote:
>> > Hello
>> >
>> > I am planning to Japaneseize Baculum.
>> >
>> > Execute clone from the following
>> >
>> > git clone http://git.bacula.org/bacula
>> >
>> > Should I pull request?
>> > please tell me.
>> >
>> >
>> >
>> > --
>> >
>> > ___
>> > 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
>
>



-- 
"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

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


Re: [Bacula-users] I am planning to Japaneseize Baculum.

2016-11-18 Thread Marcin Haba
Hello Ken,

OK. Now I understand.

Yes, I will commit your changes when you are ready with them.

The Bacula git repository doesn't provide Pull Request function, so we
can do it manually - you can send your changes to my e-mail and I will
commit your changes to repostiory.

Thanks.

Best regards.
Marcin Haba (gani)

On 19 November 2016 at 07:27, KEN SAWADA  wrote:
> Hello Marcin
>
> I'm sorry. It is my mistake type.
> Pull Request after correcting the language file.
>
> Best regards.
> Ken Sawada
>
>
> 2016-11-19 15:21 GMT+09:00 Marcin Haba :
>>
>> Hello Ken,
>>
>> I am not sure if I understood well. What do you mean by confirmation git
>> commit?
>>
>> Thank you in advance for reply.
>>
>> Best regards.
>> Marcin
>>
>> On 19 November 2016 at 07:02, KEN SAWADA  wrote:
>> > Hello Marcin
>> >
>> > Thank you for teaching me how to create a language file.
>> > I will create a Japanese file, correct the specified part, and check the
>> > operation.
>> > After confirmation git commit.
>> >
>> > Thank you for your immediate reply
>> >
>> >
>> > Best regards.
>> > Ken Sawada
>> >
>> >
>> > 2016-11-18 18:21 GMT+09:00 Marcin Haba :
>> >>
>> >> Hello Ken,
>> >>
>> >> Nice to hear that you are planning to Japaneseize Baculum.
>> >>
>> >> To do this, you can clone git repo, as you mentioned. Then you can
>> >> copy lang files:
>> >>
>> >> cp -r baculum/protected/Lang/en baculum/protected/Lang/ja
>> >>
>> >> Then you can edit following file:
>> >>
>> >> baculum/protected/Lang/ja/messages.po
>> >>
>> >> Please update there your name, e-mail address and rest parameters.
>> >>
>> >> Values in msgstr keyword are possible to translate. For example from:
>> >>
>> >> msgid "select language"
>> >> msgstr "select language"
>> >>
>> >> you can translate to:
>> >>
>> >> msgid "select language"
>> >> msgstr "your translated text"
>> >>
>> >> To see your translation results, each time after editing you need to
>> >> do following command:
>> >>
>> >> msgfmt -o baculum/protected/Lang/ja/messages.mo
>> >> baculum/protected/Lang/ja/messages.po
>> >>
>> >> To check your translations, you can add Japanese language definition:
>> >>
>> >> 
>> >>
>> >> to  list in file:
>> >>
>> >> baculum/protected/Pages/ConfigurationWizard.page
>> >>
>> >> and after switching in config wizard language to Japanese, you will
>> >> see translations.
>> >>
>> >> When you finish your translation, you can send this file to me and I
>> >> will commit it with your name.
>> >>
>> >> Thank you in advance for your contributing Baculum.
>> >>
>> >> Best regards.
>> >> Marcin
>> >>
>> >> On 18 November 2016 at 09:15, KEN SAWADA  wrote:
>> >> > Hello
>> >> >
>> >> > I am planning to Japaneseize Baculum.
>> >> >
>> >> > Execute clone from the following
>> >> >
>> >> > git clone http://git.bacula.org/bacula
>> >> >
>> >> > Should I pull request?
>> >> > please tell me.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> >
>> >> > ___
>> >> > 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
>> >
>> >
>>
>>
>>
>> --
>> "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
>
>



-- 
"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

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


Re: [Bacula-users] I am planning to Japaneseize Baculum.

2016-12-07 Thread Marcin Haba
Hello Ken,

Thank you for your work on translating Baculum into Japanese. I am
happy that you decided to translate it.

I looked in the messages.po file and I am seeing there that part of
texts has been translated. Rest texts are still in English. What do
you think about completing the translation?

If I can help you some way (I don't speak Japanese) please tell me about it.

You asked question about missing files. What missing files do you have on mind?

Thank you for your help with translating.

Best regards.
Marcin Haba (gani)

On 8 December 2016 at 02:00, KEN SAWADA  wrote:
> Hello Marcin
>
> Since the Japanese file has been completed, we will send you a message.po
> and messages.so file.
> I am glad if you tell me if there are missing files.
>
> Best regards.
> Ken Sawada
>
>
> 2016-11-20 13:20 GMT+09:00 KEN SAWADA :
>>
>> Hello Marcin
>>
>> Thank you for your reply.
>> I was misunderstanding. After correcting the language file, we will send
>> messages.po and messages.so by e-mail.
>>
>> Best regards.
>> Ken Sawada
>>
>>
>> 2016-11-19 16:20 GMT+09:00 Marcin Haba :
>>>
>>> Hello Ken,
>>>
>>> OK. Now I understand.
>>>
>>> Yes, I will commit your changes when you are ready with them.
>>>
>>> The Bacula git repository doesn't provide Pull Request function, so we
>>> can do it manually - you can send your changes to my e-mail and I will
>>> commit your changes to repostiory.
>>>
>>> Thanks.
>>>
>>> Best regards.
>>> Marcin Haba (gani)
>>>
>>> On 19 November 2016 at 07:27, KEN SAWADA  wrote:
>>> > Hello Marcin
>>> >
>>> > I'm sorry. It is my mistake type.
>>> > Pull Request after correcting the language file.
>>> >
>>> > Best regards.
>>> > Ken Sawada
>>> >
>>> >
>>> > 2016-11-19 15:21 GMT+09:00 Marcin Haba :
>>> >>
>>> >> Hello Ken,
>>> >>
>>> >> I am not sure if I understood well. What do you mean by confirmation
>>> >> git
>>> >> commit?
>>> >>
>>> >> Thank you in advance for reply.
>>> >>
>>> >> Best regards.
>>> >> Marcin
>>> >>
>>> >> On 19 November 2016 at 07:02, KEN SAWADA  wrote:
>>> >> > Hello Marcin
>>> >> >
>>> >> > Thank you for teaching me how to create a language file.
>>> >> > I will create a Japanese file, correct the specified part, and check
>>> >> > the
>>> >> > operation.
>>> >> > After confirmation git commit.
>>> >> >
>>> >> > Thank you for your immediate reply
>>> >> >
>>> >> >
>>> >> > Best regards.
>>> >> > Ken Sawada
>>> >> >
>>> >> >
>>> >> > 2016-11-18 18:21 GMT+09:00 Marcin Haba :
>>> >> >>
>>> >> >> Hello Ken,
>>> >> >>
>>> >> >> Nice to hear that you are planning to Japaneseize Baculum.
>>> >> >>
>>> >> >> To do this, you can clone git repo, as you mentioned. Then you can
>>> >> >> copy lang files:
>>> >> >>
>>> >> >> cp -r baculum/protected/Lang/en baculum/protected/Lang/ja
>>> >> >>
>>> >> >> Then you can edit following file:
>>> >> >>
>>> >> >> baculum/protected/Lang/ja/messages.po
>>> >> >>
>>> >> >> Please update there your name, e-mail address and rest parameters.
>>> >> >>
>>> >> >> Values in msgstr keyword are possible to translate. For example
>>> >> >> from:
>>> >> >>
>>> >> >> msgid "select language"
>>> >> >> msgstr "select language"
>>> >> >>
>>> >> >> you can translate to:
>>> >> >>
>>> >> >> msgid "select language"
>>> >> >> msgstr "your translated text"
>>> >> >>
>>> >> >> To see your translation results, each time after editing you need
>>> >> >> to
>>> >> >> do following command:
>>> >> >>
>>> >> 

Re: [Bacula-users] I am planning to Japaneseize Baculum.

2016-12-07 Thread Marcin Haba
Hello Ken,

OK, so you translated these easier texts to translate. OK, it is not
problem for me either.

To your question about other files - no, there isn't any other files
where exist English texts.

I will try your translation files, I will add them to Baculum and I
will let you know.

Thank you for your contribution. With every new contribution Baculum
becomes better :-)

Best regards.
Marcin


On 8 December 2016 at 08:35, KEN SAWADA  wrote:
> Hello Marcin
>
> Thank you for your reply.
> Rest texts remains in English and there is no problem. It is easier for the
> Japanese to understand.
> I only wanted to check any oher files except message.po and messages.so.
>
> Best regards,
> Ken Sawada
>
> 2016-12-08 16:15 GMT+09:00 Marcin Haba :
>>
>> Hello Ken,
>>
>> Thank you for your work on translating Baculum into Japanese. I am
>> happy that you decided to translate it.
>>
>> I looked in the messages.po file and I am seeing there that part of
>> texts has been translated. Rest texts are still in English. What do
>> you think about completing the translation?
>>
>> If I can help you some way (I don't speak Japanese) please tell me about
>> it.
>>
>> You asked question about missing files. What missing files do you have on
>> mind?
>>
>> Thank you for your help with translating.
>>
>> Best regards.
>> Marcin Haba (gani)
>>
>> On 8 December 2016 at 02:00, KEN SAWADA  wrote:
>> > Hello Marcin
>> >
>> > Since the Japanese file has been completed, we will send you a
>> > message.po
>> > and messages.so file.
>> > I am glad if you tell me if there are missing files.
>> >
>> > Best regards.
>> > Ken Sawada
>> >
>> >
>> > 2016-11-20 13:20 GMT+09:00 KEN SAWADA :
>> >>
>> >> Hello Marcin
>> >>
>> >> Thank you for your reply.
>> >> I was misunderstanding. After correcting the language file, we will
>> >> send
>> >> messages.po and messages.so by e-mail.
>> >>
>> >> Best regards.
>> >> Ken Sawada
>> >>
>> >>
>> >> 2016-11-19 16:20 GMT+09:00 Marcin Haba :
>> >>>
>> >>> Hello Ken,
>> >>>
>> >>> OK. Now I understand.
>> >>>
>> >>> Yes, I will commit your changes when you are ready with them.
>> >>>
>> >>> The Bacula git repository doesn't provide Pull Request function, so we
>> >>> can do it manually - you can send your changes to my e-mail and I will
>> >>> commit your changes to repostiory.
>> >>>
>> >>> Thanks.
>> >>>
>> >>> Best regards.
>> >>> Marcin Haba (gani)
>> >>>
>> >>> On 19 November 2016 at 07:27, KEN SAWADA  wrote:
>> >>> > Hello Marcin
>> >>> >
>> >>> > I'm sorry. It is my mistake type.
>> >>> > Pull Request after correcting the language file.
>> >>> >
>> >>> > Best regards.
>> >>> > Ken Sawada
>> >>> >
>> >>> >
>> >>> > 2016-11-19 15:21 GMT+09:00 Marcin Haba :
>> >>> >>
>> >>> >> Hello Ken,
>> >>> >>
>> >>> >> I am not sure if I understood well. What do you mean by
>> >>> >> confirmation
>> >>> >> git
>> >>> >> commit?
>> >>> >>
>> >>> >> Thank you in advance for reply.
>> >>> >>
>> >>> >> Best regards.
>> >>> >> Marcin
>> >>> >>
>> >>> >> On 19 November 2016 at 07:02, KEN SAWADA 
>> >>> >> wrote:
>> >>> >> > Hello Marcin
>> >>> >> >
>> >>> >> > Thank you for teaching me how to create a language file.
>> >>> >> > I will create a Japanese file, correct the specified part, and
>> >>> >> > check
>> >>> >> > the
>> >>> >> > operation.
>> >>> >> > After confirmation git commit.
>> >>> >> >
>> >>> >> > Thank you for your immediate reply
>> >>> >> >
>> >>> >> >
>> >>> >> > Best regards.
>> >>> >> >

Re: [Bacula-users] Baculum: Cannot add non-admin users

2017-01-15 Thread Marcin Haba
Hello Sergio,

This Console resource should be stored in Director configuration, not
in Bconsole configuration:

Console {
Name = "BaculaRestrictedUser"
Password = "XXf"
CommandACL =
run,show,.client,.jobs,.fileset,.pool,.storage,.jobs,.bvfs_update,.bvfs_lsdirs,.bvfs_lsfiles,.bvfs_versions,.bvfs_get_jobids,.bvfs_restore,restore
CatalogACL = *all*
ClientACL = user-fd
JobACL = somejob1,userjob
PoolACL = Full-Pool
StorageACL = VTL
FileSetACL = somejob1-fileset,userjobFileSet3
WhereACL = *all*
}

In Bconsole config you need to define Console resource as well but
with a bit different content.

Here you can see more information:

http://www.bacula.org/7.4.x-manuals/en/main/Console_Configuration.html

Please let know if it works after correction.

Good luck.

Best regards.
Marcin Haba (gani)

On 15 January 2017 at 23:08, Sergio Belkin  wrote:
>
>
> 2017-01-15 18:45 GMT-03:00 Sergio Belkin :
>>
>> Hi,
>>
>> I use bacula 7.0.5, apache 2.4.6 and baculum-7.4.0-1.el7.centos.noarch
>>
>> I have no problems configuring only an admin user. But I cannot add
>> non-admin users:
>>
>> This what I did:
>>
>> 1) Run wizard
>>
>> So I get the following settings file:
>>
>> type = "mysql"
>> name = "bacula"
>> login = "bacula"
>> password = "XX"
>> ip_addr = "localhost"
>> port = "3306"
>> path = ""
>>
>> [bconsole]
>> bin_path = "/usr/sbin/bconsole"
>> cfg_path = "/etc/bacula/bconsole.conf"
>> cfg_custom_path = "/etc/bacula/bconsole-{user}.conf"
>> use_sudo = "1"
>>
>> [baculum]
>> login = "admin"
>> password = "X"
>> debug = "0"
>> lang = "en"
>>
>>
>> EOF
>>
>> Then I add a new user through web UI, and now users files is as follows:
>>
>> cat /etc/baculum/Data-apache/baculum.users
>>
>> admin:
>> esteban:xxx
>>
>> Of corse I've obfuscated passwords.
>>
>> When I try to login browser prompts me to enter user and password again
>>
>> apache error logs:
>>
>> [Sun Jan 15 18:20:56.469640 2017] [auth_basic:error] [pid 5322] [client
>> 192.168.6.26:60056] AH01617: user admin: authentication failure for "/":
>> Password Mismatch, referer: http://192.168.6.85:9095/
>>
>> I've tried even using htpasswd by hand with no success.
>>
>> Also I have bconsole file: /etc/bacula/bconsole-esteban.conf
>>
>> Console {
>> Name = "BaculaRestrictedUser"
>> Password = "XXf"
>> CommandACL =
>> run,show,.client,.jobs,.fileset,.pool,.storage,.jobs,.bvfs_update,.bvfs_lsdirs,.bvfs_lsfiles,.bvfs_versions,.bvfs_get_jobids,.bvfs_restore,restore
>> CatalogACL = *all*
>> ClientACL = user-fd
>> JobACL = somejob1,userjob
>> PoolACL = Full-Pool
>> StorageACL = VTL
>> FileSetACL = somejob1-fileset,userjobFileSet3
>> WhereACL = *all*
>> }
>>
>>
>>
>> Am I doing something wrong?
>>
>> Thanks in advance!'
>> ~
>>
>>
>> --
>> --
>> Sergio Belkin
>> LPIC-2 Certified - http://www.lpi.org
>
>
>
> Well, now I get this error:
>
> Baculum problem
>
> Error 4 - problem with connection to bconsole.
>
> 
> What can I do
>
> Please check if Bacula Director service is running.
> Please check in shell console if bconsole program is able to connect to
> Bacula Director service.
> Please be sure if Web Server user is allowed for executing bconsole program.
> You can login to shell console as Web Server user and try to run bconsole
> program.
> Please re-run Baculum Initial Wizard and on step "Console" please perform
> connection test.
>
> TRY AGAIN
>
> 1 )Bacula Director is running:
>
>
> ● bacula-dir.service - Bacula-Director, the Backup-server
>Loaded: loaded (/usr/lib/systemd/system/bacula-dir.service; enabled;
> vendor preset: disabled)
>Active: active (running) since dom 2017-01-15 19:05:05 ART; 5s ago
>  Docs: man:bacula-dir(8)
>  Main PID: 7876 (bacula-dir)
>CGroup: /system.slice/bacula-dir.service
>└─7876 /usr/sbin/bacula-dir -f -c /etc/bacula/bacula-dir.conf -u
> bacu...
>
> ene 15 19:05:05 backup.zanella.local systemd[1]: Started Bacula-Director,
> the B
> ene 15 19:05:05 backup.zanella.loca

Re: [Bacula-users] Bacula database rogue tables

2017-01-16 Thread Marcin Haba
Hello Kostis,

These additional tables were created during restore with using Bvfs.

They could be done by older Baculum version (>7.4). From version 7.4.0
Baculum removes current table when restore starts.

If these tables come from Baculum, you can remove them, of course.

Best regards.
Marcin Haba (gani)

On 16 January 2017 at 11:32, Kostis Fardelas  wrote:
> Hi,
> I noticed today on a bacula installation (Debian Jessie,
> 5.2.6+dfsg-9.3) the following rogue tables (bXXX):
>
> mysql> show tables;
> +--+
> | Tables_in_bacula |
> +--+
> | BaseFiles|
> | CDImages |
> | Client   |
> | Counters |
> | Device   |
> | File |
> | FileSet  |
> | Filename |
> | Job  |
> | JobHisto |
> | JobMedia |
> | Location |
> | LocationLog  |
> | Log  |
> | Media|
> | MediaType|
> | Path |
> | PathHierarchy|
> | PathVisibility   |
> | Pool |
> | RestoreObject|
> | Status   |
> | Storage  |
> | UnsavedFiles |
> | Version  |
> | b211148170289098 |
> | b211148170561795 |
> | b211148170579554 |
> | b211148171743133 |
> | b212148164496524 |
> | b215148166176658 |
> | b215148170072262 |
> | b215148174912048 |
> | b215148174978191 |
> | b220148242047281 |
> | b221148301532508 |
> | b221148301557708 |
> | b22148171559521  |
> | b22148171562093  |
> | b22148171619489  |
> | b22148171624714  |
> | b22148171631582  |
> | b22148171677827  |
> | b22148171679880  |
> | b22148171745054  |
> | b22148171826728  |
> +--+
> 46 rows in set (0.00 sec)
>
> For one of them:
> mysql> select * from b22148171826728;
> +---+---+++
> | JobId | FileIndex | FileId | JobTDate   |
> +---+---+++
> |  1032 | 3 | 358730 | 1481708096 |
> +---+---+++
>
> The job was successful:
> mysql> select * from Job where Job.JobId = 1032;
> +---++-+--+---+--+---+-+-+-+-++--++--+--+---+---+-++---++-+-+--+--+-+
> | JobId | Job|
> Name| Type | Level | ClientId | JobStatus
> | SchedTime   | StartTime   | EndTime |
> RealEndTime | JobTDate   | VolSessionId | VolSessionTime |
> JobFiles | JobBytes | ReadBytes | JobErrors | JobMissingFiles | PoolId
> | FileSetId | PriorJobId | PurgedFiles | HasBase | HasCache | Reviewed
> | Comment |
> +---++-+--+---+--+---+-+-+-+-++--++--+--+---+---+-++---++-+-+--+--+-+
> |  1032 | centos7.fardelas.test_varlogjob.2016-12-14_11.32.02_50 |
> centos7.fardelas.test varlogjob | B| F |2 | T
> | 2016-12-14 11:32:02 | 2016-12-14 11:34:12 | 2016-12-14 11:34:56 |
> 2016-12-14 11:34:56 | 1481708096 |  145 | 1478892522 |
>   48 |  3053906 | 126864722 | 0 |   0 |  6 |
>   2 |  0 |   0 |   0 |0 |0 |
>   |
> +---++-+--+---+--+---+-+-+-+-++--++--+--+---+---+-++---++-+-+--+--+-+
> 1 row in set (0.00 sec)
>
>
> Any idea what are these tables and if I can remove them safely?
>
>
> Kind regards,
> Kostis
>
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___

Re: [Bacula-users] baculum's rpm package

2017-03-12 Thread Marcin Haba
Hello Ken,

New Baculum rpm packages will not be created because there is very few
changes lately to Baculum 7.4.

I am in the middle of preparing some new features but unfortunatelly I
couldn't finalize them yet. It is something that I can't add
partially, but it has to be added at once.

New Baculum version is in bacula-gui tar archive, for example here:

https://sourceforge.net/projects/bacula/files/bacula/7.4.6/

and here is instruction how to install it:

http://www.bacula.org/7.4.x-manuals/en/console/Baculum_Web_GUI_Tool.html#SECTION0035

I hope that it helps.

Best regards.
Marcin Haba (gani)

On 12 March 2017 at 08:00, KEN SAWADA  wrote:
> Hi!
>
> Will baculum's rpm package not be updated?
> http://bacula.org/downloads/baculum/centos/
>
> Is there a new version somewhere else?
> I'm happy to get advice.
>
> Best regards,
>
> Ken Sawada
>
>
> --
> Announcing the Oxford Dictionaries API! The API offers world-renowned
> dictionary content that is easy and intuitive to access. Sign up for an
> account today to start using our lexical data to power your apps and
> projects. Get started today and enter our developer competition.
> http://sdm.link/oxford
> ___
> 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

--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum Authentication Error

2017-06-29 Thread Marcin Haba
Hello Joachim,

Could you try to re-generate your password by following command below
and put it to protected/Data/baculum.user file?

php -r "echo crypt('your_pass', base64_encode('your_pass'));"

Please put your password in place 'your_pass'.

The baculum.users file should be managed by the Baculum because
different passwords form have meaning for the Baculum.

Please also make sure that baculum.users file is writeable for the
Apache user and that you put the auth parameters to
protected/Data/settings.conf file.

It is usually difficult to configure Baculum from scratch. From this
reason I prepared binary packages.


I also propose using BETA Baculum 7.9 binary rpm and deb packages that
provide Bacula config module, API and separation between API and Web
parts. Full description is available here:

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

Best regards.
Marcin Haba (gani)

On 29 June 2017 at 09:23, Joachim Zauner  wrote:
> Hello List,
> i have a fresh Installation of Bacula (7.4.7) and Baculum (7.4.7) on a
> openSuse Leap 42.2 Server. Bacula is up and running. Now i want to configure
> Baculum with Apache (2.4.23)
> I followed the Instructions to configure Apache to use the default
> UserAuthentication File (protected/Data/baculum.users) and i can log on to
> the site. After that, i ran the Wizard to configure the connection and
> authorization. After running the wizard i wanted to use Baculum and now i
> get the Baculum problem: "Error 6 - authorization to Baculum error."
> I doublechecked every Point the description tells me - with no success.
> First, I realized that the PHP Variable HTTP_AUTHORIZATION was not set - so
> i added
> SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
> to .htaccess. After that, PHP_AUTH_USER was set but PHP_AUTH_PW was not - i
> changed the corresponding if-clause in protected/Init.php and now both
> Variables are set.
> But i still get the authorization error - without any additional Information
> what causes the problem. I also set the Flag "debug=1" in
> protected/Data/settings.conf but in the debug File i only get:
>
> Jun 29 07:12:10 [Debug] [Application] Command=setUrlParams, Output=
> EXECUTE URL ==> http://host-tmp.vpn.epcom.cc:9095/directors?director= <==
> , File=/opt/baculum/protected/Class/API.php, Line=138 (line 89,
> /opt/baculum/protected/Class/Logging.php)
> Jun 29 07:12:10 [Debug] [Application] Command=preParseOutput, Output=,
> File=/opt/baculum/protected/Class/API.php, Line=256 (line 89,
> /opt/baculum/protected/Class/Logging.php)
> Jun 29 07:12:10 [Debug] [Application] Command=preParseOutput, Output=,
> File=/opt/baculum/protected/Class/API.php, Line=277 (line 89,
> /opt/baculum/protected/Class/Logging.php)
>
> Thanks in advance for your help!
> Joachim
>
> --
> -
> epcom it-systeme GmbH
> Grimminggasse 27
> A-8940 Liezen
> fon: +43/3612/21269
> fax: +43/3612/90818
> -
> http://www.epcom.cc
>
> Web-Applikationen & Services | Software-Entwicklung | Content Management |
> eCommerce- & Datenbankloesungen | Projektmanagement | Open Source
> Applikationen
>
> --
> 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 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 and LDAP authentication

2017-07-21 Thread Marcin Haba
Hello Daniel,

I think that it isn't possible to use LDAP authentication with the Baculum 7.4.

The Baculum 7.4 uses auth user file (baculum.users) to store users and
this file is used both by web server and the Baculum itself.

In the Baculum version 9.0 there are two baculum.users files: one for
the web GUI and one for the API part. Also the meaning of the
baculum.users file is changed in 9.0 because it is used only by web
server, and the Baculum GUI and Baculum API only enable to save users
to these files.

I think that more possible it could be use LDAP authentication with
the Baculum 9.0 (for Web GUI or API or both) but the important note is
that in 9.0 the restricted consoles support is a bit changed.
Restricted consoles are possible to define for OAuth2 per API client,
but for Basic authentication the restricted consoles are unavailable.

If you don't use restricted consoles then you can try with 9.0
version. Next week should be available binary packages for this
version.

Best regards.
Marcin Haba (gani)

On 21 July 2017 at 09:32, Daniel Heitepriem
 wrote:
> Hi everyone,
>
> I'm trying to get Baculum to work with LDAP authentication. The basic
> authentication when accessing the wizard of a fresh install is working fine
> but after completing the wizard I'm stuck as I get the error "Error 6 -
> authorization to Baculum error." and no error in Apache error log nor in
> baculum.dbg Below is my Apache Auth-config for Baculum and the content of
> baculum.dbg.
>
> Apache config:
> 
> Order allow,deny
> Allow from all
> Options +FollowSymLinks
> RewriteEngine On
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ index.php/$1 [L]
> AuthName "Baculum Auth"
> AuthBasicProvider ldap
> AuthType Basic
> AuthLDAPURL
> "ldap://IP:389/ou=staff,ou=people,dc=example,dc=com?uid";
> AuthLDAPBindDN "cn=baculum,ou=LDAPauth,dc=example,dc=com"
> AuthLDAPBindPassword "SecretPassword"
> Require valid-user
> LDAPReferrals Off
> 
>
> baculum.dbg:
> Jul 21 07:31:52 [Debug] [Application] Command=setUrlParams, Output=
>
> EXECUTE URL ==> http://10.1.10.243:9095/directors?director= <==
>
> , File=/opt/baculum/protected/Class/API.php, Line=138 (line 89,
> /opt/baculum/protected/Class/Logging.php)
> Jul 21 07:31:53 [Debug] [Application] Command=preParseOutput,
> Output={"output":"Problem with authorization to Baculum WebGUI.","error":6},
> File=/opt/baculum/protected/Class/API.php, Line=256 (line 89,
> /opt/baculum/protected/Class/Logging.php)
> Jul 21 07:31:53 [Debug] [Application] Command=preParseOutput,
> Output=stdClass Object
> (
> [output] => Problem with authorization to Baculum WebGUI.
> [error] => 6
> )
> , File=/opt/baculum/protected/Class/API.php, Line=277 (line 89,
> /opt/baculum/protected/Class/Logging.php)
>
> Thanks in advance and regards,
> Daniel
>
> --
> 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


[Bacula-users] Baculum 9.0.2 packages

2017-07-29 Thread Marcin Haba
Hello,

I have prepared binary packages for Baculum 9.0.2 version.

NOTE ABOUT UPGRADE

Baculum 7.4 and older to Baculum 9.x

There isn't possible to upgrade Baculum 7.4 to 9.x because of many
changes in packages structure. Suggested way to switch on 9.0 for this
case is removing 7.4 and installing 9.x packages.

Baculum 7.9 beta to Baculum 9.x

This upgrade is possible for deb packages users.

For rpm packages because of a bug in the spec file 7.9 there is needed
to uninstall 7.9 and install 9.0.


PACKAGES REPOSITORIES:

== CentOS 7

[baculumrepo]
name=Baculum CentOS repository
baseurl=http://bacula.org/downloads/baculum/stable/centos
gpgcheck=1
enabled=1

== Fedora 25

[baculumrepo]
name=Baculum Fedora repository
baseurl=http://bacula.org/downloads/baculum/stable/fedora
gpgcheck=1
enabled=1

== Debian 8

deb http://bacula.org/downloads/baculum/stable/debian jessie main
deb-src http://bacula.org/downloads/baculum/stable/debian jessie main

== Debian 9

deb http://bacula.org/downloads/baculum/stable/debian stretch main
deb-src http://bacula.org/downloads/baculum/stable/debian stretch main

== Ubuntu 16.04

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


More information about Baculum installation you can find here:

http://www.bacula.org/9.0.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html

Best regards.
Marcin Haba (gani)

-- 
"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 online demo version

2017-08-01 Thread Marcin Haba
Hello Radoslaw,

Yes, it is still working. Try pass user/password directly, not in URI:
http://baculum.baculus.pl/

Best regards.
Marcin Haba (gani)

On 1 August 2017 at 12:10, Radosław Korzeniewski
 wrote:
> Hello,
>
> 2015-06-23 7:17 GMT+02:00 Marcin Haba :
>>
>> Hello Heitor,
>>
>> Thanks for put Baculum demo access params in your website.
>>
>> About webserver auth, you can just use in your src iframe attribute
>> link with login and password in following form:
>>
>> http://admin:ad...@baculum.baculus.pl/
>>
>
> Is it still working or have some problems?
>
> best regards
> --
> Radosław Korzeniewski
> rados...@korzeniewski.net



-- 
"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] Error 6 - authorization to Baculum error

2017-08-24 Thread Marcin Haba
Hello Jorge,

I think that your diagnoze of the problem is correct. Something is
lost when the request goes throught proxy. Baculum uses the server
environment variables that are probably lost. You can try to pass them
by the proxy. To do that you need to know what is lost, so you can try
to print $_SERVER superglobal array on both sides and compare for
differences. Example script content:



I remember one thread where was lost 'HTTPS' variable:
http://www.backupcentral.com/forum/19/271649

I also encourage to update to 9.0 version with new features as the API
and the Bacula config module.

I hope it helps. Please let know about the result.

Good luck.

Best regards.
Marcin

On 24 August 2017 at 16:53, jorge.dejesus  wrote:
> Hi to all
>
>
> I am trying to install baculum and I am getting the following at the end of
> the wizard
>
> Error 6 - authorization to Baculum error
>
>
> Installed:
>
> baculum:7.4.4-1
>
> Ubuntu 16.04.3 LTS
>
>
> I am trying to run baculum behind an apache2 proxy, basically the apache2
> proxy supports HTTPS and redirects to baculum on port 9095, configuration of
> proxy:
>
> https://pastebin.com/3An0XZnB
>
> (Nothing special just a normal ProxyPass to the IP of the VM)
>
>
> On the VM running baculum, the config is as follow
>
> https://pastebin.com/ZmgBgrB9
>
> More or less the default config from baculum
>
>
> When I try to access  baculum using the url on the apache proxy e.g:
>
> https://bak.almoneda.net
>
> I get the error: Error 6 - authorization to Baculum error , the system asks
> for the auth relm and gives the error
>
> If on the VM I use lynx
>
> http://localhost:9095
>
> I can see baculum website without problems
>
>
> I have tried to run the http basic auth on the proxy side inside 
> with the same errors. Any tips on what could be the problem, it seems
> something in the headers of the proxy since on the VM and localhost
> everything is working
>
> I saw the following thread:
> http://bacula.10910.n7.nabble.com/Baculum-Authentication-Error-td85968.html
> The error was solved by upgrading to a new version (not done)
>
> Any tips on what can I do to fix it or how to debug (still can try a new
> version of baculum)
>
> Jorge
>
>
>
>
>
>
>
>
>
> --
> 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] Error 6 - authorization to Baculum error

2017-08-25 Thread Marcin Haba
Hello Jorge,

Thanks for your feedback about no auth problem on Baculum 9.0.3.

Also thanks for the bug report about broken links. I fixed it.

Best regards.
Marcin Haba (gani)

On 25 August 2017 at 15:52, jorge.dejesus  wrote:
> Hi to all
>
> Marcin thank you for the help, I have analyzed the HTTP requests using
> Apache's log forensic and dump env variables but no sucess the proxy just
> add the generic proxy headers (e.g: X-Forward-For) and  the headers between
> localhost and proxy are the same.
>
> Anyway, followed your suggestion and install baculum 9.0.3 and everything is
> OK, I am even using the HTTP auth on  the proxy side.
>
> The only problem I had was link to the message.po that was broken and was
> giving a gui full of @@
>
>  command>/usr/share/baculum/htdocs/protected/API/Lang/en/messages.mo ->
> /usr/share/locale/en/LC_MESSAGES/baculum-api.mo (boken link)
>
> Thank you for the help
>
> Jorge de Jesus
>
>
>
>
>
> On 25-08-17 08:07, Marcin Haba wrote:
>>
>> Hello Jorge,
>>
>> I think that your diagnoze of the problem is correct. Something is
>> lost when the request goes throught proxy. Baculum uses the server
>> environment variables that are probably lost. You can try to pass them
>> by the proxy. To do that you need to know what is lost, so you can try
>> to print $_SERVER superglobal array on both sides and compare for
>> differences. Example script content:
>>
>> >  print_r($_SERVER);
>> ?>
>>
>> I remember one thread where was lost 'HTTPS' variable:
>> http://www.backupcentral.com/forum/19/271649
>>
>> I also encourage to update to 9.0 version with new features as the API
>> and the Bacula config module.
>>
>> I hope it helps. Please let know about the result.
>>
>> Good luck.
>>
>> Best regards.
>> Marcin
>>
>> On 24 August 2017 at 16:53, jorge.dejesus 
>> wrote:
>>>
>>> Hi to all
>>>
>>>
>>> I am trying to install baculum and I am getting the following at the end
>>> of
>>> the wizard
>>>
>>> Error 6 - authorization to Baculum error
>>>
>>>
>>> Installed:
>>>
>>> baculum:7.4.4-1
>>>
>>> Ubuntu 16.04.3 LTS
>>>
>>>
>>> I am trying to run baculum behind an apache2 proxy, basically the apache2
>>> proxy supports HTTPS and redirects to baculum on port 9095, configuration
>>> of
>>> proxy:
>>>
>>> https://pastebin.com/3An0XZnB
>>>
>>> (Nothing special just a normal ProxyPass to the IP of the VM)
>>>
>>>
>>> On the VM running baculum, the config is as follow
>>>
>>> https://pastebin.com/ZmgBgrB9
>>>
>>> More or less the default config from baculum
>>>
>>>
>>> When I try to access  baculum using the url on the apache proxy e.g:
>>>
>>> https://bak.almoneda.net
>>>
>>> I get the error: Error 6 - authorization to Baculum error , the system
>>> asks
>>> for the auth relm and gives the error
>>>
>>> If on the VM I use lynx
>>>
>>> http://localhost:9095
>>>
>>> I can see baculum website without problems
>>>
>>>
>>> I have tried to run the http basic auth on the proxy side inside >> *>
>>> with the same errors. Any tips on what could be the problem, it seems
>>> something in the headers of the proxy since on the VM and localhost
>>> everything is working
>>>
>>> I saw the following thread:
>>>
>>> http://bacula.10910.n7.nabble.com/Baculum-Authentication-Error-td85968.html
>>> The error was solved by upgrading to a new version (not done)
>>>
>>> Any tips on what can I do to fix it or how to debug (still can try a new
>>> version of baculum)
>>>
>>> Jorge
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> 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] Configuring Bacula-web 9.0.3 API error

2017-09-14 Thread Marcin Haba
Hello Daniel,

Could you tell me what you see when you load http://localhost:9096 ?
Does the Apache listen on 9096?

Could you look at:

/var/log/httpd/baculum-api-access.log
/var/log/httpd/baculum-api-error.log

If the Apache listens on 9096 and you see the request in access log
and you don't see anything wrong in error log then you can enable
debug logging in the API file:

/usr/share/baculum/htdocs/protected/API/Config/api.conf

by switching in [api] section option debug to "1"

The log should be here:

/usr/share/baculum/htdocs/protected/API/Logs/baculum-api.log

I have also question why you needed to do symbolic links? These users
are fully managed by Baculum API and Baculum Web interfaces.

Best regards.
Marcin Haba (gani)

On 14 September 2017 at 19:27, Hicks, Daniel CTR OSD DMEA
 wrote:
> Hello
>
>
>
> I am trying to configure the web interface for Bacula 9.0.3. I have my
> server side running and using the GUI interface works. I have installed from
> bin for Centos7. I am using apache, I can access the site localhost:9095 but
> not localhost:9096
>
>
>
> I have looked at the /etc/httpd/conf.d/baculum-api.conf and the
> /etc/httpd/conf.d/baculum-web.conf they look good.
>
>
>
> I have updated the user file in /etc/baculum/Config-api-apache/baculum.users
> and created a link in the baculum/htdocs/API/Config
>
> I have updated the user file in /etc/baculum/Config-web-apache/baculum.users
> and created a link in the baculum/htdocs/Web/Config
>
>
>
> I have turned off the firewalld and SElinux is not running.
>
>
>
> When I go through the configuration on localhost:9095 I cannot authenticate
> with the API
>
>
>
> Thanks
>
>
>
> Daniel Hicks
>
> Senior Systems Analyst
>
> DMEA IT Support
>
>
>
>
> --
> 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] questions regarding baculum 9

2017-10-31 Thread Marcin Haba
Hello Fotis,

To update Baculum to version 9 you don't need to update Bacula to version 9.

As you correctly noticed the Baculum 9 uses Bacula JSON binaries
(b*json). The Baculum uses them in new configuration module that isn't
obligatory to setup. When you go throught the configuration wizard you
can just not fill these JSON tools fields and the configuration module
will be not available. Then all Baculum functions except the config
module should work as now.

Good luck with update and please note that to install Baculum 9 you
need to remove Baculum 7 first. Direct update the Baculum 7 to 9 will
not work because packages 7 and 9 are incompatible.

Best regards.
Marcin Haba (gani)

On 31 October 2017 at 17:15, Fotis P  wrote:
> Hi everyone,
>
> I am trying to install baculum as a web interface for my bacula
> installation. (Centos 7 running bacula-dir version 5.2.13)
>
> Baculum 7 installs and run fine but I cannot access it through a proxy (I
> get Error no. 6). I saw on an earlier message in this list that Marcin
> suggested updating to Baculum v.9, and this appeared to fix the problem.
>
> What I do not understand is if I need to also upgrade my Bacula to version
> 9?
>
> Baculum v9 API appears to require access to executables that I have never
> seen before (i.e. bdirjson etc).
>
> Also, if I needed to upgrade to Bacula 9, I am a bit confused if the
> binaries are released, or if I would have to do it from source. I am also
> confused as to why my fresh server install provides me with so old binaries
> (currently version 5.2.13)
>
> Thanks everyone in advance
>
> --
> 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 9 depends on bacula-console?

2017-11-01 Thread Marcin Haba
Hello Heitor,

I wouldn't remove bacula-console dependency because Baculum uses
Bacula console as regular tool. I think that using packages assumes
providing all needed package dependecies as packages too.

I understand your request and it make sense for me. For this case I
propose to remove the bacula-console dependency in your local copy and
build the Baculum packages self. I can help with it if there is any
problem.

Best regards
Marcin

On 31 October 2017 at 20:47, Heitor Faria  wrote:
> Hello, Bacula Users/Baculum Developers,
>
> I think Baculum .deb packages should not depend on bacula-console.
> I suppose many people build Bacula from source by the number of source code 
> downloads, and this creates one more Bacula version restriction.
>
> Regards,
> --
> ===
> Heitor Medrado de Faria | CEO Bacula do Brasil | Visto EB-1 | LPIC-III | EMC 
> 05-001 | ITIL-F
> • Não seja tarifado pelo tamanho dos seus backups, conheça o Bacula 
> Enterprise: http://www.bacula.com.br/enterprise/
> • Ministro treinamento e implementação in-company do Bacula Community: 
> http://www.bacula.com.br/in-company/
> +55 61 98268-4220 | www.bacula.com.br
> 
> Indicamos também as capacitações complementares:
> • Shell básico e Programação em Shell com Julio Neves.
> • Zabbix com Adail Host.
> 
>
> --
> 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 9 depends on bacula-console?

2017-11-01 Thread Marcin Haba
Hello Heitor,

On 1 November 2017 at 09:16, Heitor Faria  wrote:
>> Hello Heitor,
>
> Hello, Marcin,
>
>> I wouldn't remove bacula-console dependency because Baculum uses
>> Bacula console as regular tool. I think that using packages assumes
>> providing all needed package dependecies as packages too.
>
> Please correct if I'm wrong, but Bacula json binaries were only released on 
> Bacula 9.0 .

These json binaries are needed to the config module. If you don't have
the Bacula json tools (Bacula < 9) you can not setup the config module
and you can use the Baculum without it.

> However, current (e.g.) Ubuntu 17.04 Bacula packages are from the 7.4.4 
> version:
>
> ===
> root@hfaria-K46CB:~# dpkg -l| grep bacula
> ii  bacula-common   7.4.4+dfsg-5
> ===
>
> I think this create an impossible situation, unless there is a 9.0 Bacula 
> repository I don't know.

You asked about removing bacula-console from package dependencies. The
bacula-console 7.4 works well with Baculum 9 and I don't see reason to
remove it.

>> I understand your request and it make sense for me. For this case I
>> propose to remove the bacula-console dependency in your local copy and
>> build the Baculum packages self. I can help with it if there is any
>> problem.
>
> This would be a solution, but then I would have to do this forever. =)

I am sorry. I don't see any other solution for now.

Best regards.
Marcin

>> Best regards
>
> Regards,
>
>> Marcin
>>
>> On 31 October 2017 at 20:47, Heitor Faria  wrote:
>>> Hello, Bacula Users/Baculum Developers,
>>>
>>> I think Baculum .deb packages should not depend on bacula-console.
>>> I suppose many people build Bacula from source by the number of source code
>>> downloads, and this creates one more Bacula version restriction.
>>>
>>> Regards,
>>> --
>>> ===
>>> Heitor Medrado de Faria | CEO Bacula do Brasil | Visto EB-1 | LPIC-III | EMC
>>> 05-001 | ITIL-F
>>> • Não seja tarifado pelo tamanho dos seus backups, conheça o Bacula 
>>> Enterprise:
>>> http://www.bacula.com.br/enterprise/
>>> • Ministro treinamento e implementação in-company do Bacula Community:
>>> http://www.bacula.com.br/in-company/
>>> +55 61 98268-4220 | www.bacula.com.br
>>> 
>>> Indicamos também as capacitações complementares:
>>> • Shell básico e Programação em Shell com Julio Neves.
>>> • Zabbix com Adail Host.
>>> 
>>>
>>> --
>>> 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
>
> --
> ===
> Heitor Medrado de Faria | CEO Bacula do Brasil | Visto EB-1 | LPIC-III | EMC 
> 05-001 | ITIL-F
> • Não seja tarifado pelo tamanho dos seus backups, conheça o Bacula 
> Enterprise: http://www.bacula.com.br/enterprise/
> • Ministro treinamento e implementação in-company do Bacula Community: 
> http://www.bacula.com.br/in-company/
> +55 61 98268-4220 | www.bacula.com.br
> 
> Indicamos também as capacitações complementares:
> • Shell básico e Programação em Shell com Julio Neves.
> • Zabbix com Adail Host.
> 



-- 
"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] [Bacula-devel] SImplified Baculum Interface & API Deploy

2017-11-07 Thread Marcin Haba
Hello Heitor,

Many thanks for the installation guide. It looks really well and
useful. Your Baculum logo is nice as well.

If you want I can send you the original big Baculum logo that is used
on the Baculum interface.

Best regards.
Marcin Haba (gani)

On 7 November 2017 at 15:28, Heitor Faria  wrote:
> Dear Bacula Users,
>
> Just to share a simplified new Baculum installation guide
> <http://bacula.us/baculum/>.
> The new software is great and allows Bacula graphical configuration. Thanks
> to the developers.
> I'm no designer but draw a Baculum logo (I could not find one). If you think
> you could improve it I can send the svg file.
>
> Regards,
> --
> ===
> Heitor Medrado de Faria | EB-1 Visa | LPIC-III | ITIL-F | EMC 05-001| Bacula
> Systems Certified Administrator II
> • Bacula Enterprise does not charge per backup size and has plugins for many
> applications. In the USA: http://bacula.us/
> • Do you need Bacula training? http://bacula.us/video-classes/
> • USA +1 (323) 300-5387 | Brazil  +55 (61) 98268-4220 | http://bacula.us
> ===
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Bacula-devel mailing list
> bacula-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
>



-- 
"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 Config Endpoint

2018-02-02 Thread Marcin Haba
Hello Heitor,

I remember your question. You have already asked about it in November
2017. Just after I added to the repository the new chapter about using
Baculum config part. You can see these changes in the docs repository:

http://www.bacula.org/git/cgit.cgi/docs/

However unfortunatelly from that time no new HTML documentation was
generated so you can't find it on the docs pages yet.

Best regards.
Marcin Haba (gani)

On 2 February 2018 at 20:07, Heitor Faria  wrote:
> Dear Bacula Developers/Users,
>
> I know it is not documented
> (http://www.bacula.org/9.0.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION0034),
> but I was still figuring out how to use the Baculum Config Endpoint.
> I'm not sure how to set the following "parameters..." values:
>
> "API.Config"
> pattern="api/config/{component_type}/{resource_type}/{resource_name}/"
> parameters.component_type="[a-z]+" parameters.resource_type="[a-zA-Z]+"
> parameters.resource_name="[a-zA-Z0-9:.\-_ ]+"
>
> Is there any example?
>
> Regards,
> --
> ===
> Heitor Medrado de Faria | EB-1 Visa | LPIC-III | ITIL-F | EMC 05-001| Bacula
> Systems Certified Administrator II
> • Enterprise Bacula does not charge per backup size and has plugins for many
> applications. In the USA: http://bacula.us/
> • Do you need Bacula training? http://bacula.us/video-classes/
> • USA +1 (323) 300-5387 | Brazil  +55 (61) 98268-4220 | http://bacula.us
> ===



-- 
"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 Config Endpoint

2018-02-03 Thread Marcin Haba
Hello Heitor,

On 2 February 2018 at 22:11, Heitor Faria  wrote:
>
>> Hello Heitor,
>
> Hello, Marcin,
>
>> I remember your question. You have already asked about it in November
>> 2017. Just after I added to the repository the new chapter about using
>> Baculum config part. You can see these changes in the docs repository:
>>
>> http://www.bacula.org/git/cgit.cgi/docs/
>>
>> However unfortunatelly from that time no new HTML documentation was
>> generated so you can't find it on the docs pages yet.
>
> Don't get me wrong. I was not complaining, but looking for something to play. 
> lol

Don't worry :-)

> New documentation is great.

Thanks for the feedback about the documentation.

Best regards.
Marcin Haba (gani)

>> Best regards.
>
> Regards,
>
>> Marcin Haba (gani)
>>
>> On 2 February 2018 at 20:07, Heitor Faria  wrote:
>>> Dear Bacula Developers/Users,
>>>
>>> I know it is not documented
>>> (http://www.bacula.org/9.0.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION0034),
>>> but I was still figuring out how to use the Baculum Config Endpoint.
>>> I'm not sure how to set the following "parameters..." values:
>>>
>>> "API.Config"
>>> pattern="api/config/{component_type}/{resource_type}/{resource_name}/"
>>> parameters.component_type="[a-z]+" parameters.resource_type="[a-zA-Z]+"
>>> parameters.resource_name="[a-zA-Z0-9:.\-_ ]+"
>>>
>>> Is there any example?
>>>
>>> Regards,
>>> --
>>> ===
>>> Heitor Medrado de Faria | EB-1 Visa | LPIC-III | ITIL-F | EMC 05-001| Bacula
>>> Systems Certified Administrator II
>>> • Enterprise Bacula does not charge per backup size and has plugins for many
>>> applications. In the USA: http://bacula.us/
>>> • Do you need Bacula training? http://bacula.us/video-classes/
>>> • USA +1 (323) 300-5387 | Brazil  +55 (61) 98268-4220 | http://bacula.us
>>> ===
>>
>>
>>
>> --
>> "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
>
> --
> ===
> Heitor Medrado de Faria | CEO Bacula do Brasil & USA | Visto EB-1 | LPIC-III 
> | EMC 05-001 | ITIL-F
> • Não seja tarifado pelo tamanho dos seus backups, conheça o Bacula 
> Enterprise http://www.bacula.com.br/enterprise/
> • Ministro treinamento e implementação in-company do Bacula Community 
> http://www.bacula.com.br/in-company/
> Brazil +55 (61) 98268-4220 | USA +1 (323) 300-5387 | www.bacula.com.br
> 
> Indicamos as capacitações complementares:
> Shell básico e Programação em Shell com Julio Neves | Zabbix com Adail Host.
> 



-- 
"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


[Bacula-users] Baculum bug tracker

2018-02-04 Thread Marcin Haba
Hello,

I let know that I prepared the Baculum bug tracker. All bugs, feature
requests and documentation issues related to the Baculum you can
report here:

http://bugs.baculus.pl

Thanks in advance for your activity there.

Best regards.
Marcin Haba (gani)

-- 
"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 error connecting to MySQL DB

2018-02-07 Thread Marcin Haba
Hello Shawn,

It looks that you use an old Baculum version (7.x). I would suggest to
remove the 7.x and install 9.x (there is no direct update way between
versions 7 and 9). Here you can find how to install version Baculum
9.x:

http://www.bacula.org/9.0.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html

If you want to stay in version 7 then you can try the following:

1) To check connection try to connect to database by below mysql
command on host with Baculum:

mysql -u bacula -h xbacdirector01-lv -P 3306 bacula -p

2) check if you have installed "php-mysql" package

3) To fix your timezone setting (not related to the mysql) you can
find in /etc/php.ini file line:

;date.timezone =

and change it to

data.timezone = Your/Timezone

Supported by PHP timezone list is here:

http://php.net/manual/en/timezones.php

At the end you need to restart the web server.

Good luck.

Best regards.
Marcin Haba (gani)

On 7 February 2018 at 23:47, Shawn Rappaport  wrote:
> I’m new to Bacula. I’ve been playing with the latest version for the past
> couple of days on a CentOS 7.3 server with a MySQL DB. I’m now trying to set
> up Baculum. I’m able to connect to the web interface. However, when I fill
> in all of the DB information on the Database tab and click Test, I get
> “Connection error”. I checked /var/log/httpd/baculum-error.log and see the
> following:
>
>
>
> [Wed Feb 07 12:18:37.550545 2018] [:error] [pid 10647] [client
> 172.31.48.196:53501] PHP Notice:  date_default_timezone_set(): Timezone ID
> 'PST' is invalid in /usr/share/baculum/htdocs/protected/Init.php on line 31,
> referer: http://xbacdirector01-lv:9095/wizard/
>
>
>
> The /etc/baculum/Data-apache/baculum.dbg file shows:
>
>
>
> Feb 07 20:18:37 [Info] [Execute] DBParams=Array
>
> (
>
> [type] => mysql
>
> [name] => bacula
>
> [login] => bacula
>
> [password] => **
>
> [host] => xbacdirector01-lv
>
> [port] => 3306
>
> )
>
> , Connection=false, TablesFormat=NULL
>
>
>
> I’m able to connect to the database from a remote host so that shouldn’t be
> a problem.
>
>
>
> Does anyone have any ideas on what could be causing this connection to fail?
>
>
>
> Thanks!
>
>
>
> --Shawn
>
>
> --
> 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 Workspace problems

2018-02-08 Thread Marcin Haba
Hello Shawn,

You can try to enable debug in Baculum by clicking on the bottom
checkbox with label 'Enable debug'. Then you can click few times on
these parts that don't show any data. In the end you can look in the

/usr/share/baculum/htdocs/protected/Web/Logs/

If it doesn't show any error then you can enable API debug. The API
debug you can enable in file:

/usr/share/baculum/htdocs/protected/API/Config/api.conf

by switching in [api] section option debug to "1".

API logs are in the following path:

/usr/share/baculum/htdocs/protected/API/Logs/

Please let know here if there is something wrong in these debug files.

Best regards.
Marcin Haba (gani)

On 8 February 2018 at 23:46, Shawn Rappaport  wrote:
> System details:
> CentOS 7.3
>
> Bacula 9.06
>
> Baculum 9.05
>
> MySQL (MariaDB) 5.5.56
>
>
>
> I just finished configuring Baculum and have access to the web interface
> now. However, when I try to click on any of the options on the Workspace
> (Storage Daemons, Clients, Volumes, Pools, etc..), nothing happens. I
> checked /var/log/httpd/baculum-web-error.log and I see these two errors:
>
>
>
> [Thu Feb 08 13:10:09.679435 2018] [access_compat:error] [pid 4399] [client
> 172.31.48.196:57161] AH01797: client denied by server configuration:
> /usr/share/baculum/htdocs/index.php, referer:
> http://xbacdirector01-lv:9095/web/
>
> [Thu Feb 08 13:10:09.679773 2018] [access_compat:error] [pid 4399] [client
> 172.31.48.196:57161] AH01797: client denied by server configuration:
> /usr/share/baculum/htdocs/web, referer: http://xbacdirector01-lv:9095/web/
>
>
>
> There is no /usr/share/baculum/htdocs/web on my system.
>
>
>
> I tried adding the following to /etc/httpd/conf/httpd.conf and restarting
> httpd:
>
> 
>
> AllowOverride All
>
> Require all granted
>
> 
>
>
>
> That didn’t help though. Does anyone have any ideas on how to fix this?
>
>
>
> --Shawn
>
>
> --
> 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 Workspace problems

2018-02-09 Thread Marcin Haba
Hello Shawn,

Thanks for providing these debug files.

Could you tell me if the /etc/bacula/bconsole that you defined as your
Bacula console is binary file or it is a bconsole wrapper? If it is a
wrapper then you need to switch Baculum API to use bconsole binary
file.

Best regards.
Marcin Haba (gani)

On 9 February 2018 at 18:26, Shawn Rappaport  wrote:
> Hi Marcin,
>
> Thanks for the debug tips. I turned on debug for both web and API. However, I 
> don’t see any obvious errors in either of the log files. I attached them to 
> this email in case you want to review them.
>
> Please let me know if you have any other ideas on what I can try.
>
> Thanks again!
>
> ---Shawn
>
>
> On 2/8/18, 11:44 PM, "Marcin Haba"  wrote:
>
> Hello Shawn,
>
> You can try to enable debug in Baculum by clicking on the bottom
> checkbox with label 'Enable debug'. Then you can click few times on
> these parts that don't show any data. In the end you can look in the
>
> /usr/share/baculum/htdocs/protected/Web/Logs/
>
> If it doesn't show any error then you can enable API debug. The API
> debug you can enable in file:
>
> /usr/share/baculum/htdocs/protected/API/Config/api.conf
>
> by switching in [api] section option debug to "1".
>
> API logs are in the following path:
>
> /usr/share/baculum/htdocs/protected/API/Logs/
>
> Please let know here if there is something wrong in these debug files.
>
> Best regards.
> Marcin Haba (gani)
>
> On 8 February 2018 at 23:46, Shawn Rappaport  
> wrote:
> > System details:
> > CentOS 7.3
> >
> > Bacula 9.06
> >
> > Baculum 9.05
> >
> > MySQL (MariaDB) 5.5.56
> >
> >
> >
> > I just finished configuring Baculum and have access to the web interface
> > now. However, when I try to click on any of the options on the Workspace
> > (Storage Daemons, Clients, Volumes, Pools, etc..), nothing happens. I
> > checked /var/log/httpd/baculum-web-error.log and I see these two errors:
> >
> >
> >
> > [Thu Feb 08 13:10:09.679435 2018] [access_compat:error] [pid 4399] 
> [client
> > 172.31.48.196:57161] AH01797: client denied by server configuration:
> > /usr/share/baculum/htdocs/index.php, referer:
> > 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__xbacdirector01-2Dlv-3A9095_web_&d=DwIFaQ&c=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc&r=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8&m=uMDK6nUWqloZhJ09PY4EqYZLzRhamo1-94_dCyGbqUU&s=Ab0vVwDmw-qz3AO7vkiy1ye0_o8yIHJWWdHlaP2DxDE&e=
> >
> > [Thu Feb 08 13:10:09.679773 2018] [access_compat:error] [pid 4399] 
> [client
> > 172.31.48.196:57161] AH01797: client denied by server configuration:
> > /usr/share/baculum/htdocs/web, referer: 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__xbacdirector01-2Dlv-3A9095_web_&d=DwIFaQ&c=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc&r=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8&m=uMDK6nUWqloZhJ09PY4EqYZLzRhamo1-94_dCyGbqUU&s=Ab0vVwDmw-qz3AO7vkiy1ye0_o8yIHJWWdHlaP2DxDE&e=
> >
> >
> >
> > There is no /usr/share/baculum/htdocs/web on my system.
> >
> >
> >
> > I tried adding the following to /etc/httpd/conf/httpd.conf and 
> restarting
> > httpd:
> >
> > 
> >
> > AllowOverride All
> >
> > Require all granted
> >
> > 
> >
> >
> >
> > That didn’t help though. Does anyone have any ideas on how to fix this?
> >
> >
> >
> > --Shawn
> >
> >
> > 
> --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwIFaQ&c=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc&r=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8&m=uMDK6nUWqloZhJ09PY4EqYZLzRhamo1-94_dCyGbqUU&s=R3S4N8yuNuZ1QlBiq8iMwkayGa-QMyLLPpMLYWa086s&e=
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_bacula-2Dusers&d=DwIFaQ&c=sy2pFYeXOTBQJUPqadkFIXq

Re: [Bacula-users] Baculum Workspace problems

2018-02-09 Thread Marcin Haba
Hello Shawn,

Thanks for these next logs.

Now it looks heathy and I am not seeing any abnormality.

I propose to clear caches:

1) web browser cache
2) Baculum cache. You can remove content of the /var/cache/baculum/ directory.

and at the end please refresh Baculum interface in the web browser.

If cleaning caches doesn't help, please look at the JavaScript console
if there is an error and what is content of the async HTTP response
after clicking on a button in the workspace.

Thanks in advance for this test.

Best regards.
Marcin

On 9 February 2018 at 19:34, Shawn Rappaport  wrote:
> Hi Marcin,
>
> The bconsole file I was using in /etc/bacula was a bconsole wrapper. I 
> changed it to point to /sbin/bconsole, which is the binary. However, it 
> didn’t seem to make a difference. I collected the debug logs again (attached) 
> and don’t see any errors.
>
> --Shawn
>
>
> On 2/9/18, 10:52 AM, "Marcin Haba"  wrote:
>
> Hello Shawn,
>
> Thanks for providing these debug files.
>
> Could you tell me if the /etc/bacula/bconsole that you defined as your
> Bacula console is binary file or it is a bconsole wrapper? If it is a
> wrapper then you need to switch Baculum API to use bconsole binary
> file.
>
> Best regards.
> Marcin Haba (gani)
>
> On 9 February 2018 at 18:26, Shawn Rappaport  
> wrote:
> > Hi Marcin,
> >
> > Thanks for the debug tips. I turned on debug for both web and API. 
> However, I don’t see any obvious errors in either of the log files. I 
> attached them to this email in case you want to review them.
> >
> > Please let me know if you have any other ideas on what I can try.
> >
> > Thanks again!
> >
> > ---Shawn
> >
> >
> > On 2/8/18, 11:44 PM, "Marcin Haba"  wrote:
> >
> > Hello Shawn,
> >
> > You can try to enable debug in Baculum by clicking on the bottom
> > checkbox with label 'Enable debug'. Then you can click few times on
> > these parts that don't show any data. In the end you can look in the
> >
> > /usr/share/baculum/htdocs/protected/Web/Logs/
> >
> > If it doesn't show any error then you can enable API debug. The API
> > debug you can enable in file:
> >
> > /usr/share/baculum/htdocs/protected/API/Config/api.conf
> >
> > by switching in [api] section option debug to "1".
> >
> > API logs are in the following path:
> >
> > /usr/share/baculum/htdocs/protected/API/Logs/
> >
> > Please let know here if there is something wrong in these debug 
> files.
> >
> > Best regards.
> > Marcin Haba (gani)
> >
> > On 8 February 2018 at 23:46, Shawn Rappaport 
>  wrote:
> > > System details:
> > > CentOS 7.3
> > >
> > > Bacula 9.06
> > >
> > > Baculum 9.05
> > >
> > > MySQL (MariaDB) 5.5.56
> > >
> > >
> > >
> > > I just finished configuring Baculum and have access to the web 
> interface
> > > now. However, when I try to click on any of the options on the 
> Workspace
> > > (Storage Daemons, Clients, Volumes, Pools, etc..), nothing 
> happens. I
> > > checked /var/log/httpd/baculum-web-error.log and I see these two 
> errors:
> > >
> > >
> > >
> > > [Thu Feb 08 13:10:09.679435 2018] [access_compat:error] [pid 
> 4399] [client
> > > 172.31.48.196:57161] AH01797: client denied by server 
> configuration:
> > > /usr/share/baculum/htdocs/index.php, referer:
> > > 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__xbacdirector01-2Dlv-3A9095_web_&d=DwIFaQ&c=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc&r=N3_BTL1Tt2ryeleRqn2wc-R4w3v0TnI7dlgnwdQ7zE8&m=uMDK6nUWqloZhJ09PY4EqYZLzRhamo1-94_dCyGbqUU&s=Ab0vVwDmw-qz3AO7vkiy1ye0_o8yIHJWWdHlaP2DxDE&e=
> > >
> > > [Thu Feb 08 13:10:09.679773 2018] [access_compat:error] [pid 
> 4399] [client
> > > 172.31.48.196:57161] AH01797: client denied by server 
> configuration:
> > > /usr/share/baculum/htdocs/web, referer: 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__xbacdirector01-2Dlv-3A9095_web_&d=DwIFaQ&c=sy2pFYeXOTBQJUPqadkFIXq5lzPIgQxhI8DCCAdSjYc&r=N3

[Bacula-users] Baculum 9.0.7 binary packages

2018-04-20 Thread Marcin Haba
Hello,

I let know that I have just uploaded Baculum 9.0.7 binary packages for
CentOS, Fedora, Debian and Ubuntu. As usual installation instruction
is available in the Console manual:

http://www.bacula.org/9.0.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html

In case some visual problems in wizards after upgrade it is
recommended to clear web browser cache (Firefox and Chrome: CTRL +
SHIFT + R). From next version this action will not be necessary
anymore.

Best regards.
Marcin Haba (gani)

-- 
"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 9.0.7 binary packages

2018-04-20 Thread Marcin Haba
Hello Josh,

No, it isn't. There are only packages for few Linux distributions.

Best regards.
Marcin

On 20 April 2018 at 20:03, Josh Fisher  wrote:
> Is there a Mac binary?
>
>
>
> On 4/20/2018 1:44 PM, Marcin Haba wrote:
>>
>> Hello,
>>
>> I let know that I have just uploaded Baculum 9.0.7 binary packages for
>> CentOS, Fedora, Debian and Ubuntu. As usual installation instruction
>> is available in the Console manual:
>>
>>
>> http://www.bacula.org/9.0.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html
>>
>> In case some visual problems in wizards after upgrade it is
>> recommended to clear web browser cache (Firefox and Chrome: CTRL +
>> SHIFT + R). From next version this action will not be necessary
>> anymore.
>>
>> Best regards.
>> Marcin Haba (gani)
>>
>



-- 
"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 - Grouping error: 7 ERROR: column "media.volumename" ...

2018-05-15 Thread Marcin Haba
Hello Rasmus,

Thanks for reporting this problem.

It is a bug that will be fixed in the next Baculum version.

In attachment I added patch that fixes it.

Best regards.
Marcin Haba (gani)

On 14 May 2018 at 15:07, Rasmus Linden  wrote:
> Hey All!
> Im a long time bacula user, and finally got myself updated to v9.0.7, and i
> have run into a issue with baculum i just cannot figure out how to solve.
> I have everything working, except restoring using baculm. -bat and bconsole
> works with no issues.
>
> When i have chosen files to restore, and click next, i get a sql error :
>
> Baculum problem
> Error 100 - Problem with connection to remote host. cURL error 0: .
>
> SQLSTATE[42803]: Grouping error: 7 ERROR: column "media.volumename" must
> appear in the GROUP BY clause or be used in an aggregate function LINE 2:
> SELECT VolumeName, InChanger, MIN(FirstIndex) as first_in... ^
>
>
> 0083: $connection = VolumeRecord::finder()->getDbConnection();
> 0084: $connection->setActive(true);
> 0085: $sql = sprintf('SELECT first_index, last_index, VolumeName AS
> volname, InChanger AS inchanger FROM (
> 0086:  SELECT VolumeName, InChanger, MIN(FirstIndex) as first_index,
> MAX(LastIndex) as last_index
> 0087:  FROM JobMedia JOIN Media ON (JobMedia.MediaId =
> Media.MediaId)
> 0088:  WHERE JobId = %d GROUP BY (VolumeName, InChanger)
> 0089: ) AS gv, File
> 0090:  WHERE FileIndex >= first_index
> 0091:  AND FileIndex <= last_index
> 0092:  AND File.FileId = %d', $jobid, $fileid);
> 0093: $pdo = $connection->getPdoInstance();
> 0094: $result = $pdo->query($sql);
> 0095: $ret = $result->fetchAll();
> 0096: $pdo = null;
> 0097: $volumes = array();
> 0098: if (is_array($ret)) {
> 0099: for ($i = 0; $i < count($ret); $i  ) {
> 0100: $volumes[] = array(
> 0101: 'first_index' => $ret[$i]['first_index'],
> 0102: 'last_index' => $ret[$i]['last_index'],
> 0103: 'volume' => $ret[$i]['volname'],
> 0104: 'inchanger' => $ret[$i]['inchanger']
> 0105: );
> 0106: }
>
>
> I started out with a quite large MySql database, but for troubleshooting, i
> am running a clean posgress database.
> Os is CentOS Linux release 7.5.1804 (Core)
>
> Anybody got any good ideas ??
>
> All the best
>
> Ras
>
>
>
> --
> 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
diff --git a/gui/baculum/protected/API/Class/VolumeManager.php b/gui/baculum/protected/API/Class/VolumeManager.php
index 35265beb97..48b25d74d2 100644
--- a/gui/baculum/protected/API/Class/VolumeManager.php
+++ b/gui/baculum/protected/API/Class/VolumeManager.php
@@ -85,7 +85,7 @@ class VolumeManager extends APIModule {
 		$sql = sprintf('SELECT first_index, last_index, VolumeName AS volname, InChanger AS inchanger FROM (
 		 SELECT VolumeName, InChanger, MIN(FirstIndex) as first_index, MAX(LastIndex) as last_index
 		 FROM JobMedia JOIN Media ON (JobMedia.MediaId = Media.MediaId)
-		 WHERE JobId = %d GROUP BY (VolumeName, InChanger)
+		 WHERE JobId = %d GROUP BY VolumeName, InChanger
 		) AS gv, File
 		 WHERE FileIndex >= first_index
 		 AND FileIndex <= last_index
--
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 - Grouping error: 7 ERROR: column "media.volumename" ...

2018-05-16 Thread Marcin Haba
Hello Rasmus,

Thanks for the confirmation that the patch works well.

On 16 May 2018 at 09:17, Rasmus Linden  wrote:
> Hi Marcin !
> Thanks a bunch, works a charm 
> A quick note, I’m currently in German, on timezone Europe/Berlin.
> If i do not set a timezone definition in php.ini, the java script for 
> choosing files does not work, and logs a error to console warning about 
> having to set a timezone, and not relying on default.

Yes, right. Timezone setting is something what has to be more exposed
in the documentation specially that it can cause the warning that you
mentioned. Currently there is only small notice about timezone in the
README file. I will add more information to the doc. Thanks.

> And a big thanks again for helping me out, very very much appreciated.

Thanks too for your help.

Best regards.
Marcin Haba (gani)

> All the best
>
> Ras
>
>
>> On 15 May 2018, at 21:46, Marcin Haba  wrote:
>>
>> Hello Rasmus,
>>
>> Thanks for reporting this problem.
>>
>> It is a bug that will be fixed in the next Baculum version.
>>
>> In attachment I added patch that fixes it.
>>
>> Best regards.
>> Marcin Haba (gani)
>>
>> On 14 May 2018 at 15:07, Rasmus Linden  wrote:
>>> Hey All!
>>> Im a long time bacula user, and finally got myself updated to v9.0.7, and i
>>> have run into a issue with baculum i just cannot figure out how to solve.
>>> I have everything working, except restoring using baculm. -bat and bconsole
>>> works with no issues.
>>>
>>> When i have chosen files to restore, and click next, i get a sql error :
>>>
>>> Baculum problem
>>> Error 100 - Problem with connection to remote host. cURL error 0: .
>>>
>>> SQLSTATE[42803]: Grouping error: 7 ERROR: column "media.volumename" must
>>> appear in the GROUP BY clause or be used in an aggregate function LINE 2:
>>> SELECT VolumeName, InChanger, MIN(FirstIndex) as first_in... ^
>>>
>>>
>>> 0083: $connection = VolumeRecord::finder()->getDbConnection();
>>> 0084: $connection->setActive(true);
>>> 0085: $sql = sprintf('SELECT first_index, last_index, VolumeName AS
>>> volname, InChanger AS inchanger FROM (
>>> 0086:  SELECT VolumeName, InChanger, MIN(FirstIndex) as first_index,
>>> MAX(LastIndex) as last_index
>>> 0087:  FROM JobMedia JOIN Media ON (JobMedia.MediaId =
>>> Media.MediaId)
>>> 0088:  WHERE JobId = %d GROUP BY (VolumeName, InChanger)
>>> 0089: ) AS gv, File
>>> 0090:  WHERE FileIndex >= first_index
>>> 0091:  AND FileIndex <= last_index
>>> 0092:  AND File.FileId = %d', $jobid, $fileid);
>>> 0093: $pdo = $connection->getPdoInstance();
>>> 0094: $result = $pdo->query($sql);
>>> 0095: $ret = $result->fetchAll();
>>> 0096: $pdo = null;
>>> 0097: $volumes = array();
>>> 0098: if (is_array($ret)) {
>>> 0099: for ($i = 0; $i < count($ret); $i  ) {
>>> 0100: $volumes[] = array(
>>> 0101: 'first_index' => $ret[$i]['first_index'],
>>> 0102: 'last_index' => $ret[$i]['last_index'],
>>> 0103: 'volume' => $ret[$i]['volname'],
>>> 0104: 'inchanger' => $ret[$i]['inchanger']
>>> 0105: );
>>> 0106: }
>>>
>>>
>>> I started out with a quite large MySql database, but for troubleshooting, i
>>> am running a clean posgress database.
>>> Os is CentOS Linux release 7.5.1804 (Core)
>>>
>>> Anybody got any good ideas ??
>>>
>>> All the best
>>>
>>> Ras
>>>
>>>
>>>
>>> --
>>> 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
>> 
>



-- 
"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-web bconsole permissions problem

2018-05-16 Thread Marcin Haba
Hello Chris,

Could you tell me if you configured bconsole access via sudo in the
following way:

http://www.bacula.org/9.0.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION00344000

Did you test the sudo from www-data user? In newer Baculum versions in
the install wizard you should see error message that comes directly
from the bconsole execution. What Baculum version do you use?

If you are going to not use sudo, then you need to give the web server
user access both to bconsole binary and to bconsole config file.
Usually this setting is up to the user, I don't have the only one
valid solution here.

Best regards.
Marcin Haba (gani)

On 16 May 2018 at 19:44, Chris Wilkinson  wrote:
> In a new install of baculum-web on Debian wheezy,  I ran into a permissions
> issue with Apache2 not being able to access bconsole. This shows up as an
> error in the install wizard and in the Web page when attempting any
> operation. Bconsole works fine from the command line, as root/sudo of
> course. Since Apache runs as www-data:www-data, I'm guessing I need to fix
> some permissions. I'm not sure what permissions I need to change so could
> anybody advise?
>
> Many thanks
> Chris
>
> --
> 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] editing config files with baculum

2018-05-28 Thread Marcin Haba
Hello Matthias,

The Baculum API to work uses web server that, in case using config
module, requires access to read and write Bacula config files. You can
set appropriate permissions to these files or you can manipulate user
or/and group or you can change web server user or group. Unfortunately
this step is to do by users, because I don't know ideal solution here.

Best regards.
Marcin Haba (gani)

On 28 May 2018 at 13:23, Matthias Leopold
 wrote:
> Hi,
>
> i just started to explore baculum. One of the first things i tried was
> editing config files on API hosts. This only works when setting permissions
> of the config files to 666, else i get
>
> Error 1000: Internal error. [Warning]
> file_put_contents(/etc/bacula/bacula-fd.conf): failed to open stream:
> Permission denied (@line 56 in file
> /usr/share/baculum/htdocs/protected/Common/Class/ConfigBacula.php).
>
> Is this really the way this is supposed to work? I'm using apache httpd and
> created /etc/sudoers.d/baculum as stated on
> http://www.bacula.org/9.0.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html
>
> thx
> matthias
>
> --
> 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


[Bacula-users] The Baculum - current state and future

2018-05-29 Thread Marcin Haba
Hello Everybody,

I would like to inform you about changes that have been done in the
Baculum and about near the Baculum future.

1) Current state of Baculum

The current view of the Baculum is done in old-style and seems to be
more and more "heavy". From this reason I redesigned the Baculum Web
interface to make it modern, light and also 100% mobile-friendly. It
was something what had to be done to keep this part simple and
up-to-date to current trends. By this change Baculum Web and all its
functions are possible to use from every device with installed modern
web browser (mobile phones, tablets, desktops...). This change is
ready from some time and will be available in the next major release.

Here you can see screen shots with this new redesigned interface:

http://baculus.pl/baculum-screenshots/index.html

2) Near the Baculum future

I plan to make the Baculum more simple and more friendly than it is
now. To do it I will need also your help. I have already received some
small suggestions and I will appreciate if you have more ideas. You
can report them as a feature request in the Baculum bug tracker here:

http://bugs.baculus.pl

Thank you in advance for your requests.

Best regards,
Marcin Haba (gani)

-- 
"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] multiple baculum web GUI instances accessing single API?

2018-05-29 Thread Marcin Haba
Hello Matthias,

It is as Heitor wrote - the main Baculum usage is to have one Baculum
Web and many Baculum APIs installed on remote hosts.

You can of course to use two Baculum Web to one Baculum API but if you
are going to use config module then you need to be careful to not
overwrite the same resource from two Baculum Web interfaces.

To your question about if Baculum-Web writes to the bacula database
the answer is - no, Baculum Web can only communicate with the Baculum
API.

I hope it helps.

Best regards.
Marcin Haba (gani)

On 29 May 2018 at 22:10, Heitor Faria  wrote:
>
>> Hi,
>
> Hello Matthias,
>
>> is it OK to access a single baculum instance from multiple web GUI
>> instances? Eg. from localhost and a centralized web GUI server?
>
> I'm not sure I understand your question.
> Baculum GUI can access one or more Baculum APIs. The APIs can connect 
> directly to Bacula Catalogs databases and to bjsons, to read and write 
> daemons configurations.
> I suppose the opposite is also true. You can have different Baculum GUIs 
> accessing a single Baculum API node, although I don't see many practical 
> reasons for adopting this architecture.
>
>> Does baculum-web write to the bacula database?
>
> Bacula API does.
>
>> thx
>
> Regards,
>
>> matthias
>
> --
> Heitor Medrado de Faria | EB-1 Visa | LPIC-III | ITIL-F | EMC 05-001
> • Check my Bacula Book at Amazon.com http://bacula.us/book
> • Do you need Bacula training? http://bacula.us/video-classes/
> • USA +1 (323) 300-5387 | Brazil +55 (61) 98268-4220 | http://bacula.us
>
> --
> 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] The Baculum - current state and future

2018-05-29 Thread Marcin Haba
Hello Heitor,

Thanks for the appreciation.

I like the green. Generally the green color is symbol that can mean
hope and faith, for example faith in the second coming of Jesus Christ
:-) and I like it more than blood and Dracula color style.

From the techical side I hope that this color scheme and this contrast
will help people that have not good sight to operate the Baculum.

Best regards.
Marcin

On 30 May 2018 at 01:14, Heitor Faria  wrote:
>
>> Hello Everybody,
>
> Hello Marcin,
>
>> I would like to inform you about changes that have been done in the
>> Baculum and about near the Baculum future.
>>
>> 1) Current state of Baculum
>>
>> The current view of the Baculum is done in old-style and seems to be
>> more and more "heavy". From this reason I redesigned the Baculum Web
>> interface to make it modern, light and also 100% mobile-friendly. It
>> was something what had to be done to keep this part simple and
>> up-to-date to current trends. By this change Baculum Web and all its
>> functions are possible to use from every device with installed modern
>> web browser (mobile phones, tablets, desktops...). This change is
>> ready from some time and will be available in the next major release.
>>
>> Here you can see screen shots with this new redesigned interface:
>>
>> http://baculus.pl/baculum-screenshots/index.html
>
> Fabulous job.
> I would sed s/green/bloody vermilion/g for a coherence with Bacula original 
> bat / Dracula reference color scheme.
> Or maybe I'm just traumatized with Thundercats Roar.
>
>> 2) Near the Baculum future
>>
>> I plan to make the Baculum more simple and more friendly than it is
>> now. To do it I will need also your help. I have already received some
>> small suggestions and I will appreciate if you have more ideas. You
>> can report them as a feature request in the Baculum bug tracker here:
>>
>> http://bugs.baculus.pl
>>
>> Thank you in advance for your requests.
>>
>> Best regards,
>> Marcin Haba (gani)
>
> Regards,
> --
> Heitor Medrado de Faria | CEO Bacula do Brasil & USA | Visto EB-1 | LPIC-III 
> | EMC 05-001 | ITIL-F
> • Não seja tarifado pelo tamanho dos seus backups, conheça o Bacula 
> Enterprise http://www.bacula.com.br/enterprise/
> • Ministro treinamento e implementação in-company do Bacula Community 
> http://www.bacula.com.br/in-company/
> • Compre o novo livro do Bacula http://www.bacula.com.br/livro
> • Brazil +55 (61) 98268-4220 | USA +1 (323) 300-5387 | www.bacula.com.br
>
> Indico as capacitações complementares:
> Shell básico e Programação em Shell com Julio Neves | Zabbix com Adail Host.



-- 
"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] Error 100 - Problem with connection to remote host. cURL error 0

2018-06-08 Thread Marcin Haba
Hello Danilo,

This problem is already fixed in 9.0.8.

The 9.0.8 packages will be available at the beginning of next week
(probably Sunday or Monday).

Till that time you can try a patch provided in the following thread:

https://sourceforge.net/p/bacula/mailman/message/36318324/

The reported error there is slightly different but the error message
for this bug is different depending on the catalog database type.

Best regards.
Marcin Haba (gani)

On 8 June 2018 at 12:36, Danilo Silva de Oliveira
 wrote:
> Good morning dear ones,
>
> After updating baculum to version 90.07 I get the following error after
> selecting the file to restore.
>
> Error 100 - Problem with connection to remote host. cURL error 0: .
>
> PDOException
>
> Description
>
> SQLSTATE[21000]: Cardinality violation: 1241 Operand should contain 1
> column(s)
>
> Source File
>
> /usr/share/baculum/htdocs/protected/API/Class/VolumeManager.php (94)
>
> 0083: $connection = VolumeRecord::finder()->getDbConnection();
> 0084: $connection->setActive(true);
> 0085: $sql = sprintf('SELECT first_index, last_index, VolumeName AS
> volname, InChanger AS inchanger FROM (
> 0086:  SELECT VolumeName, InChanger, MIN(FirstIndex) as first_index,
> MAX(LastIndex) as last_index
> 0087:  FROM JobMedia JOIN Media ON (JobMedia.MediaId =
> Media.MediaId)
> 0088:  WHERE JobId = %d GROUP BY (VolumeName, InChanger)
> 0089: ) AS gv, File
> 0090:  WHERE FileIndex >= first_index
> 0091:  AND FileIndex <= last_index
> 0092:  AND File.FileId = %d', $jobid, $fileid);
> 0093: $pdo = $connection->getPdoInstance();
>
> 0094: $result = $pdo->query($sql);
>
> 0095: $ret = $result->fetchAll();
> 0096: $pdo = null;
> 0097: $volumes = array();
> 0098: if (is_array($ret)) {
> 0099: for ($i = 0; $i < count($ret); $i  ) {
> 0100: $volumes[] = array(
> 0101: 'first_index' => $ret[$i]['first_index'],
> 0102: 'last_index' => $ret[$i]['last_index'],
> 0103: 'volume' => $ret[$i]['volname'],
> 0104: 'inchanger' => $ret[$i]['inchanger']
> 0105: );
> 0106: }
>
>
> Anyone have any idea how to solve this?
>
>
> --
> 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


  1   2   3   4   5   6   >