Re: [Bacula-users] Error when trying to configure bacula-gui-7.0.5

2014-08-05 Thread Machiel

Hi Guys

 Thank you for the response on this matter.
 I have now followed the instructions for installing baculum as per 
the INSTALL file, however now I a getting the following when I go to the 
web interface:



The requested URL /wizard/ was not found on this server.

I have done some web searches and everyone is noting that the 
authorisation needs to be configured and that mod_rewrite needs to be 
enabled.


Both these have been done, however still getting that message.



Any ideas on what might be wrong or how to fix this? I am by no 
means an apache or php expert.


Regards



On 31/07/2014 17:52, Marcin Haba wrote:

2014-07-31 15:05 GMT+02:00 Machiel mach...@integrat.co.za:

Hi Guys

  I have installed bacula7.0.5 from source as well as bacula-web
today without any issues.

  I am however trying to install bacula-gui-7.0.5 , but when I run
the configure script I get the following:


./configure --with-bacula=/installs/bacula-7.0.5/
configuring for Bacula source 7.0.5
01Jan13
29Feb12
4.8.4 (28 July 2014)
checking for true... /bin/true
checking for false... /bin/false
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for echo... /bin/echo
checking for ar... /usr/bin/ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for Operating System Distribution... done
configure: creating ./config.status
config.status: creating autoconf/Make.common
sed: file ./confstatvUTcN2/subs-1.sed line 35: unterminated `s' command
config.status: creating Makefile
sed: file ./confstatvUTcN2/subs-1.sed line 35: unterminated `s' command
config.status: creating bimagemgr/Makefile
config.status: error: cannot find input file: bimagemgr/Makefile.in


  I tried the same on another machine running 7.0.4 and got the exact
same thing. (thought it might be a big with the latest version).

  I am currently running ubuntu 14.04 LTS server and need to get this
up and running soon.

  Any help would be greatly appreciated.


Hello,

In bacula-gui archive there is one webGUI tool named Baculum. Script
../configure is not used for Baculum installation.

For installing Baculum please look in next file:

bacula-gui-7.0.5/baculum/INSTALL

There is description about how to install Baculum.

Best regards.
Marcin Haba



--
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Error when trying to configure bacula-gui-7.0.5

2014-08-05 Thread Machiel

Hi,

   Thank you for the reply.

ok, two questions here.


- I have only copied the baculum directory from the 
bacula-gui-7.0.5 source directory and to the /var/www/html/baculum 
directory.
-- first question, am I supposed to copy the full 
bacula-gui directory or was this correct.


- my current virtualhost config is as follows:

VirtualHost *:80
DocumentRoot /var/www/html/baculum/
serveralias # hashed out info  
ServerName # hashed out info  
Directory /var/www/html/baculum
RewriteEngine On
AllowOverride All
AuthType Basic
AuthName MyPrivateFile
AuthUserFile /var/www/html/baculum/passwords
Require valid-user
/Directory
/VirtualHost


This is the only site that will be running on the 
server so I have placed this virtualhost in the default file.


If I need to put a rewrite rule in, then my second 
question is what would it look like as I dont know how to write 
rewrite_rules at all.


Regards



On 05/08/2014 14:20, Marcin Haba wrote:

Hello,

It looks that your DocumentRoot option from VirtualHost does not 
indicate to directory with Baculum files.


The most probably is that you used subdirectory for storing Baculum files.

For example, if you are storing Baculum files in location:

/some/dir/bacula-gui/baculum

then according Apache configuration file part can look like below:

VirtualHost *:80
DocumentRoot /some/dir/bacula-gui/baculum
ServerName somehost.example.com http://somehost.example.com
Directory /some/dir/bacula-gui/baculum
AllowOverride All
AuthType Basic
AuthName MyPrivateFile
AuthUserFile /etc/apache2/some_password_file
Require valid-user
/Directory
/VirtualHost

In other words, Baculum files need to be located on top location of 
your web server document root. From this reason access to Baculum is by:


http://yourhost/

but NOT by:

http://yourhost/baculum/

I believe that this problem is easy to skip by modifing mod_rewrite rules.

Best regards.
Marcin

