Re: [Bacula-users] Windows fileset for multiple server with multiple drive letters

2010-03-01 Thread Koldo Santisteban
Sorry, me again
I submit the job log in order to see the warnings

zanburu.batz.es-dir JobId 55: Start Backup JobId 55,
Job=Backup.2010-03-02_08.34.19_22
zanburu.batz.es-dir JobId 55: Using Device "FileStorage"
posta.batz.coop-sd JobId 55: Volume "DefaultVolumes0009" previously
written, moving to end of data.
posta.batz.coop-sd JobId 55: Ready to append to end of Volume
"DefaultVolumes0009" size=4218470730
atxaragun JobId 55: Generate VSS snapshots. Driver="VSS Win 2003",
Drive(s)="CDEFG"
atxaragun JobId 55: Warning: Generate VSS snapshot of drive "e:\"
failed. VSS support is disabled on this drive.
atxaragun JobId 55: Warning: Generate VSS snapshot of drive "f:\"
failed. VSS support is disabled on this drive.
atxaragun JobId 55: Warning: Generate VSS snapshot of drive "g:\"
failed. VSS support is disabled on this drive.



On Tue, Mar 2, 2010 at 8:32 AM, Koldo Santisteban wrote:

> Good morning
>
> I have read all about bacula filesets and i don´t find a way to got this. I
> wish to know if exist any way to create a unique fileset to all my windows
> servers and got a full backup of all disk drives. Please keep in mind that
> some servers only has "C" drive, but another ones "C" and "E", another "C",
> "E" and "F"...
>
> I have created this fileset but ,using it, bacula finish jobs with warnings
> because it can not backup all data specified in the fileset...
>
>
>   FileSet {
>Name = "Windows Set"
>Enable VSS = yes
> Include {
> options
> {
>  Onefs = no
>  #Parches
>  WildFile = "$NtUninstall*"
>  WildDir = "$NtUninstall*"
>#Papelera
>WildDir = "*/RECYCLER"
>#Temporales
>WildDir = "*/tmp"
> WildDir = "*/temp"
> #Systemstates
>WildDir = "c:/SystemState"
>WildDir = "c:/System Volume Information"
>#VirtualMachines
>WildDir = "e:/Virtuals"
>WildFile = "*.vhd"
>WildFile = "*.vsv"
>WildFile = "*.vmdk"
>#Ficheros a excluir
>WildFile = "*pagefile.sys"
>WildFile = "*hiberfil.sys"
>WildFile = "*.log"
>
> exclude = yes
> }
> Exclude Dir Containing = me.exclude
> File = "c:/"
> File = "d:/"
> File = "e:/"
> File = "f:/"
> File = "g:/"
>}
>
>
>  }
>
> Regards and thanks in advance
>
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Windows fileset for multiple server with multiple drive letters

2010-03-01 Thread Koldo Santisteban
Good morning

I have read all about bacula filesets and i don´t find a way to got this. I
wish to know if exist any way to create a unique fileset to all my windows
servers and got a full backup of all disk drives. Please keep in mind that
some servers only has "C" drive, but another ones "C" and "E", another "C",
"E" and "F"...

I have created this fileset but ,using it, bacula finish jobs with warnings
because it can not backup all data specified in the fileset...


  FileSet {
   Name = "Windows Set"
   Enable VSS = yes
Include {
options
{
 Onefs = no
 #Parches
 WildFile = "$NtUninstall*"
 WildDir = "$NtUninstall*"
   #Papelera
   WildDir = "*/RECYCLER"
   #Temporales
   WildDir = "*/tmp"
WildDir = "*/temp"
#Systemstates
   WildDir = "c:/SystemState"
   WildDir = "c:/System Volume Information"
   #VirtualMachines
   WildDir = "e:/Virtuals"
   WildFile = "*.vhd"
   WildFile = "*.vsv"
   WildFile = "*.vmdk"
   #Ficheros a excluir
   WildFile = "*pagefile.sys"
   WildFile = "*hiberfil.sys"
   WildFile = "*.log"

exclude = yes
}
Exclude Dir Containing = me.exclude
File = "c:/"
File = "d:/"
File = "e:/"
File = "f:/"
File = "g:/"
   }


 }

Regards and thanks in advance
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Trouble creating RPM on Centos 5.4

2010-03-01 Thread Dave Augustus
Hello Listers,

I am a bacula user for about 6 months- currently running on version 3.

I am using the SRPM from the website to build BAT and running into a
challenge I can't get past.

The SRPM is from the website: bacula-bat-5.0.1-1.src.rpm

