Re: [Bacula-users] Backing up and restoring Windows permissions

2007-02-13 Thread Robert Nelson
Answers below -Original Message- From: [EMAIL PROTECTED] [mailto:bacula-users- [EMAIL PROTECTED] On Behalf Of Ralf Ertzinger Sent: Monday, February 12, 2007 11:52 PM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Backing up and restoring Windows permissions

[Bacula-users] Autochanger with bacula 2.x

2007-02-13 Thread Jean-Max Reymond
Hi, I have an Dell 124T with Autochanger for 8 tapes. My configuration is as follows. So, a few questions: . Is the archive device incremental (/dev/nst0, /dev/nst1, ..) ? . When using this configuration, I have in bconsole a message to label the tape but the tape is already labelled (by btape)

[Bacula-users] bacula-dir coredump after upgrade to 2.0.1

2007-02-13 Thread Frank Altpeter
Hi there, I just took the time to upgrade my bacula installation to the current 2.0.1 version, but unfortunatly it doesn't work anymore now: [EMAIL PROTECTED]:~ # /usr/local/sbin/bacula-dir -u bacula -g bacula -v -c /usr/local/etc/bacula-dir.conf Bus error: 10 (core dumped) I upgraded my

Re: [Bacula-users] Autochanger with bacula 2.x

2007-02-13 Thread Magnus Ahl
Hi, I have an Dell 124T with Autochanger for 8 tapes. My configuration is as follows. So, a few questions: . Is the archive device incremental (/dev/nst0, /dev/nst1, ..) ? We use the exact same hardware, but with 16 tapes. /dev/nst0 works like a charm. Just to be sure: you have detected

Re: [Bacula-users] Autochanger with bacula 2.x

2007-02-13 Thread Jean-Max Reymond
2007/2/13, Magnus Ahl [EMAIL PROTECTED]: Hi, I have an Dell 124T with Autochanger for 8 tapes. My configuration is as follows. So, a few questions: . Is the archive device incremental (/dev/nst0, /dev/nst1, ..) ? We use the exact same hardware, but with 16 tapes. /dev/nst0 works like a

Re: [Bacula-users] Backing up and restoring Windows permissions

2007-02-13 Thread Robert Nelson
Ralf and I did some testing offline. The problem is with zero length files, the error is in this code taken from save_file() in filed/backup.c /* * Open any file with data that we intend to save, then save it. * * Note, if is_win32_backup, we must open the Directory so that *

Re: [Bacula-users] bacula-dir coredump after upgrade to 2.0.1

2007-02-13 Thread Frank Altpeter
Sorry for the confusion - problem solved. It seems that bacula does automagically detects the presence of linuxthreads and compiles it in - after removing them all went fine... nevertheless, i think there should be some knob in the freebsd ports configuration to have this enabled/disabled on

[Bacula-users] Bad response to Append Data

2007-02-13 Thread Steve Thompson
Bacula 2.0.1, backing up to disk exclusively, using once device and the default pool. I get this about 20% of the time: 12-Feb 23:11 vger-dir: Start Backup JobId 601, Job=vger_u2.2007-02-12_23.05.02 12-Feb 23:11 vger-dir: Recycled volume Backup-0065 12-Feb 23:11 vger-sd:

Re: [Bacula-users] Problems appending on FreeBSD

2007-02-13 Thread Andrea Venturoli
Martin Simmons wrote: Thanks for the answer. Did the system pass all of the the btape tests from the Testing Your Tape Drive With Bacula chapter of the manual? It did at the time bacula was first installed (on FreeBSD 4.x). I updated to 6.2, so I run them again after your request (that's

[Bacula-users] Tape job with spooling die at the end of the process

2007-02-13 Thread Zeratul
Hi Few days ago I decided to use data spooling for a tape job. So, I enabled SpoolData = yes in the Job resource and the Device resource in bacula-sd.conf looks like this: Device { Name = NEO2000 MediaType = LTO-3 Archive Device = /dev/nst0 AutomaticMount = yes AlwaysOpen = yes

[Bacula-users] btape (fill) command question

2007-02-13 Thread Jason King
I am running the FILL command using the btape testing tool. The tape has been filled and it wrote something (i guess) to the second tape after asking me to mount another tape. AFter it wrote the second tape it asked me to mount the first tape for reading. I've been at this prompt for about 2

[Bacula-users] Help With Documentaion

2007-02-13 Thread Matt Hunt
I have looked around 'tinternet for some documentation on setting up Bacula. There is a fair amount out there but what I need is some sort of dummy guide. I am new to backups and I have heard that they can be a difficult task to set up and maintain, so if anyone has any URL's to any sites or

Re: [Bacula-users] Help With Documentaion

2007-02-13 Thread Jason King
Matt, there is no dummy guide for backups just as there are no Dummy guides for performing surgery. You said yourself it can be complicated. It's difficult to dummy down a complicated process like backups, especially using Bacula. The bacula manual is not overly complicated but you will need

Re: [Bacula-users] Help With Documentaion

2007-02-13 Thread Vladimir Doisan
You can try this guide, I tried to dumb proof it as much as possible. http://gentoo-wiki.com/HOWTO_Encrypted_Backup_System_Using_Bacula_and_GnuPG Once you have a working system - just start customizing from there bit by bit. You can disregard the GnuPG encryption part if you want, it will work

Re: [Bacula-users] Backing up and restoring Windows permissions

2007-02-13 Thread Kern Sibbald
On Tuesday 13 February 2007 11:29, Robert Nelson wrote: Ralf and I did some testing offline. The problem is with zero length files, the error is in this code taken from save_file() in filed/backup.c /* * Open any file with data that we intend to save, then save it. * * Note,

[Bacula-users] Unable to truncate volume

2007-02-13 Thread Brian Debelius
Windows. Ok I have 5 volumes. full- through full-0004. They all were migrated last night. When I run the backups today, and 0001 were recylced ok. 0002 and 0003 were recycled but could not be truncated. 0004 was recycled ok one comment: it would be nice if a volume fails to be

Re: [Bacula-users] Migration error

2007-02-13 Thread Robert Nelson
Which logfile are you looking at? -Original Message- From: [EMAIL PROTECTED] [mailto:bacula-users- [EMAIL PROTECTED] On Behalf Of Brian Debelius Sent: Tuesday, February 13, 2007 8:37 AM To: Robert Nelson Cc: 'Kern Sibbald'; bacula-users@lists.sourceforge.net Subject: Re:

Re: [Bacula-users] Help With Documentaion

2007-02-13 Thread Chris Hoogendyk
What Jason said. However, if you want another source of information, get the latest edition of O'Reilly's Backup Recovery by W. Curtis Preston (just published in December, 2006). It has a fairly good overview of Bacula in a dedicated chapter as well as gobs of other stuff you should know

Re: [Bacula-users] Autochanger with bacula 2.x

2007-02-13 Thread Devin Reade
Magnus Ahl [EMAIL PROTECTED] wrote: Our server came with blank tapes so there were no problem with labeling. How about unmounting them from bacula, feed them to the drive manualy using mtx and erasing them with /bin/mt -f /dev/nst0 erase? Assuming that it is in fact okay to destroy the

Re: [Bacula-users] Migration error

2007-02-13 Thread Brian Debelius
C:\Documents and Settings\All Users\Application Data\Bacula\Work\log Do I have to change the messages directive in the conf file at all? ### # Standard message delivery -- send most everything to email address and to the console ###

Re: [Bacula-users] Tape job with spooling die at the end of the process

2007-02-13 Thread Andrea Conti
Fatal error: Network error with FD during Backup: ERR=Connection reset by peer Before this error, there are normal messages regarding the spooling/despooling process. Could you please post the relevant Job section? Anybody has any idea? I'm missing something in the configuration? Thanks.

Re: [Bacula-users] Backing up and restoring Windows permissions

2007-02-13 Thread Robert Nelson
How about something like this: bool do_read = false; if (ff_pkt-type != FT_LNKSAVED S_ISREG(ff_pkt-statp.st_mode)) { #ifdef HAVE_WIN32 do_read = !is_portable_backup(ff_pkt-bfd) || ff_pkt-statp.st_size 0; #else do_read = ff_pkt-statp.st_size 0; #endif } else if

[Bacula-users] Questions re: mysql optimization, bweb/brestore, and locked drives

2007-02-13 Thread Justin Wainwright
Thanks to the previous list contributors who helped get me up and running on Bacula 2.x- we've been using it for about a month, and outside of some performance issues, I'm mostly happy with it. However, I have a few questions: 1) Since we're backing up 1Tb of data in a complete set of full

Re: [Bacula-users] Tape job with spooling die at the end of the process

2007-02-13 Thread Zeratul
On Tue, 13 Feb 2007 18:21:27 +0100, Andrea Conti wrote Fatal error: Network error with FD during Backup: ERR=Connection reset by peer Before this error, there are normal messages regarding the spooling/despooling process. Could you please post the relevant Job section? Anybody

[Bacula-users] Bacula 2.0.1 Startup script not working, manual start works fine.

2007-02-13 Thread Beren
Hi Everyone I've just upgraded from 1.38 to v2.0.1 and changed my bacula-dir.conf to accomodate. I can't start the director bacula by typing /etc/bacula/bacula start or by typing /etc/init.d/bacula-dir start or service bacula start It says it completes successfully, but if I do ps -ef I can't

Re: [Bacula-users] Bacula 2.0.1 Startup script not working, manual start works fine.

2007-02-13 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If you are using a shell that supports it, add a 'set -x' or equivalent near the top of the script and you'll see the execution of every command and might see what goes wrong. Beren wrote: Hi Everyone I've just upgraded from 1.38 to v2.0.1 and

Re: [Bacula-users] Bacula 2.0.1 Startup script not working, manual start works fine.

2007-02-13 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Again, please copy the list. :) I suspect you are not using the bacula that is specifically for your distrobution of Linux. I believe daemon is an RHEL thing. You have not mentioned your distro, but this is probably the problem. I'd make sure there's

Re: [Bacula-users] Backing up and restoring Windows permissions

2007-02-13 Thread Kern Sibbald
On Tuesday 13 February 2007 18:32, Robert Nelson wrote: How about something like this: bool do_read = false; if (ff_pkt-type != FT_LNKSAVED S_ISREG(ff_pkt-statp.st_mode)) { #ifdef HAVE_WIN32 do_read = !is_portable_backup(ff_pkt-bfd) || ff_pkt-statp.st_size 0; #else

Re: [Bacula-users] Tape job with spooling die at the end of the process

2007-02-13 Thread Zeratul
On Tue, 13 Feb 2007 09:04:01 -0600, Zeratul wrote The problem I have is that the jobs fail at the end of the process with the following error: --- 13-Feb 03:46 bacula-master01:

Re: [Bacula-users] Bacula 2.0.1 Startup script not working, manual start works fine.

2007-02-13 Thread Miki Lewinger
Howdy, Please check the permissions of the directories involved are set to user and group bacula (check the compilation config file for the /working, /bin, etc, paths). If they are not and you try chown it into bacula, and it fails, it means your passwd file (or whatever authentication

Re: [Bacula-users] Tape job with spooling die at the end of the process

2007-02-13 Thread Arno Lehmann
Hello, On 2/13/2007 6:37 PM, Zeratul wrote: On Tue, 13 Feb 2007 18:21:27 +0100, Andrea Conti wrote Fatal error: Network error with FD during Backup: ERR=Connection reset by peer Before this error, there are normal messages regarding the spooling/despooling process. This looks like a

Re: [Bacula-users] Migration error

2007-02-13 Thread Brian Debelius
Ok. I found the trace file. it was in system32. The first thing I notice on starting the director is comp0-dir: ../../lib/bsys.c:546 Could not open state file. sfd=-1 size=192: ERR=No such file or directory Brian Debelius wrote: C:\Documents and Settings\All Users\Application

Re: [Bacula-users] Tape job with spooling die at the end of the process

2007-02-13 Thread Arno Lehmann
Hello, On 2/13/2007 7:57 PM, Zeratul wrote: ... So, after spooling/despooling of data, the storage daemon (backup-tp01) is trying to send the spooled attributes to the director (bacula-master01). After 1 hour it comes the error. Maybe this rings a bell to someone? Thanks. Yes. FAQ. Should

Re: [Bacula-users] Migration error

2007-02-13 Thread Brian Debelius
Ok, for whatever reason, this is not displayed anymore. Brian Debelius wrote: Ok. I found the trace file. it was in system32. The first thing I notice on starting the director is comp0-dir: ../../lib/bsys.c:546 Could not open state file. sfd=-1 size=192: ERR=No such file or directory

Re: [Bacula-users] Tape job with spooling die at the end of the process

2007-02-13 Thread Zeratul
On Tue, 13 Feb 2007 20:22:35 +0100, Arno Lehmann wrote Hello, On 2/13/2007 6:37 PM, Zeratul wrote: On Tue, 13 Feb 2007 18:21:27 +0100, Andrea Conti wrote Fatal error: Network error with FD during Backup: ERR=Connection reset by peer Before this error, there are normal messages

[Bacula-users] Error Message?

2007-02-13 Thread Jason King
I'm seeing this error message every once in a while...what does it mean? 13-Feb 14:20 maint-dir: Warning: Cannot bind port 9101: ERR=Address already in use: Retrying ... Thanks, Jason - Using Tomcat but need to do more?

Re: [Bacula-users] Rescue CDROM with debian

2007-02-13 Thread José Luis Tallón
Evelyne Cangini wrote: Hello, I try to create a Bacula Rescue CDROM. Bacula, version 1.36.2, is installed whith debian version 3.1. How can I create a rescue CDROM? From bacula-rescue-2.0.0.tar.gz for example? In this case, which options to configure? I don't have path-to-bacula-source,

[Bacula-users] Hardware Compression

2007-02-13 Thread Jason King
How do I make sure bacula is using hardware compression when backing up to my Ultrium tape drive? Jason - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated

Re: [Bacula-users] Error Message?

2007-02-13 Thread Michel Meyers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason King wrote: I'm seeing this error message every once in a while...what does it mean? 13-Feb 14:20 maint-dir: Warning: Cannot bind port 9101: ERR=Address already in use: Retrying ... This usually means some other program has bound itself to

Re: [Bacula-users] Hardware Compression

2007-02-13 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You really need to provide more information. I've been reading your messages all week (and there have been a lot of them!) and none of them include any information. Garbage in, garbage out. Incidentally, to you and others, this is a decent enough

Re: [Bacula-users] Hardware Compression

2007-02-13 Thread Brian Debelius
I believe you can use tapeinfo to see if compression is turned on. Jason King wrote: How do I make sure bacula is using hardware compression when backing up to my Ultrium tape drive? Jason - Using Tomcat but need to

[Bacula-users] Backup of virtual machines

2007-02-13 Thread Eduardo Júnior
Hello, i'm with a problem. I'm using the bacula 1.38 for to make the backups of to servers of the place where work. Only that now, i'm lost with a new situation: one of our servers was placed in a virtual machine, with the use of the Xen. And same placing the correct address of the client to

Re: [Bacula-users] Backup of virtual machines

2007-02-13 Thread John Drescher
On 2/13/07, Eduardo Júnior [EMAIL PROTECTED] wrote: Hello, i'm with a problem. I'm using the bacula 1.38 for to make the backups of to servers of the place where work. Only that now, i'm lost with a new situation: one of our servers was placed in a virtual machine, with the use of the Xen.

Re: [Bacula-users] Tape job with spooling die at the end of the process

2007-02-13 Thread Arno Lehmann
Hello, On 2/13/2007 8:52 PM, Zeratul wrote: On Tue, 13 Feb 2007 20:22:35 +0100, Arno Lehmann wrote Hello, On 2/13/2007 6:37 PM, Zeratul wrote: On Tue, 13 Feb 2007 18:21:27 +0100, Andrea Conti wrote Fatal error: Network error with FD during Backup: ERR=Connection reset by peer Before this

Re: [Bacula-users] Hardware Compression

2007-02-13 Thread Jason King
I believe FreeBSD (my os) uses a command called mt...anyway...here is the output from mt status: [EMAIL PROTECTED] /usr/ports]# mt status Mode Density Blocksize bpi Compression Current: 0x42 variable 00x1 -available

Re: [Bacula-users] Migration error

2007-02-13 Thread Kern Sibbald
On Tuesday 13 February 2007 20:37, Brian Debelius wrote: Ok. I found the trace file. it was in system32. The first thing I notice on starting the director is comp0-dir: ../../lib/bsys.c:546 Could not open state file. sfd=-1 size=192: ERR=No such file or directory Well, this is the first

Re: [Bacula-users] Tape job with spooling die at the end of the process

2007-02-13 Thread Kern Sibbald
On Tuesday 13 February 2007 19:57, Zeratul wrote: On Tue, 13 Feb 2007 09:04:01 -0600, Zeratul wrote The problem I have is that the jobs fail at the end of the process with the following error: - -- 13-Feb 03:46

[Bacula-users] SQL How to

2007-02-13 Thread Thor Vik
Does anyone know of a good SQL guide to restore files for bacula? I want to restore eg. all mp3 files (*.mp3) and want to write sql for this. :-) Regards Wingthor - Using Tomcat but need to do more? Need to support web

Re: [Bacula-users] SQL How to

2007-02-13 Thread David Romerstein
On Tue, 13 Feb 2007, Thor Vik wrote: Does anyone know of a good SQL guide to restore files for bacula? I want to restore eg. all mp3 files (*.mp3) and want to write sql for this. :-) My first thought (not having done a lot of multi-file restores in Bacula) is that you'd probably want to dump

Re: [Bacula-users] SQL How to

2007-02-13 Thread David Romerstein
On Tue, 13 Feb 2007, David Romerstein wrote: SELECT p.Path, fn.Filename FROM p Path, fn Filename, f File WHERE fn.Filename LIKE '%.mp3' AND f.FilenameID = fn.FilenameID and p.PathID = f.PathID INTO OUTFILE '/tmp/mp3_filez.out'; Ugh. I have this bass ackwards, and I screwed up a column name.

[Bacula-users] mysql and db transactions

2007-02-13 Thread Devin Reade
I'm just in the process of setting up bacula and debating postgres vs mysql (I've used both, but have more experience with the latter). I see that the current online users' manual mentions that one advantage of using Postgres is support for transactions and stored procedures. MySQL also has

Re: [Bacula-users] Hardware Compression

2007-02-13 Thread Arno Lehmann
Hi Ryan, On 2/13/2007 9:50 PM, Ryan Novosielski wrote: ... How funny is the source, BTW?: http://support.microsoft.com/kb/555375 Thanks for the laugh - Microsoft translates the knowledge base articles when they determine that you want a non-english version... And IIRC there is some sort of

Re: [Bacula-users] mysql and db transactions

2007-02-13 Thread Arno Lehmann
Hello, On 2/14/2007 12:07 AM, Devin Reade wrote: I'm just in the process of setting up bacula and debating postgres vs mysql (I've used both, but have more experience with the latter). That's a topic well suited for flame wars... but not here :-) I see that the current online users' manual

Re: [Bacula-users] Hardware Compression

2007-02-13 Thread Brian Debelius
Looks like tapeinfo can be built for BSD. http://www.bacula.org/dev-manual/Testing_Your_Tape_Drive.html#SECTION004037000 mt -f /dev/nsa0 comp enable Does that do it? or http://www.bacula.org/dev-manual/Testing_Your_Tape_Drive.html#SECTION004036000 _If you have

Re: [Bacula-users] mysql and db transactions

2007-02-13 Thread Devin Reade
Arno Lehmann [EMAIL PROTECTED] wrote: Well, I suppose lack of transactions can make MySQL sound less reliable, but unless your catalog server tends to crash or damage its filesystem I don't think this is the most important issue... I was thinking more of the situation where concurrent db

[Bacula-users] Interview with Kern Sibbald

2007-02-13 Thread Dan Langille
See http://www.fosdem.org/2007/interview/kern+sibbald -- Dan Langille : Software Developer looking for work my resume: http://www.freebsddiary.org/dan_langille.php PGCon - The PostgreSQL Conference - http://www.pgcon.org/

Re: [Bacula-users] SQL How to

2007-02-13 Thread Thor Vik
David Romerstein skrev: I have this bass ackwards, and I screwed up a column name. SELECT p.Path, fn.Name FROM Path p, Filename fn, File f WHERE fn.Name LIKE '%.mp3' AND f.FilenameID = fn.FilenameID and p.PathID = f.PathID INTO OUTFILE '/tmp/mp3_filez.out'; *sigh* - that'll teach me to

Re: [Bacula-users] SQL How to

2007-02-13 Thread David Romerstein
On Wed, 14 Feb 2007, Thor Vik wrote: I am not sure whats wrong but your query lists out all my MP3 files fine in to the output file. But when importing to restore in bacula I get these messages: No database record found for: D:/Music/Whitesnake-The_Definitive_Collection-2006-MTD/

Re: [Bacula-users] SQL How to

2007-02-13 Thread Charles Galpin
On Feb 13, 2007, at 7:35 PM, David Romerstein wrote: Yeah, I think I mentioned in my original mail that there were going to be TAB characters between the columns in the output. You're on Windows... there are a number of text file editors that will handle this (my favorite is Textpad -

[Bacula-users] Restore Failed with Segmentation Violation error

2007-02-13 Thread jking
I successfully backed up my data last night while doing the tape test. I did the 3 backup jobs of the same directory, restarted bacula, then backed up the same director again. That worked great. I tried to restore the files to a tmp location and I get this error message in my logs: 13-Feb 22:34