2014-08-05 10:30 GMT+02:00 Machiel mach...@integrat.co.za 
mailto:mach...@integrat.co.za:


Hi Guys

 Thank you for the response on this matter.
 I have now followed the instructions for installing baculum
as per the INSTALL file, however now I a getting the following
when I go to the web interface:

The requested URL /wizard/ was not found on this server.

I have done some web searches and everyone is noting that
the authorisation needs to be configured and that mod_rewrite
needs to be enabled.

Both these have been done, however still getting that message.



Any ideas on what might be wrong or how to fix this? I am
by no means an apache or php expert.

Regards



On 31/07/2014 17:52, Marcin Haba wrote:

2014-07-31 15:05 GMT+02:00 Machielmach...@integrat.co.za  
mailto:mach...@integrat.co.za:

Hi Guys

  I have installed bacula7.0.5 from source as well as bacula-web
today without any issues.

  I am however trying to install bacula-gui-7.0.5 , but when I run
the configure script I get the following:


./configure --with-bacula=/installs/bacula-7.0.5/
configuring for Bacula source 7.0.5
01Jan13
29Feb12
4.8.4 (28 July 2014)
checking for true... /bin/true
checking for false... /bin/false
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for echo... /bin/echo
checking for ar... /usr/bin/ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for Operating System Distribution... done
configure: creating ./config.status
config.status: creating autoconf/Make.common
sed: file ./confstatvUTcN2/subs-1.sed line 35: unterminated `s' command
config.status: creating Makefile
sed: file ./confstatvUTcN2/subs-1.sed line 35: unterminated `s' command
config.status: creating bimagemgr/Makefile
config.status: error: cannot find input file: bimagemgr/Makefile.in


  I tried the same on another machine running 7.0.4 and got the exact
same thing. (thought it might be a big with the latest version).

  I am currently running ubuntu 14.04 LTS server and need to get this
up and running soon.

  Any help would be greatly appreciated.


Hello,

In bacula-gui archive there is one webGUI tool named Baculum. Script
../configure is not used for Baculum installation.

For installing Baculum please look in next file:

bacula-gui-7.0.5/baculum/INSTALL

[Bacula-users] Error when trying to configure bacula-gui-7.0.5

2014-07-31 Thread Machiel
Hi Guys

 I have installed bacula7.0.5 from source as well as bacula-web 
today without any issues.

 I am however trying to install bacula-gui-7.0.5 , but when I run 
the configure script I get the following:


./configure --with-bacula=/installs/bacula-7.0.5/
configuring for Bacula source 7.0.5
01Jan13
29Feb12
4.8.4 (28 July 2014)
checking for true... /bin/true
checking for false... /bin/false
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for echo... /bin/echo
checking for ar... /usr/bin/ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for Operating System Distribution... done
configure: creating ./config.status
config.status: creating autoconf/Make.common
sed: file ./confstatvUTcN2/subs-1.sed line 35: unterminated `s' command
config.status: creating Makefile
sed: file ./confstatvUTcN2/subs-1.sed line 35: unterminated `s' command
config.status: creating bimagemgr/Makefile
config.status: error: cannot find input file: bimagemgr/Makefile.in


 I tried the same on another machine running 7.0.4 and got the exact 
same thing. (thought it might be a big with the latest version).

 I am currently running ubuntu 14.04 LTS server and need to get this 
up and running soon.

 Any help would be greatly appreciated.

Regards


--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] segmentation fault after server crash

2012-08-07 Thread Machiel van Veen
On Tuesday 07 August 2012 11:03:34 Jürgen Echter wrote:
 Hi,
 
 i have a serious problem since our server crashed yesterday.
 
 bacula 5.0.3
 
 if i want to backup my server locally, it works.
 
 if i want backup my remote boxes i get the following (in debug=15 mode)
 

I would attempt a catalog check/clean using dbcheck. I've had similar problems 
after a segfault which I resolved like this.

dbcheck -f -b -c /etc/bacula/bacula-dir.conf

Regards, Machiel. 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Automatic Storage Selection, repost.

2012-05-29 Thread Machiel van Veen
On Tuesday 29 May 2012 09:41:14 Christian Reiss wrote:
 
 So far we have 2 Backup-Storages on which 2 storage Daemons run. Is
 there a way to automagically make bacula select/ even out the data
 distribution across those two servers? Or do we have to do some (silly)
 configuration, like putting half the servers to storage A the rest to B?
 