The error is with qt and the output is listed below :(  . I also have QT
installed at
/usr/local/Trolltech/Qt-4.4.3 . But it appears that this SRPM comes with
a new version. I also am not seeing any conflicts between the SRPM and
my QT version.

Thanks in advance,
Dave

make[1]: Leaving directory
`/home/rpmbuild/rpm/BUILD/bacula-5.0.1/src/filed'
==>Entering
directory /home/rpmbuild/rpm/BUILD/bacula-5.0.1/src/qt-console
make[1]: Entering directory
`/home/rpmbuild/rpm/BUILD/bacula-5.0.1/src/qt-console'
make[1]: *** No rule to make target `all'.  Stop.
make[1]: Leaving directory
`/home/rpmbuild/rpm/BUILD/bacula-5.0.1/src/qt-console'

  == Error in /home/rpmbuild/rpm/BUILD/bacula-5.0.1/src/qt-console
==

AND

+ mkdir -p /home/rpmbuild/rpm/tmp/bacula-bat-root/usr/bin
+ cd src/qt-console
+ make DESTDIR=/home/rpmbuild/rpm/tmp/bacula-bat-root install
make: *** No rule to make target `install'.  Stop.
error: Bad exit status from /home/rpmbuild/rpm/tmp/rpm-tmp.31269 (%
install)

<>--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Beginner Question

2010-03-01 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roderick A. Anderson wrote:
> Well actually I haven't even installed yet but wanted to see if what I 
> want to do is doable.
> 
> Searching/reading through the manual and website didn't turn up an 
> answer so I'm guessing I'm using the wrong terms.
> 
> I would like to "push" the backup to a non-LAN machine.  This would be 
> from a file server on the LAN with the back up on "backup" server at a 
> remote site.
> 
> In my reading I did see mention of using a ssh tunnel but as I 
> understand from the documentation there are parts of bacula that need to 
> initiate the contact with the client being backed up.  The director?
> (More reading in my future.)
> 
> So if this makes any sense at all could some one clue me with the right 
> terms I need to look for?

I think you may be looking at Item 9 on this list?
http://bacula.git.sourceforge.net/git/gitweb.cgi?p=bacula/bacula;a=blob;f=bacula/projects;hb=HEAD

If so, as far as I know, it is yet unimplemented. What you can do, I
believe, is to set up the tunnels from the client side and then have the
client connect to the director and order it to run the backup. I think
"FD initiate" is not a bad search term to start.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novos...@umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/CST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuMlB0ACgkQmb+gadEcsb6BXACglqOn4Z20J6BhX2EuOxafvN7D
G1IAoLe+WE6HHubV8pzE5W/cSoxYrRYm
=Vw2n
-END PGP SIGNATURE-
<>--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Building an 8TB SD

2010-03-01 Thread Robert Hartzell
On Mon, 2010-03-01 at 20:20 -0500, Dan Langille wrote:
> I'm in the early stages of building an SD which will hold 8TB.
> 
> This is where you should start:
> 
>http://dan.langille.org/2010/02/23/the-new-box-some-purchases/
> 
> Earlier: the hardware selection process
> 
> Later: some slight refinements.
> 
> Goal: A FreeBSD 8.x system with a ZFS filesystem on 5x2TB HDD.
> 
> Price: about $1800 I think.
> 
> I should be building it this weekend.
> 
> Yes: I could have built it cheaper.  The main goal: big and decently 
> reliable.
> 

I would double the ram (or more) if possible... zfs will love you for
it.



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Building an 8TB SD

2010-03-01 Thread Dan Langille
I'm in the early stages of building an SD which will hold 8TB.

This is where you should start:

   http://dan.langille.org/2010/02/23/the-new-box-some-purchases/

Earlier: the hardware selection process

Later: some slight refinements.

Goal: A FreeBSD 8.x system with a ZFS filesystem on 5x2TB HDD.

Price: about $1800 I think.

I should be building it this weekend.

Yes: I could have built it cheaper.  The main goal: big and decently 
reliable.

-- 
Dan Langille - http://langille.org/

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula version 5.0.1 compile error on Fedora 12

2010-03-01 Thread Scott Barninger
Hello all,

I installed Fedora 12 recently and tried to build for this release. This was 
the result:

Compiling guid_to_name.c
crypto.c: In function 'ASN1_OCTET_STRING* openssl_cert_keyid(X509*)':
crypto.c:333: error: invalid conversion from 'const X509V3_EXT_METHOD*' 
to 'X509V3_EXT_METHOD*'
crypto.c: In function 'CRYPTO_SESSION* crypto_session_new(crypto_cipher_t, 
alist*)':
crypto.c:1102: error: cannot convert 'unsigned char*' to 'EVP_PKEY_CTX*' for 
argument '1' to 'int EVP_PKEY_encrypt(EVP_PKEY_CTX*, unsigned char*, size_t*, 
const unsigned char*, size_t)'
crypto.c: In function 'crypto_error_t crypto_session_decode(const u_int8_t*, 
u_int32_t, alist*, CRYPTO_SESSION**)':
crypto.c:1226: error: cannot convert 'unsigned char*' to 'EVP_PKEY_CTX*' for 
argument '1' to 'int EVP_PKEY_decrypt(EVP_PKEY_CTX*, unsigned char*, size_t*, 
const unsigned char*, size_t)'
make[1]: *** [crypto.lo] Error 1
make[1]: *** Waiting for unfinished jobs
^CExecuting(%install): /bin/sh -e /var/tmp/rpm-tmp.v78FUL
make[1]: *** [fnmatch.lo] Error 1
make[1]: *** [guid_to_name.lo] Error 1
make: *** [all] Interrupt

There have been some other posts to the list on this subject so I wanted to 
share what we know at this point. Fedora 12 is using openssh-1.0 beta which 
unfortunately incorporates some incompatible changes to the library which are 
breaking the build. Kern has been in touch with the openssl team and we will 
be working on a patch to try to address this as soon as possible. In the 
meantime we are recommending that you build without openssl support if you 
want to upgrade. I will publish binary rpms this weekend without openssl 
support for Fedora 12. You may also edit the spec file in the currently 
published SRPM to remove openssl support by deleting the line --with-openssl 
from the configure statement.

Regards,
Scott

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Beginner Question

2010-03-01 Thread Roderick A. Anderson
Doug Forster wrote:

Thanks for the info Dave.

> Rod,
> 
> A method you could do to accomplish this task is to do the following:
> 1. Setup Bacula on the server on the lan. 
> 2. Run backups to local disk volumes. 
> 3. On the final backup run a run after script/command to copy all
> volumes of data to a remote site. 
> Note: I believe there is something about spooling data on local disk
> before writing to the storage device. You may not even need to have a
> script that pushes this data.
> 
> Something you want to keep in mind is that you want to have your backup
> server in the location where you have a many to one relationship. 
> The Bacula is split into 3 items which have various communication
> needs. 

This I feared.  Not as simple I as I'd hoped.  The site I'm looking it 
at currently copies several directories to an 'extra' hard drive, builds 
an ISO then burns it to a CD-RW (less than 640 MByte).  Business owner 
would like a simple off site backup option.

I will dive into the documentation and see how I can make it work.

Again thanks.


\\||/
Rod
-- 
> 
> Bacula Director - This manages and schedules clients / also initiates
> jobs and handles logging. 
> Bacula Storage Daemon - This is your storage device. Clients connect
> here to push data under the direction given by the Director. 
> Bacula File Daemon - This runs on your clients and simply waits for
> commands from the Director to include scripts to run. 
> Bconsole / Bacula Administration Tool (BAT) - tools to restore and
> monitor backups as they run. 
> 
> It is my current understanding of bacula that the following ports need
> to be open. 
> 
> Backup Server Director -> Bacula Data Base
> Backup Server Director -> Client File Daemon 9102 
> Clients File Daemon -> Backup Storage 9103
> Backup Server Bconsole/BAT -> Backup Director 9101
> 
> Doug Forster
> 
> On Mon, 2010-03-01 at 13:29 -0800, Roderick A. Anderson wrote:
>> Well actually I haven't even installed yet but wanted to see if what I 
>> want to do is doable.
>>
>> Searching/reading through the manual and website didn't turn up an 
>> answer so I'm guessing I'm using the wrong terms.
>>
>> I would like to "push" the backup to a non-LAN machine.  This would be 
>> from a file server on the LAN with the back up on "backup" server at a 
>> remote site.
>>
>> In my reading I did see mention of using a ssh tunnel but as I 
>> understand from the documentation there are parts of bacula that need to 
>> initiate the contact with the client being backed up.  The director?
>> (More reading in my future.)
>>
>> So if this makes any sense at all could some one clue me with the right 
>> terms I need to look for?
>>
>>
>> TIA,
>> Rod
> 


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Beginner Question

2010-03-01 Thread Doug Forster
Rod,

A method you could do to accomplish this task is to do the following:
1. Setup Bacula on the server on the lan. 
2. Run backups to local disk volumes. 
3. On the final backup run a run after script/command to copy all
volumes of data to a remote site. 
Note: I believe there is something about spooling data on local disk
before writing to the storage device. You may not even need to have a
script that pushes this data.

Something you want to keep in mind is that you want to have your backup
server in the location where you have a many to one relationship. 
The Bacula is split into 3 items which have various communication
needs. 

Bacula Director - This manages and schedules clients / also initiates
jobs and handles logging. 
Bacula Storage Daemon - This is your storage device. Clients connect
here to push data under the direction given by the Director. 
Bacula File Daemon - This runs on your clients and simply waits for
commands from the Director to include scripts to run. 
Bconsole / Bacula Administration Tool (BAT) - tools to restore and
monitor backups as they run. 

It is my current understanding of bacula that the following ports need
to be open. 

Backup Server Director -> Bacula Data Base
Backup Server Director -> Client File Daemon 9102 
Clients File Daemon -> Backup Storage 9103
Backup Server Bconsole/BAT -> Backup Director 9101

Doug Forster

On Mon, 2010-03-01 at 13:29 -0800, Roderick A. Anderson wrote:
> Well actually I haven't even installed yet but wanted to see if what I 
> want to do is doable.
> 
> Searching/reading through the manual and website didn't turn up an 
> answer so I'm guessing I'm using the wrong terms.
> 
> I would like to "push" the backup to a non-LAN machine.  This would be 
> from a file server on the LAN with the back up on "backup" server at a 
> remote site.
> 
> In my reading I did see mention of using a ssh tunnel but as I 
> understand from the documentation there are parts of bacula that need to 
> initiate the contact with the client being backed up.  The director?
> (More reading in my future.)
> 
> So if this makes any sense at all could some one clue me with the right 
> terms I need to look for?
> 
> 
> TIA,
> Rod


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Beginner Question

2010-03-01 Thread Roderick A. Anderson
Well actually I haven't even installed yet but wanted to see if what I 
want to do is doable.

Searching/reading through the manual and website didn't turn up an 
answer so I'm guessing I'm using the wrong terms.

I would like to "push" the backup to a non-LAN machine.  This would be 
from a file server on the LAN with the back up on "backup" server at a 
remote site.

In my reading I did see mention of using a ssh tunnel but as I 
understand from the documentation there are parts of bacula that need to 
initiate the contact with the client being backed up.  The director?
(More reading in my future.)

So if this makes any sense at all could some one clue me with the right 
terms I need to look for?


TIA,
Rod
-- 

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backing up > 100 servers

2010-03-01 Thread Arno Lehmann
Hello,

27.02.2010 19:08, Stan Meier wrote:
> * Arno Lehmann :
>> 27.02.2010 14:46, Stan Meier wrote:
>>> 1. Keeping configuration sane: With more than 120 servers, we need to
>>> find a way to keep the configuration files readable. Our servers all
>>> follow some naming scheme, for example, we got "appserver01" through
>>> "appserver08" or "webcache01" through "webcache04". We think we should
>>> split client configurations for each server group, so the file
>>> "clientdefs/appserver.conf" would define all appserver0X clients.
>>> Furthermore, most of those servers will need a default job performed
>>> (/etc, /root, /opt and so on). While it's easy to reuse a "JobDefs"
>>> stanza to actually define all those jobs, isn't there any way to
>>> "group" those servers? Do we really have to define more than 120 jobs,
>>> one for each server?
>> The way to go, in my opinion, is to create the actual configuration 
>> dynamically - you can include script output into the configuration 
>> *anywhere*... now use a script that creates the actual configuration 
>> dynamically, starting with a template where you insert the client name.
> 
> While you are right and creating a configuration based on scripts is
> quite easy (and has added benefits, for example that you dan define
> one file pool per server group), we still have to deal with 120 backup
> jobs.
> 
> But, since you didn't jump on that part of my question, I presume
> there is no solution to that?

In my opinion, there's no solution because there's no problem :-)

120 jobs - plus, in the worst case, 120 copy jobs - are no problem to 
Bacula. You'll need to tweak concurrency, priorities, and all the 
(new) directives managing concurrency of several instances of a single 
job a bit, but basically just scheduling all you jobs at the same 
time, with the same priority, and letting them just should work well. 
For the copy jobs, I'd recommend (as others already did) to use a 
different priority. I'd also recommend to use a sqlquery as selection 
scheme.

>>> 2. Backup availability: One plan would be to use a large part of the
>>> 24TB available as a FilePool (or several). Each job would then write
>>> it's data to that pool. A Copy job could copy the data to tape later
>>> on - with the advantage that restores of recent data would be quite
>>> fast since they would still be sitting on disk. Before running the
>>> backup the next day, we would simply recycle those file volumes. Is
>>> that a reasonable strategy?
>> Yes. Properly set up, that's a very reasonable approach. You'll need 
>> to understand retention times and how to select jobs for migration in 
>> detail.
> 
> I see several things here which we will have to look at. Please
> correct me if I'm wrong or if I forgot anything:
> 
> 1. Concurrency: We will need to investigate all the different places
> in Bacula where job concurrency, concurrent pool/storage usage and
> connection limits are defined and adjust them to "fit together" as
> well as optimize them to the I/O operations limit of our raid storage.

Yes. This is probably easier than it looks right now, because you will 
find that having one job per client, and as many jobs per storage 
daemon as possible, will serve you best. So you only have to find out 
what your SD can manage reasonably.

> 2. Scheduling: Ideally, the copy job would start as soon as all the
> backup jobs have finished. But since the Schedule resource does not
> allow references to Job names, we are pretty much screwed in that
> department and will probably have to resort to a fixed schedule.

Schedule, for example, an hour after the backup job and use a 
different priority.

> 3. Job selection: You already pointed that one out. Would it be as
> easy as just selecting all uncopied jobs from a given pool?

As mentioned above, I prefer to use a hand-tailored sql query.

For example, in my office, I'm doing monthly copies of the latest full 
backups to tape. I select all successfully finished full backups that 
were started less than four weeks ago. The regular full backups are 
scheduled to happen during the first week of each month, and the copy 
job is scheduled to run the second week of the month.

Works like a charm, but I would refine things a bit if I had to manage 
more than my 10-20 jobs.

> Since all
> volumes in the pool are recycle before backup starts (or while it is
> running), naturally, the only uncopied jobs would be those that were
> written to disk recently.

Sounds reasonable. Depending on the available disk space for you, you 
might find that keeping as many jobs on disk as possible is more 
convenient, and then you couldn't rely on the above assumption anymore.

> So, for now, our backup plan would be something like:
> 
> 1. Start actual backup
> 1.1 Start backup jobs in parallel
> 1.2 (Possibly erase all used volumes in a given pool)
> 1.3 Get data from clients, write to File pools
> 1.4 wait until all backup operations have finished
> 2. Copy all recent jobs to 

Re: [Bacula-users] Concurrent backup to multiple disk volumes

2010-03-01 Thread Josh Fisher

On 3/1/2010 1:24 PM, Stan Meier wrote:
> Hi there,
>
> I just noticed that (for disk backups) by
>
> 1. (director) specifying multiple "Device = " lines in the "Storage" section 
> that
> is referenced by a given (single!) Pool and
> 2. (storage daemon) setting "Maximum Concurrent Jobs = 1" per device
>
> Bacula does perform a true parallel backup - writing at most one job
> at the same time to a volume, using as many (disk) volumes as there
> are devices available.
>
> First, is that working as intended, and second, does that eliminate
> the need for virtual disk changers and data spooling for disk backups?
>
>

Back on 2009-09-27 Kern mentioned on the bacula-devel list that this was 
possible, but left undocumented because it is not ready for production 
use. I haven't noticed it being mentioned in the "New Features in x" 
sections of the docs, so I assume that is still the case, and it is a 
"use at your own risk" sort of feature.

> Thanks
> Stan
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Understanding "Action On Purge = Truncate"

2010-03-01 Thread Marc Schiffbauer
Hi all,

I am using bacula 5.0.1 and I am trying to use the new "Action On
Purge = Truncate" feature - without success so far :-/

Like I understood it: If i run a "purge volume=Ftp-0033" and
Action On Purge = Truncate is set for that pool, the SD should set
the file to 0 bytes on disk, right?

This is my pool ressource:

Pool {
  Name = FileFtp
  Storage = somehost-sd
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 4 months
  Action On Purge = Truncate
  Label Format = "FtpVol-"
  Maximum Volume Bytes = 1073639424
  Maximum Volumes = 50
}

+ I have updated the pool from the ressource.
  (update pool=...)

+ I have read the docs at 
  http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_5_0_1.html
  and tried the commands that are listed there which should truncate all 
volumes 
  with status "Purged":

  *update volume=Ftp-0033 ActionOnPurge=Truncate
  *purge volume action=truncate storage=FileFtp allpools


I tried several things but my disk files never get truncated when I
purge a volume.

This is the device ressource from the bacula-sd.conf:

Device {
  Name = FtpFileStorage
  Device Type = File
  Media Type = File
  Archive Device = /mnt/backup

  Requires Mount = Yes
  Mount Point = /mnt/backup
  Mount Command = "/usr/bin/curlftpfs -o allow_root [snip] %m"
  Unmount Command = "/usr/bin/fusermount -u %m"

  Label Media = Yes # lets Bacula label unlabeled media
  Random Access = Yes
  Automatic Mount = Yes # mount new volumes automatically
  Removable Media = No
}


Any hints someone?

What can I check? What might be wrong?



TIA
-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] What diffing algorithm does Bacula use for incremental backups?

2010-03-01 Thread Marc Schiffbauer
* Richard Hartmann schrieb am 01.03.10 um 18:08 Uhr:
> Hi all,
> 
> I have been wondering what algorithm is used to detect changed files for
> incremental backups. The answer will be in between atime & full copy and
> binary diffs, but I'd like to be sure :)

This is configurable and well documented on bacula.org
(The FileSet Resource)

See mtimeonly option or accurate backup for example.

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Getting size information for files in an incremental backup?

2010-03-01 Thread Marc Schiffbauer
* Richard Hartmann schrieb am 01.03.10 um 18:10 Uhr:
> Hi all,
> 
> the other question which has been haunting me is if there is any way to
> determine which files within a given incremental backup are the heavy
> hitters. I have several incremental backups which are way too large imo
> and would want to track down the cause so I could fix it.

You can do an estimate with file listing in the console. There you
can see every file that will be backed up.

-Marc
-- 
8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Concurrent backup to multiple disk volumes

2010-03-01 Thread Stan Meier
Hi there,

I just noticed that (for disk backups) by

1. (director) specifying multiple "Device = " lines in the "Storage" section 
that
   is referenced by a given (single!) Pool and
2. (storage daemon) setting "Maximum Concurrent Jobs = 1" per device

Bacula does perform a true parallel backup - writing at most one job
at the same time to a volume, using as many (disk) volumes as there
are devices available.

First, is that working as intended, and second, does that eliminate
the need for virtual disk changers and data spooling for disk backups?


Thanks
Stan

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Pool with AutoPrune=no

2010-03-01 Thread Tino Schwarze
Hi there,

in an attempt to prevent automatic volume recycling in a pool (we manage
recycling manually), I've set Recycle=no and AutoPrune=no in the pool's
definition.

Now I found that the jobs don't run because they do not find a useable
volume even though the Scratch pool has enough recycleable volumes.

Am I correct that I should set Recycle=no and AutoPrune=yes instead?
(The volumes will be updated from pool upon removal from the
autoloader.)

Thanks,

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.tisc.de

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Getting size information for files in an incremental backup?

2010-03-01 Thread Steve Polyack
On 03/01/10 12:10, Richard Hartmann wrote:
> Hi all,
>
> the other question which has been haunting me is if there is any way to
> determine which files within a given incremental backup are the heavy
> hitters. I have several incremental backups which are way too large imo
> and would want to track down the cause so I could fix it.
>
>
I do not believe file sizes are tracked in the Bacula database unless 
possibly if you have Accurate backup/verify jobs enabled based on size.  
What I have done in the past is to do a 'list filed jobid=' on the 
console, dumping the output to a file.  You can then use the file with 
some quick shell scripting on the client to get a size for each file 
backed up.


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Exabyte Storageloader

2010-03-01 Thread John Drescher
On Mon, Mar 1, 2010 at 12:01 PM, David Koski  wrote:
> Thank you Brian.  I have not had success in finding the configuration form
> archives.  I would appreciate if you would send it to me.
>

I found it in my mail. Google search for

"bacula Fwd: Here you go!!"

John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Getting size information for files in an incremental backup?

2010-03-01 Thread Richard Hartmann
Hi all,

the other question which has been haunting me is if there is any way to
determine which files within a given incremental backup are the heavy
hitters. I have several incremental backups which are way too large imo
and would want to track down the cause so I could fix it.


Thanks a lot,
Richard Hartmann

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] What diffing algorithm does Bacula use for incremental backups?

2010-03-01 Thread Richard Hartmann
Hi all,

I have been wondering what algorithm is used to detect changed files for
incremental backups. The answer will be in between atime & full copy and
binary diffs, but I'd like to be sure :)


Thanks,
Richard Hartmann

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Exabyte Storageloader

2010-03-01 Thread David Koski
Thank you Brian.  I have not had success in finding the configuration form 
archives.  I would appreciate if you would send it to me.

Regards,
David Koski
dko...@sutinen.com

On Monday 01 March 2010, Brian Debelius wrote:
> Hi,
>
> Search the archives.  I have posted working configurations.  I'd email
> them to you now but I do not have them at the moment.  If you can't find
> them, let me know and I will get them to you.  There are mtx-changer
> modifications as well.
>
> brian-
>
> On 2/27/2010 2:53 AM, David Koski wrote:
> > I'm looking for storage daemon configuration for an Exabyte Packetloader
> > (Storageloader) VXA-2.  Currently my Device resource looks like this:
> >
> > Device {
> >  Name = "Exabyte_VXA-2"
> >  Media Type = "VXA-2"
> >  Archive Device = /dev/nst0
> >  Device Type = Tape
> >  Autochanger = yes   # if yes, must specify Autochanger resource
> >  Alert Command = "/bin/sh -c '/usr/sbin/tapeinfo -f %c | grep
> > TapeAlert'" Maximum Changer Wait = 30 minutes
> >  Maximum Rewind Wait = 20 minutes
> >  AlwaysOpen = yes
> >  #Maximum Open Wait = 25 minutes
> >  RemovableMedia = yes
> >  Random Access = no
> > }
> >
> > ..but I am getting errors when the tapes change automatically:
> >
> > 26-Feb 23:20 backup-mdlcpa-sd JobId 13: Error: block.c:568 Write error at
> > 25:6568 on device "Exabyte_VXA-2" (/dev/nst0). ERR=Input/output error.
> > 26-Feb 23:20 backup-mdlcpa-sd JobId 13: Error: Backspace file at EOT
> > failed. ERR=Input/output error 26-Feb 23:20 backup-mdlcpa-sd JobId 13:
> > End of medium on Volume "A004" Bytes=24,952,209,408 Blocks=386,783 at
> > 26-Feb-2010 23:20. 26-Feb 23:20 backup-mdlcpa-sd JobId 13: 3307 Issuing
> > autochanger "unload slot 5, drive 0" command.
> >
> > Regards,
> > David Koski
> > da...@kosmosisland.ccom
> >
> > -
> >- Download Intel® Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] what strategy for backing up files only once?

2010-03-01 Thread Ralf Gross
Gavin McCullagh schrieb:
> Hi,
> 
> On Fri, 26 Feb 2010, Ralf Gross wrote:
> 
> > I'm still thinking if it would be possible to use bacula for backing
> > up xxx TB of data, instead of a more expensive solution with LAN-less
> > backups and snapshots.
> > 
> > Problem is the time window and bandwith.
> 
> VirtualFull backups be a partial solution to your problem.   We have a
> laptop which we get very short backup time windows for -- never enough time
> to run a full backup.  Instead, we run incrementals (takes about 20% of the
> time) and then run virtualfull backups to consolidate them.  We never need
> to run real full backups.

Hm, I've to look into VirtualFull backups. But given that a single
file set will be ~10 TB, I'll still need the disk space twice as big (
I think).

Ralf

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Exabyte Storageloader

2010-03-01 Thread Brian Debelius
Hi,

Search the archives.  I have posted working configurations.  I'd email 
them to you now but I do not have them at the moment.  If you can't find 
them, let me know and I will get them to you.  There are mtx-changer 
modifications as well.

brian-


On 2/27/2010 2:53 AM, David Koski wrote:
> I'm looking for storage daemon configuration for an Exabyte Packetloader
> (Storageloader) VXA-2.  Currently my Device resource looks like this:
>
> Device {
>  Name = "Exabyte_VXA-2"
>  Media Type = "VXA-2"
>  Archive Device = /dev/nst0
>  Device Type = Tape
>  Autochanger = yes   # if yes, must specify Autochanger resource
>  Alert Command = "/bin/sh -c '/usr/sbin/tapeinfo -f %c | grep TapeAlert'"
>  Maximum Changer Wait = 30 minutes
>  Maximum Rewind Wait = 20 minutes
>  AlwaysOpen = yes
>  #Maximum Open Wait = 25 minutes
>  RemovableMedia = yes
>  Random Access = no
> }
>
> ..but I am getting errors when the tapes change automatically:
>
> 26-Feb 23:20 backup-mdlcpa-sd JobId 13: Error: block.c:568 Write error at 
> 25:6568 on device "Exabyte_VXA-2" (/dev/nst0). ERR=Input/output error.
> 26-Feb 23:20 backup-mdlcpa-sd JobId 13: Error: Backspace file at EOT failed. 
> ERR=Input/output error
> 26-Feb 23:20 backup-mdlcpa-sd JobId 13: End of medium on Volume "A004" 
> Bytes=24,952,209,408 Blocks=386,783 at 26-Feb-2010 23:20.
> 26-Feb 23:20 backup-mdlcpa-sd JobId 13: 3307 Issuing autochanger "unload slot 
> 5, drive 0" command.
>
> Regards,
> David Koski
> da...@kosmosisland.ccom
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula asking autochanger for a volume it knows is already in use

2010-03-01 Thread Joseph Dickson
Greetings..

Fairly new to Bacula, and am using a fully disk based backup approach.  I have 
a virtual autochanger set up (using a custom autochanger script) and have ten 
virtual drives set up.  Each drive has maximum concurrent jobs set to 1, so 
that Bacula will reach for a new volume rather than interleave data.  Things 
seem to be working fairly well, except that Bacula seems to be making strange 
decisions as to which volumes to use for which jobs, and I don't understand 
why.  It appears to be deciding to use a volume that it knows is in use on 
another drive.  See the log output below:

01-Mar 01:30 zztop.ajboggs.net-dir JobId 31: Start Backup JobId 31, 
Job=backup-fullset-rush.ajboggs.net.2010-03-01_01.30.00_42
01-Mar 01:30 zztop.ajboggs.net-dir JobId 31: Using Device "changer0_drive0"
01-Mar 01:30 zztop.ajboggs.net-sd JobId 31: 3307 Issuing autochanger "unload 
slot 4, drive 0" command.
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: Warning: Volume "bvol_OnSite01-009" 
wanted on "changer0_drive0" (/bacula/changer0/drives/drive0) is in use by 
device "changer0_drive2" (/bacula/changer0/drives/drive2)
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: 3301 Issuing autochanger "loaded? 
drive 0" command.
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: 3302 Autochanger "loaded? drive 0", 
result: nothing loaded.
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: Warning: Volume "bvol_OnSite01-009" 
not on device "changer0_drive0" (/bacula/changer0/drives/drive0).
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: Marking Volume "bvol_OnSite01-009" 
in Error in Catalog.
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: 3301 Issuing autochanger "loaded? 
drive 0" command.
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: 3302 Autochanger "loaded? drive 0", 
result: nothing loaded.
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: Warning: Volume "bvol_OnSite01-009" 
not on device "changer0_drive0" (/bacula/changer0/drives/drive0).
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: Marking Volume "bvol_OnSite01-009" 
in Error in Catalog.
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: Warning: mount.c:227 Open device 
"changer0_drive0" (/bacula/changer0/drives/drive0) Volume "bvol_OnSite01-009" 
failed: ERR=dev.c:549 Could not open: /bacula/changer0/drives/drive0, ERR=No 
such file or directory

01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: 3301 Issuing autochanger "loaded? 
drive 0" command.
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: 3302 Autochanger "loaded? drive 0", 
result: nothing loaded.
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: 3304 Issuing autochanger "load slot 
5, drive 0" command.
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: 3305 Autochanger "load slot 5, 
drive 0", status is OK.
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: Volume "bvol_OnSite01-005" 
previously written, moving to end of data.
01-Mar 01:31 zztop.ajboggs.net-sd JobId 31: Ready to append to end of Volume 
"bvol_OnSite01-005" size=133733782

A couple things about the log output doesn't make any sense to me - first, why 
is Bacula deciding to use a volume which is in use in another drive, and 
second, why is it complaining that the volume is not mounted on the drive that 
it's chosen for this job when it never asked the autochanger to unload it from 
the drive it was in, and then load it into the drive it wanted?

Any pointers would be appreciated..

Thanks,

Joe

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] make_catalog permission error with PostgreSQL after upgrade.

2010-03-01 Thread Andrea Venturoli
Hello.

I recently upgraded a 3.x/FreeBSD/PGSQL installation to 5.0.

Since then I could no longer backup the catalog, since the bacula user 
had no permission on some tables.

I solved this with:

grant all on pathhierarchy to bacula;
grant all on pathvisibility to bacula;


Though I'm wondering whether these table are no longer needed or if the 
upgrade/grant script missed them...


  bye
av.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 client - can't backup folder from network disk

2010-03-01 Thread John Drescher
On Mon, Mar 1, 2010 at 8:09 AM, John Drescher  wrote:
> On Mon, Mar 1, 2010 at 2:03 AM, Vlad23  wrote:
>>
>> I did how you sad:
>> 1) logged by user domain\Administrator
>> 2) mapped network disk z: as \\server\folder bu current user
>> 3) check that Bacula File Daemon started by domain\Administrator user
>
> Bacula is probably running as the local system user or the local
> administrator. These are not equivalent to the domain administrator.

I believe the solutions are to backup the network folder on a linux
server with the network drive mounted in the linux filesystem. Or add
a client run before job that mounts the drive letter. Search this list
because the question has been asked dozens of times.

John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 client - can't backup folder from network disk

2010-03-01 Thread John Drescher
On Mon, Mar 1, 2010 at 2:03 AM, Vlad23  wrote:
>
> I did how you sad:
> 1) logged by user domain\Administrator
> 2) mapped network disk z: as \\server\folder bu current user
> 3) check that Bacula File Daemon started by domain\Administrator user

Bacula is probably running as the local system user or the local
administrator. These are not equivalent to the domain administrator.

John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backing up > 100 servers

2010-03-01 Thread Alan Brown

>> We don't backup whole servers, there's no point. So, yes, 120 systems
>> may seem like a lot, but for a lot of those, it will only be /etc,
>> /opt, /root and perhaps the crontabs.
> 
> Ah, that makes sense. I am using a similar minimal backup for some of my 
> remote Web servers (I am also backing up web sites, home directories etc.). 
> One additional thing I am backing up: I run "rpm -qa" into a file (as a 
> Client Run Before Job) and back up that file. That way, I know which packages 
> I need during disaster recovery.
> 

If bandwidth or time windows are an issue then virtual full backups 
would help a lot.





--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] migrating mysql to postfix.

2010-03-01 Thread JanJaap Scholing

Hi Bruno,

 

Some questions about your migration from mysql to postgres.

 


> We have done this with the help of this simple and stupid script
> Be sure to have the exact same level of database ( we have upgraded a 2x 
> version to a 3x version)
> so we put a new temp mysql bacula db, upgrade it to the level 10 and make the 
> dump from there.


The script noted below is used on a level 10 bacula database?

 

I thought that bacula 3x was a level 11 database?

 

Should this script work on a level 11 database?

 

After the migration to postgres did you also resequence the tables as noted in 
the manual of bacula:

 

http://www.bacula.org/manuals/en/catalog/catalog/Installi_Configur_PostgreS.html#SECTION0045

 

 

 

Thanks and regards

 

Jan Jaap

 

 

 

 

 

 

 

 

 

> 
> Hope this help you a bit, (it's certainly too late 4 days later)
> 
> #!/bin/sh
> 
> TABLES="BaseFiles CDImages Client Counters Device File FileSet Filename Job 
> JobHisto JobMedia Location LocationLog Log Media
> MediaType Path Pool Status Storage UnsavedFiles Version"
> 
> for TBL in $TABLES
> do
> echo "Saving Mysql $TBL";
> mysqldump -t -c \
> --compatible=postgresql \
> --skip-quote-names \
> --skip-opt --disable-keys --lock-tables \
> bacula $TBL > $TBL.sql
> # comment below lines if you get some errors
> # We don't do this as we must change some wrong record
> # like a date end having a -00-00 value
> #
> echo "Import postgresql $TBL"
> psql -d bacula -U bacula < $TBL.sql
> echo '--end--'
> echo ""
> done
> echo '-- Finish ! --'
> 
> 
> 
> -- 
> 
> Bruno Friedmann

  
_
Een netbook met Windows 7? Hier vind je alles dat je moet weten.
www.windows.nl/netbook--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula: enable graphical user intefaces!

2010-03-01 Thread eugene ngontang
Hi all!

I have my unbuntu 9.10 where I want to install bacula, and deploy clients on my 
computers in my network.

Since the bacula version from source is 2.4.4; I Decided to compile bacula 
5.0.0 from source.

When compiling I just use the with-mysql option to install all bacula 
components and not only the client; the installation went fine. But I didn't 
use neither enable-bwx-console, nor enable-gnome, nor enable-tray-monitor. The 
result is that all bacula services is running fine, I an start and stop bacula 
without problem. However I have no tray monitor, no graphical console, no 
bacula systray in my computer; and then I can't see backup activities in my 
network.

I want to use these tools. From "src" folder in my bacxula directory I'm trying 
to compile wx-console, it doesn't work; even qt-console. 

I've compiled bacula-gui package and I'm willing now to install the web console 
but I want also to use the gnome or wx console. 

So Please, I want you guys to help me setting up my bacula graphical 
interfaces, Is it possible to do that since bacula is already installed and 
running on my server? Or should I recompile bacula?

Please help complete my installation to sweet with my needs and let me start my 
backups.

Here is attached a file with the last lines of my bacula details installation.


Thanks for advance,


Eugène



  Configuration on Sat Feb 27 14:09:48 WAT 2010:

   Host:i686-pc-linux-gnu -- ubuntu 9.10
   Bacula version:  Bacula 5.0.0 (26 January 2010)
   Source code location:.
   Install binaries:/sbin
   Install libraries:   /usr/lib
   Install config files:/etc/bacula
   Scripts directory:   /etc/bacula
   Archive directory:   /tmp
   Working directory:   /var/bacula/working
   PID directory:   /var/run
   Subsys directory:/var/run/subsys
   Man directory:   ${datarootdir}/man
   Data directory:  /usr/share
   Plugin directory:/usr/lib
   C Compiler:  gcc 4.4.1-4ubuntu9)
   C++ Compiler:/usr/bin/g++ 4.4.1-4ubuntu9)
   Compiler flags:   -g -O2 -Wall -fno-strict-aliasing -fno-exceptions 
-fno-rtti
   Linker flags:
   Libraries:   -lpthread -ldl
   Statically Linked Tools: no
   Statically Linked FD:no
   Statically Linked SD:no
   Statically Linked DIR:   no
   Statically Linked CONS:  no
   Database type:   MySQL
   Database port:
   Database lib:-L/usr/lib -lmysqlclient_r -lz
   Database name:   bacula
   Database user:   bacula

   Job Output Email:r...@localhost
   Traceback Email: r...@localhost
   SMTP Host Address:   localhost

   Director Port:   9101
   File daemon Port:9102
   Storage daemon Port: 9103

   Director User:
   Director Group:
   Storage Daemon User:
   Storage DaemonGroup:
   File Daemon User:
   File Daemon Group:

   SQL binaries Directory   /usr/bin

   Large file support:  yes
   Bacula conio support:no
   readline support:no
   TCP Wrappers support:no
   TLS support: yes
   Encryption support:  yes
   ZLIB support:yes
   enable-smartalloc:   yes
   enable-lockmgr:  no
   bat support: no
   enable-gnome:no
   enable-bwx-console:  no
   enable-tray-monitor: no
   client-only: no
   build-dird:  yes
   build-stored:yes
   Plugin support:  yes
   ACL support: no
   XATTR support:   yes
   Python support:  no
   Batch insert enabled:yes


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Bacula GDB traceback of bacula-dir on zanburu.batz.es

2010-03-01 Thread Koldo Santisteban
Good morning, on friday i have upated my bacula server from 5.00 to 5.01
(centos 5.4). All was working fine until this weekend that i receive this
email from my  bacula server. I try to connecto to it and was impossible , i
have to restart all bacula services. Any idea?? Is the first time that i
have a similar problem, with bacula 3.0.3 and bacula 5.00 all went
perfectlyAll weekend jobs have been missing...

Thanks in advance

Koldo

- Forwarded Message -
From: ksantiste...@batz.coop
To: ksantiste...@batz.coop
Sent: Sunday, February 28, 2010 7:14:30 PM
Subject: Bacula GDB traceback of bacula-dir on zanburu.batz.es

[Thread debugging using libthread_db enabled]
[New Thread 0x2b8fbb0d8a10 (LWP 3099)]
[New Thread 0x49c27940 (LWP 3777)]
[New Thread 0x49226940 (LWP 3776)]
[New Thread 0x46a22940 (LWP 3771)]
[New Thread 0x41a1a940 (LWP 3104)]
[New Thread 0x41019940 (LWP 3103)]
0x00353ee0dfe1 in nanosleep () from /lib64/libpthread.so.0
$1 = "zanburu.batz.es-dir\000\000\000\000\000\000\000\000\000\000"
$2 = 0x1d6e0528 "bacula-dir"
$3 = 0x1d6e0568 "/usr/share/bacula/bin/bacula-dir"
$4 = 0x1d707fe8 "MySQL"
$5 = 0x2b8fbaeac208 "5.0.1 (24 February 2010)"
$6 = 0x2b8fbaeac221 "x86_64-unknown-linux-gnu"
$7 = 0x2b8fbaeac23a "redhat"
$8 = 0x2b8fbaeac241 ""
$9 = "zanburu.batz.es", '\0' 
#0  0x00353ee0dfe1 in nanosleep () from /lib64/libpthread.so.0
#1  0x2b8fbae6f612 in bmicrosleep (sec=60, usec=0) at bsys.c:61
#2  0x00438201 in wait_for_next_job (one_shot_job_to_run=0x0)
at scheduler.c:131
#3  0x0040ef74 in main (argc=0, argv=0x7fff8ca21808) at dird.c:338

Thread 6 (Thread 0x41019940 (LWP 3103)):
#0  0x00353e2cced2 in select () from /lib64/libc.so.6
#1  0x2b8fbae718bf in bnet_thread_server (addrs=0x1d6e23a8,
max_clients=20, client_wq=0x689720,
handle_client_request=0x458b80 )
at bnet_server.c:161
#2  0x00458b79 in connect_thread (arg=0x1d6e23a8) at ua_server.c:82
#3  0x00353ee06617 in start_thread () from /lib64/libpthread.so.0
#4  0x00353e2d3c2d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x41a1a940 (LWP 3104)):
#0  0x00353ee0af70 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x2b8fbaea2363 in watchdog_thread (arg=0x0) at watchdog.c:308
#2  0x00353ee06617 in start_thread () from /lib64/libpthread.so.0
#3  0x00353e2d3c2d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x46a22940 (LWP 3771)):
#0  0x00353ee0e4af in waitpid () from /lib64/libpthread.so.0
#1  0x2b8fbae968de in signal_handler (sig=11) at signal.c:229
#2  
#3  0x00353ee0baf0 in pthread_kill () from /lib64/libpthread.so.0
#4  0x00427e98 in cancel_storage_daemon_job (jcr=0x1d73a798)
at job.c:515
#5  0x00412c30 in wait_for_job_termination (jcr=0x1d73a798,
timeout=180) at backup.c:538
#6  0x004139f6 in do_backup (jcr=0x1d73a798) at backup.c:476
#7  0x004297ed in job_thread (arg=0x1d73a798) at job.c:314
#8  0x0042b3e2 in jobq_server (arg=0x689480) at jobq.c:450
#9  0x00353ee06617 in start_thread () from /lib64/libpthread.so.0
#10 0x00353e2d3c2d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x49226940 (LWP 3776)):
#0  0x00353ee0d73b in read () from /lib64/libpthread.so.0
#1  0x2b8fbae71018 in read_nbytes (bsock=0x1d744a08,
ptr=0x49225c48 "\bJt\035", nbytes=4) at bnet.c:80
#2  0x2b8fbae73bbf in BSOCK::recv (this=0x1d744a08) at bsock.c:451
#3  0x004227d3 in bget_dirmsg (bs=0x1d744a08) at getmsg.c:137
#4  0x00412b41 in wait_for_job_termination (jcr=0x1d741b38,
timeout=0)
at backup.c:508
#5  0x004138cd in do_backup (jcr=0x1d741b38) at backup.c:456
#6  0x004297ed in job_thread (arg=0x1d741b38) at job.c:314
#7  0x0042b3e2 in jobq_server (arg=0x689480) at jobq.c:450
#8  0x00353ee06617 in start_thread () from /lib64/libpthread.so.0
#9  0x00353e2d3c2d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x49c27940 (LWP 3777)):
#0  0x00353ee0d73b in read () from /lib64/libpthread.so.0
#1  0x2b8fbae71018 in read_nbytes (bsock=0x1d743fa8,
ptr=0x49c26d58 "�?t\035", nbytes=4) at bnet.c:80
#2  0x2b8fbae73bbf in BSOCK::recv (this=0x1d743fa8) at bsock.c:451
#3  0x004227d3 in bget_dirmsg (bs=0x1d743fa8) at getmsg.c:137
#4  0x0043123f in msg_thread (arg=0x1d741b38) at msgchan.c:388
#5  0x00353ee06617 in start_thread () from /lib64/libpthread.so.0
#6  0x00353e2d3c2d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x2b8fbb0d8a10 (LWP 3099)):
#0  0x00353ee0dfe1 in nanosleep () from /lib64/libpthread.so.0
#1  0x2b8fbae6f612 in bmicrosleep (sec=60, usec=0) at bsys.c:61
#2  0x00438201 in wait_for_next_job (one_shot_job_to_run=0x0)
at scheduler.c:131
#3  0x0040ef74 in main (argc=0, argv=0x7fff8ca21808) at dird.c:338
#0  0x00353ee0dfe1 in nanosleep () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x2b8fbae6f612 in bmicroslee

[Bacula-users] bacula and WORM cartridges

2010-03-01 Thread Albert Pauw
I am using bacula and a vtl (mhvtl) which actually works very nice.

Now I am experimenting with the WORM cartridges setting of mhvtl and 
tried to get bacula to work with it.

Here is what works:

- Write data on the cartridge and rewind -> ok
- Verify the data written -> ok
- Try to write data again -> error -> that's what it should do
- Add another set of data behind the data (mt -f /dev/nst0 EOD, and a 
new tar command) -> ok
- Verify that both sets can be retrieved -> ok

So, so far so good.

When I add this WORM tape to a bacula pool, I had to label it. 
Unfortunately, I am not able to use the tape
as bacula rewrites the label again when trying to use it, and gets an 
error from the drive. Well, that's
what I think is going wrong. So, is it actually possible to use a WORM 
cartridge in bacula? And how
do I do it?

Thanks,
Albert

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users