Hi Christian,

There is no feature to do this automaticly in Bacula I have found. You would 
need to do this manualy in the configuration. 

Or you could run just one SD and try to find a solution to distribute the 
storage some other way. Something like GlusterFS might do the job.

Regards, Machiel.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to properly delete Clients and data from DB

2012-05-07 Thread Machiel van Veen
On Monday 07 May 2012 14:13:48 Martin Reissner wrote:
 Hello,
 
 I had to remove several clients (fds) from my bacula setup and I found
 no intructions on how to do this properly. Can someone please help me out?
 What I want to achieve is that all database entries related to those
 clients (clients, jobs, files,...) will be removed as this is quiet some
 data.
 My best guess was to delete those clients including
 jobs,filesets,schedules and also their dedicated storage devices and
 pools from the config files and then run dbcheck to remove orphaned
 entries but this didn't work as dbcheck reported no orphaned
 Clients/Jobs/.. but they are still in the DB when I check via SQL and
 the Clients are also still listed when prompted to select a Client in
 'restore' mode.
 
 I'm using Bacula 5.0.2 with Mysql on Debian Squeeze 64.
 
 Regards,
 
 Martin
 

Whenever I remove a client I delete all it's configuration and run reload in 
bconsole. Then remove the database entry manualy and run a dbcheck.

psql -c delete from client where name='client-name' bacula
dbcheck -f -b -c /etc/bacula/bacula-dir.conf

I use postgresql but the query should be the same for mysql.

Machiel.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] how to mount more than one volumes form the same storage at the same time

2012-01-04 Thread Machiel van Veen
On Wednesday 04 January 2012 10:32:02 Rushdhi Mohamed wrote:
 hi... a...lll
 
 i am having a problem to mount 2 or more volumes from the same storage
 device in bacula.
 
 i could mount the tape and one volume from NAS and run concurrent jobs.
 
 but when i try to mount tow different volumes from tow different pools in
 NAS storage i couldn't do it.
 
 why it is not possible to mountv2 different volumes from the same pool or
 from different pools but from the same storage device. when it allows
 rendam access is possible for file storage devices.
 
 if it is possible.. some one tell me how?
 
 Thanks in Advance
 

A device can only handle one volume at a time. You can configure another 
device on the SD pointing to the same Archive Device to use more than one 
volume at a time.

Machiel.

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to get notified about non-fatal errors

2011-12-19 Thread Machiel van Veen
On Monday 19 December 2011 12:01:59 Mario Moder wrote:
 Hi
 
 Looking through the docs and searching the mailing list, I haven't found
 a solution to my problem yet:
 
 A windows backup job is terminating normally, sometimes with a non-fatal
 error:
 
 Error: Read error on file d:/Backup/backup_201112190102.bak. ERR=Nicht
 gen\374gend Systemressourcen, um den angeforderten Dienst auszuf\374hren
 
 (FYI: I haven't found the cause for this yet, but it doesn't really
 matter with regard to Bacula, see below)
 
 I get a notification mail about this job because of a Messages resource:
 
 mailcommand = /usr/lib/bacula/bsmtp -h localhost -f \\(Bacula\) %r\
 -s \Bacula: %t %e of %n %l\ %r
 
 The problem is that the subject line for this says:
 
 Bacula: Backup OK of reha11-dbbak-job Full
 
 Buried in the body of the mail there is the error mentioned above and in
 the summary:
 
 Non-fatal FD errors:2
 SD Errors:  0
 FD termination status:  OK
 SD termination status:  OK
 Termination:Backup OK -- with warnings
 
 How do I get this termination code (or some other form of warning) in
 the subject line of the mail? Or how do I get the job to fail? I need
 the file from the non-fatal error be backuped or at least be loudly
 warned if it isn't fully backuped...
 

Hi Mario,

I use Procmail for this myself, it works perfectly, only mailing me relevant 
messages. Bacula sends the messages to bacula@localhost then forward any 
error/warning messages. I am 
using Postfix as a mail server.

- Configure the bacula messages

/etc/bacula/bacula-dir.conf

...
Messages {
Name = Standard
console = all, !skipped, !saved
append = /var/log/bacula/bacula.log = all, !skipped
mailcommand = /usr/sbin/bsmtp -h localhost -f \\(Bacula\) %r\ -s 
\Bacula daemon message\ %r 
mail = bacula@localhost = all
catalog = all
}
...

- Create a .forward for the bacula user

/var/lib/bacula/.forward

...
|exec /usr/bin/procmail -t
...

- Create a .procmailrc for the bacula user

/var/lib/bacula/.procmailrc

...
SHELL=/bin/sh
DEFAULT=/dev/null/
LOGFILE=/var/log/bacula/procmail.log
MAILDIR=/dev/null/
##LOGABSTRACT=all
VERBOSE=on
:0 B
* ! ^  Termination:Backup OK$
! bac...@example.com
:0
/dev/null
...

-- 
Machiel.

--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Maximum Concurrent Jobs

2010-10-29 Thread Machiel van Veen
On Friday 29 October 2010 03:16:13 pm Mark Gordon wrote:
 Hello my question is concerning the max concurrent jobs. The backups are
 going to disk on the file system. I'm running 5.02 and I have increased
 the director Maximum Concurrent Jobs to 4 as well as the client
 definition and storage definition within the director conf file. In the
 sd.conf file I have it set to 4 under device options:
 
 
 
  Device {
 
   Name = FileStorage
 
   Maximum Concurrent Jobs = 4
 
 
 
 Also note that each client has its own volumes which are separated by
 job. When under the console I manually tell it to run 3 jobs. The first
 job specified queues up and is given a job id. It finds the volume it
 needs to write to and continues in a normal fashion. When I slate the
 other 2 to run they are assigned job ids but they don't continue in the
 normal fashion. Ex
 
 2010-10-29 08:42:02 backup.vcity.com-dir JobId 350: No prior Full backup
 Job record found.
 
 2010-10-29 08:42:02 backup.vcity.com-dir JobId 350: No prior or suitable
 Full backup found in catalog. Doing FULL backup.
 
 2010-10-29 08:42:04 backup.vcity.com-dir JobId 350: Start Backup JobId
 350, Job=LaReynolds.2010-10-29_08.42.02_09
 
 
 
 3rd job manually ran states
 
 2010-10-29 08:53:23 backup.vcity.com-dir JobId 351: Start Backup JobId
 351, Job=BackupClient1.2010-10-29_08.53.21_11
 
 I maybe mistaken but isn't the purpose of simultaneous jobs so that I
 can write 4 different jobs to the storage pool at 1 time? I have a
 client that takes 36 hours for a full and the other jobs are backing up
 behind it waiting to finish. I'm trying to get around this issue.
 
 Thanks
 
Hi,

A SD device can only use one volume at a time. This could be the cause as all 
jobs use separate volumes. You can configure more devices to run these jobs 
concurrently.

Regards, Machiel.


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Maximum Concurrent Jobs

2010-10-29 Thread Machiel van Veen
On Friday 29 October 2010 03:46:36 pm Mark Gordon wrote:
 Can you have more than 1 SD device on the same system or would that just
 confuse it?
 
 Hi,
 
 A SD device can only use one volume at a time. This could be the cause
 
 as all
 
 jobs use separate volumes. You can configure more devices to run these
 
 jobs
 
 concurrently.
 
 Regards, Machiel.
 
 This mail was sent via Mail-SeCure System.
 

I have many devices configured on one SD, one device per group of servers. 
This way I can run many jobs at the same time, it works very well. 

Note I mean one Storage Daemon with multiple Device directives configured in 
bacula-sd.conf.

Machiel.

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Maximum Concurrent Jobs

2010-10-29 Thread Machiel van Veen
On Friday 29 October 2010 05:49:50 pm Mark Gordon wrote:
 Do you use tapes or other media?

I use disk, many devices when using tape would work but become a bit to 
expensive/unmanageable.

Machiel.

 
 Thanks
 Mark
 
 
 -Original Message-
 From: Machiel van Veen [mailto:m...@sentia.nl]
 Sent: Friday, October 29, 2010 10:04 AM
 To: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Maximum Concurrent Jobs
 
 
 I have many devices configured on one SD, one device per group of
 servers.
 This way I can run many jobs at the same time, it works very well.
 
 Note I mean one Storage Daemon with multiple Device directives
 configured in
 bacula-sd.conf.
 
 Machiel.
 
 
 This mail was sent via Mail-SeCure System.
 

-- 
Met vriendelijke groet,
Machiel van Veen

Sentia BV  -  supp...@sentia.nl  -  020-7505 733

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] VSS error event 12302

2010-10-01 Thread Machiel van Veen
On Thursday 30 September 2010 11:13:33 pm Jeroen van Meeuwen wrote:
 Machiel van Veen wrote:
  Hello list,
 
  I've noticed event 12302  being reported on several Windows 2003 servers.
 
  Volume Shadow Copy Service error: An internal inconsistency was detected
  in trying to contact shadow copy service writers.  Please check to see
  that the Event Service and Volume Shadow Copy Service are operating
  properly.
 
  Even though this does not seem to be a Bacula specific issue but rather a
  VSS issue. I would like to hear if anyone encountered this problem before
  and knows how to solve it.
 
  Also, bacula reports the backups to be OK even though the VSS error
  states the data is inconsistent. Does this mean the backups are actually
  fine or do I have corrupted files in the backup now?
 
 Actually the report says there was an inconsistency detected internally; it
 doesn't say the data backed up is inconsistent -even though it is not
  entirely unreasonable to assume the data is in fact inconsistent. For all
  we know, the internal inconsistency detected had to do with what error
  number to throw ;-)
 
 If in fact the data is inconsistent, VSS should fail since it's purpose is
 data consistency. That said, it should fail in ways that made everything on
 the data consuming side of VSS (such as Bacula) aware of such failure.
 
 FWIW, the symbolic name for this event seems to suggest that it is a write
 operation that fails, maintaining data consistency on the consuming side.
 
 Kind regards,
 
 Jeroen van Meeuwen
 

I ran some tests and noticed while backing up a single file with a test job 
the same errors came up while the file was perfectly fine after restoring it. 
I agree with your conclusion, the data in the backup should be fine. Either 
way I will try and fix the problem. There are quite a lot of possible 
solutions for me to try so it should be fine.

Thanks, Machiel.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] VSS error event 12302

2010-09-29 Thread Machiel van Veen
Hello list,

I've noticed event 12302  being reported on several Windows 2003 servers. 

Volume Shadow Copy Service error: An internal inconsistency was detected in 
trying to contact shadow copy service writers.  Please check to see that the 
Event Service and Volume Shadow Copy Service are operating properly.

Even though this does not seem to be a Bacula specific issue but rather a VSS 
issue. I would like to hear if anyone encountered this problem before and 
knows how to solve it.

Also, bacula reports the backups to be OK even though the VSS error states the 
data is inconsistent. Does this mean the backups are actually fine or do I 
have corrupted files in the backup now?

Thanks and best regards, Machiel.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] RPM on CentOS

2010-09-15 Thread Machiel van Veen
On Wednesday 15 September 2010 01:31:04 pm Hugo Letemplier wrote:
 Hi
 I am trying to find some RPM's for Bacula on CentOS 5.
 i found only for RedHat 7 can i use theses ones or do I need
 absolutelly to use CentOS RPMs?
 
 I know that mostly it works between RH and CentOS rpm's but i want to
 be sure to not have problems in the future.
 
 Could you tell me you experience about the capabality of the Bacula
 RH7 packages in CentOS 5 ?
 
 thanks
 
 Hugo

You should be able to build a package from the source rpm on the Bacula 
downloads page. This would be better to use, I build it for Postgresql on 
CentOS 5.5 using the following command.

sudo rpmbuild -bb --define build_postgresql=1 --define build_centos5 1 --
define rhel_version=501 bacula.spec

https://sourceforge.net/projects/bacula/files/rpms/5.0.3/bacula-5.0.3-1.src.rpm/download

Regards, Machiel.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] RPM on CentOS

2010-09-15 Thread Machiel van Veen
On Wednesday 15 September 2010 04:05:29 pm Joseph L. Casale wrote:
 sudo rpmbuild -bb --define build_postgresql=1 --define build_centos5 1
  -- define rhel_version=501 bacula.spec
 
 Not only do you not need to unpack the srpm to get the the spec to build
  from But you shouldn't at all build as root?
 
 Use a buidroot [1]:
 $ rpmbuild --rebuild --define build_centos5=1 --define build_mysql=1
  bacula-5.0.3-1.src.rpm Etc...
 
 Jlc

Yeah, you're right, the sudo should not be needed. I always install the source 
rpm rpm -ivh bacula-5.0.3-1.src.rpm and the check the spec manually and 
such, then build. 

Either way works, good to mention this.

Regards, Machiel.



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: restore windows path - traversal problem

2010-07-09 Thread Machiel van Veen
I had this problem myself, you need to make sure you state the path correctly 
in the Fileset. 

C:/path/to/dir

not

C:\path\to\dir

Machiel.

On Friday 09 July 2010 03:27:02 pm John Drescher wrote:
 Forwarding message for those who did not see the original on the mailing
  list..
 
 
 -- Forwarded message --
 From: duxbuz bacula-fo...@backupcentral.com
 Date: Wed, Jul 7, 2010 at 10:04 AM
 Subject: [Bacula-users]  restore windows path - traversal problem
 To: bacula-users@lists.sourceforge.net
 
 
 
 Hello
 
 I am trying to restore a particular file from a backed up windows system.
 
 When i run restore and i get dropped to $ prompt i can pwd c:\Program
 Files\Bacula/
 
 but i cannot traverse the directories with the 'cd' command.
 
 I did read:
 
 cd
 The cd command changes the current directory to the argument
 specified. It operates much like the Unix cd command. Wildcard
 specifications are not permitted.
 Note, on Windows systems, the various drives #40;c#58;, d#58;,
 ...#41; are treated like a directory within the file tree while in
 the file selection mode. As a consequence, you must do a cd c#58; or
 possibly in some cases a cd C#58; #40;note upper case#41; to get
 down to the first directory.
 
 
 This does not work though.
 
 Anyone help?
 
 Thanks.
 
 +--
 
 |This was sent by dux...@hotmail.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 
 +--
 
 
 
 ---
 --- This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-- 
Met vriendelijke groet,
Machiel van Veen

Sentia BV  -  supp...@sentia.nl  -  020-7505 733

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Jobs running twice?

2010-07-01 Thread Machiel van Veen
On Thursday 01 July 2010 03:21:23 pm Jon Schewe wrote:
 So I've got a job that takes over 48 hours to complete (I'm working on
 fixing this), but in the meantime I have a second job scheduled to
 happen daily writing to a different pool. 2 odd things happened:
 1) The second job couldn't run at the same time as a long job. This
 might be because bacula can't spool 2 jobs at once, or I've got to
 change something for this.

A device can only handle one volume at a time, even if you write to disk. 
Maybe the jobs on hold using a different volume have been set to the same 
device?

 2) So while the long job was running the daily job was paused until the
 long job finished (as I explained in 1), the really annoying thing was
 that a second daily job was put in the schedule queue even though there
 was one already scheduled and waiting, so when the long job finished,
 each of my clients was backed up twice again inside of 6 hours, rather
 than the second daily job just being dropped (which I would have
 expected). Is there a way to change this behavior?
 

Machiel.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula on SLES 11

2010-06-16 Thread Machiel van Veen
On Wednesday 16 June 2010 03:57:36 pm Alex Huth wrote:
 Still concerned about the process running under ?wrong? user. Hope there
 will be not any other problems i can´t see yet.
 

I have the bacula director and storage daemon running under the bacula user on 
CentOS. Only the FD needs to run as root. It would be better security if you 
change the user for the DIR and SD.

Best regards, Machiel.

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with prune/purge in Bacula

2010-06-10 Thread Machiel van Veen
On Thursday 10 June 2010 03:24:18 pm Area de Sistemas wrote:
 Perhaps a Bacula bug?
 Perhaps I don't understand the behaviour of retention parameters (I
 think this is less probable cause the problem appears to affect only
 some clients/copies)?
 
 Any ideas?
 
 Thanks in advance.
 

It seems you have another job for this client writing to a different pool with 
retention times set in the client directive. When this job runs it wil prune 
all jobs for the client. Regardless of any file or job retention periods set 
in pool directives.

The solution would be to create new client directives for every retention 
period you need and not put them in the pool directive as you do now. 

I found this out the hard way too, if you look for the topic Pool file/job 
retention not updating you should find my thread on this.

Machiel.

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Pool file/job retention not updating

2010-05-31 Thread Machiel van Veen
On Friday 28 May 2010 05:52:36 pm Martin Simmons wrote:
  On Fri, 28 May 2010 09:29:52 +0200, Machiel van Veen said:
 
  On Thursday 27 May 2010 08:36:05 pm Martin Simmons wrote:
On Thu, 27 May 2010 14:40:13 +0200, Machiel van Veen said:
   
But when I do show pool=Default in bconsole I get:
   
JobRetention=0 secs FileRetention=15 years 4 months 1 day 11 hours
46 mins 16 secs
  
   It is a bug in the show pool command in the current releases.  I don't
   know if it will be fixed in the next release because the latest source
   is no longer available.
  
   __Martin
 
  Thanks for your reply, however that does mean the having the file and job
  retention in the pool directive does not seem to function as I
  hoped/understood.
 
  I have a setup running two jobs for one client. Both jobs have their own
  pool with their own retention times. But when the job with the shortest
  retention time runs it also prunes jobs and file records from the other
  job with the longer retention times set.
 
  Is it correct I need to create two clients with their own configurations
  in order to have two jobs with diferent retention times? Pruning is done
  based on the client, not the job and/or pool?
 
 Setting up two clients is the only safe way to do it.
 
 The JobRetention and FileRetention in the pool do override the settings in
  the client, but not in a useful way.  The problem is that autopruning runs
  after every job, but it uses the retention time from the job's pool or
  client.  That single retention time is applied to all other backups for
  the client, even those from other pools.
 
 __Martin

Thanks for the reply, good to know I understand it correctly now. It is 
strange it works the way it does though. I see no added value to having 
job/file retention in the pool like this. 

The feature description and even comments in the source still suggest to me 
would work the way I understood before. Perhaps if a dev reads this they can 
make the documentation more clear, correct it.

Machiel.

--

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


Re: [Bacula-users] Pool file/job retention not updating

2010-05-28 Thread Machiel van Veen
On Thursday 27 May 2010 08:36:05 pm Martin Simmons wrote:
  On Thu, 27 May 2010 14:40:13 +0200, Machiel van Veen said:
 
  But when I do show pool=Default in bconsole I get:
 
  JobRetention=0 secs FileRetention=15 years 4 months 1 day 11 hours 46
  mins 16 secs
 
 It is a bug in the show pool command in the current releases.  I don't know
  if it will be fixed in the next release because the latest source is no
  longer available.
 
 __Martin

Thanks for your reply, however that does mean the having the file and job 
retention in the pool directive does not seem to function as I 
hoped/understood.

I have a setup running two jobs for one client. Both jobs have their own pool 
with their own retention times. But when the job with the shortest retention 
time runs it also prunes jobs and file records from the other job with the 
longer retention times set.

Is it correct I need to create two clients with their own configurations in 
order to have two jobs with diferent retention times? Pruning is done based on 
the client, not the job and/or pool?

Thank you, best regards,

Machiel.

--

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


[Bacula-users] Pool file/job retention not updating

2010-05-27 Thread Machiel van Veen
Hi list,

I've run into some retention trouble using bacula 5.0.1, setting them in the 
pool resource, It does not work...

I am using the configuration below:

Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 week
  File Retention = 1 week
  Job Retention = 1 week
  LabelFormat = Vol
  Maximum Volume Bytes = 4294967296
  Maximum Volumes = 100
}

But when I do show pool=Default in bconsole I get:

JobRetention=0 secs FileRetention=15 years 4 months 1 day 11 hours 46 mins 16 
secs

These values do not change, I have reloaded, restarted and updated the pool, 
the volume retention does update properly. I have tested on two seperate 
installs on several pools. 

Quite sure I am making a mistake, hopefully someone on this list can help me 
find out what is wrong.

Thanks and best regards,

Machiel.

--

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