[Bacula-users] strange verify job and bootstrap permission problem
Hi, bacula 2.0.3 on Debian Etch, amd64, postgres 8.1 I'm encountering a strange permission problem and I can't really find what is going on or how to debug further. I use the local fd on the director for the verify jobs. But after each restart of the bacula daemons I get an permission error on the first verify job. If I use a remote fd for the job, everything is fine and _after_ that first job, I can use the local (dir) fd for verify jobs too. the running processes: bacula [..] /opt/bacula/sbin/bacula-sd -u bacula -g tape -v -c /opt/bacula/etc/bacula-sd.conf root[..] /opt/bacula/sbin/bacula-fd -u root -g bacula -v -c /opt/bacula/etc/bacula-fd.conf bacula [..] /opt/bacula/sbin/bacula-dir -u bacula -g bacula -v -c /opt/bacula/etc/bacula-dir.conf the permissions of the working directory: VU0EM005:/opt/bacula/var/bacula/working# ls -ld . drwxrwx--- 2 bacula bacula 4096 2007-08-09 09:03 . [EMAIL PROTECTED]:/opt/bacula/var/bacula/working$ id -a uid=400(bacula) gid=400(bacula) Gruppen=26(tape),400(bacula) [EMAIL PROTECTED]:/opt/bacula/var/bacula/working$ touch foo [EMAIL PROTECTED]:/opt/bacula/var/bacula/working$ ls -l foo -rw-r--r-- 1 bacula bacula 0 2007-08-09 09:10 foo 1. verify job with local fd (dir) * all daemons restarted * status all -> no problems Run Verify job JobName: VerifySMTCZB0003 Level: VolumeToCatalog Client: VU0EM005 < the local fd on bacula-dir FileSet: SMTCZB0003 Pool:Default (From Job resource) Storage: NEC-T40A (From Job resource) Verify Job: SMTCZB0003 Verify List: When:2007-08-09 08:51:06 Priority:6 OK to run? (yes/mod/no): 09-Aug 08:52 VU0EM005: Verifying against JobId=423 Job=SMTCZB0003.2007-08-07_23.07.50 09-Aug 08:52 VU0EM005: Bootstrap records written to /opt/bacula/var/bacula/working/VU0EM005.restore.1.bsr 09-Aug 08:52 VU0EM005: 09-Aug 08:52 VU0EM005: The job will require the following Volume(s) Storage(s)SD Device(s) === 09-Aug 08:52 VU0EM005: 09-Aug 08:52 VU0EM005:06D128L3 NEC-T40A NEC-T40A 09-Aug 08:52 VU0EM005: 09-Aug 08:52 VU0EM005: Start Verify JobId=451 Level=VolumeToCatalog Job=VerifySMTCZB0003.2007-08-09_08.52.02 09-Aug 08:52 VU0EM005: VerifySMTCZB0003.2007-08-09_08.52.02 Fatal error: Could not create bootstrap file /opt/bacula/var/bacula/working/VU0EM005.VerifySMTCZB0003.2007-08-09_08.52.02.1.bootstrap: ERR=Keine Berechtigung 09-Aug 08:52 VU0EM005: VerifySMTCZB0003.2007-08-09_08.52.02 Fatal error: job.c:1755 Comm error with SD. bad response to Bootstrap. ERR=Die Verbindung wurde vom Kommunikationspartner zurückgesetzt 09-Aug 08:52 VU0EM005: VerifySMTCZB0003.2007-08-09_08.52.02 Error: bnet.c:270 Read error from Storage daemon:53.60.9.241:9103: ERR=Die Verbindung wurde vom Kommunikationspartner zurückgesetzt 2.verify job with remote fd (client) * no restart of the daemons Run Verify job JobName: VerifySMTCZB0003 Level: VolumeToCatalog Client: VU0EM003 <- the remote fd on a client FileSet: SMTCZB0003 Pool:Default (From Job resource) Storage: NEC-T40A (From Job resource) Verify Job: SMTCZB0003 Verify List: When:2007-08-09 08:52:58 Priority:6 OK to run? (yes/mod/no): yes 09-Aug 08:53 VU0EM005: Verifying against JobId=423 Job=SMTCZB0003.2007-08-07_23.07.50 09-Aug 08:53 VU0EM005: Bootstrap records written to /opt/bacula/var/bacula/working/VU0EM005.restore.2.bsr 09-Aug 08:53 VU0EM005: 09-Aug 08:53 VU0EM005: The job will require the following Volume(s) Storage(s)SD Device(s) === 09-Aug 08:53 VU0EM005: 09-Aug 08:53 VU0EM005:06D128L3 NEC-T40A NEC-T40A 09-Aug 08:53 VU0EM005: 09-Aug 08:53 VU0EM005: Start Verify JobId=452 Level=VolumeToCatalog Job=VerifySMTCZB0003.2007-08-09_08.53.08 09-Aug 08:53 VU0EM005: 3307 Issuing autochanger "unload slot 19, drive 0" command. no errors, but I can't find an file named VU0EM005.restore.2.bsr on either the dir or the fd. And no VU0EM005.VerifySMTCZB0003.*.bootstrap file too! 3. verify job with local fd (dir) again Select Job resource (1-14): 12 Run Verify job JobName: VerifySMTCZB0003 Level: VolumeToCatalog Client: VU0EM005 <-- local fd on bacula-dir FileSet: SMTCZB0003 Pool:Default (From Job resource) Storage: NEC-T40A (From Job resource) Verify Job: SMTCZB0003 Verify List: When:2007-08-09 08:54:29 Priority:6 OK to run? (yes/mod/no): yes 09-Aug 08:54 VU0EM005: Verifying against JobId=423 Job=SMTCZB0003.2007-08-07_23.07.50 09-Aug 08:54 VU0EM005: Bootstrap records written to /opt/bacula/var/bacula/working/VU0EM005.restore.3.bsr 09-Aug 08:54 VU0EM005: 09-Aug 08:54 VU0EM005: The job will require the following Volume(s)
Re: [Bacula-users] Schedule fullbackup every 4 weeks on saturday
On Wednesday 08 August 2007 11:32:32 Arno Lehmann wrote: > Hi, > > 08.08.2007 09:37,, Benjamin E. Zeller wrote:: > > On Tuesday 07 August 2007 12:42:09 Benjamin E. Zeller wrote: > >> Hi, > >> > >> this is rather urgent, can't figure it out via the docs. > >> > >> How can I schedule a fullbackup, that runs every 4 weeks on saturday? > >> > >> Schedule { > >> Name = "red" > >> Run = Level=Incremental mon-sat at 22:00 > >> Run = Level=Full sun at 22:00 > >> } > >> > >> > >> The 2nd Run= should be the schedule mentioned above. > >> > >> Greetings, > >> > >> Benni > > > > At first, I really really want to apologize for using the term "urgent". > > Normally it's not my way of posting questions like that, indeed I rather > > dislike postings like that myself. I don't know what made me behave like > > that, please don't blame me for that :-) > > Too much work for the day? May be the point, yes. > > > What I did now: > > > > Schedule { > > Name = "strike" > > Run = Level=Incremental mon-sat at 22:00 > > Run = Level=Full 1st sun at 22:00 > > } > > > > Is this okay that way? Full backup should run IMHO now on the 1st sunday > > of each month, am I right? > > Yes. > > > Greetings and apologizies again > > Oh, don't worry too much - as you noticed you got some answers, but I > suppose some of us here like to point out potential misbehaviour > before it gets annoying :-) As a matter of fact I DO worry, because me myself is annoyed of behaviour like that :-) Anyway, thanks again! > > Arno > > > Benni Benni -- Benjamin E. Zeller Ing.-Büro Hohmann Bahnhofstr. 34 D-82515 Wolfratshausen Tel.: +49 (0)8171 347 88 12 Mobil: +49 (0)160 99 11 55 23 Fax: +49 (0)8171 910 778 mailto: [EMAIL PROTECTED] www.ibh-wor.de pgpQnjL5RC1pi.pgp Description: PGP signature - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] strange verify job and bootstrap permission problem
Hi, Ralf Gross wrote: > Hi, > > bacula 2.0.3 on Debian Etch, amd64, postgres 8.1 > Good start :) > no errors, but I can't find an file named VU0EM005.restore.2.bsr on either the > dir or the fd. And no VU0EM005.VerifySMTCZB0003.*.bootstrap file too! > Are you checking for these files during the verify or after it? You dont specifically say, but they'll probably only exist during the job. Or maybe during the setup of the job - I'm not sure. And /opt/bacula/var/bacula/working/VU0EM005.restore.2.bsr definitely doesn't exist? > Now it's working with the local fd on the dir too. But I still can't find any > of > the bootstrap file neither on fd nor on the dir . > Very strange, very very strange. > > I can reproduce this after every restart of the daemons. I first have to run > an > verify job with an remote fd, before I can use the local fd for verify jobs. > Some questions to clarify the above statement. Is it just the first verify job that fails? Does it fail if you verify the first job via a remote client? If the first thing you try is a backup job of the local client does that work OK? Does running backup jobs before the verify jobs have any impact on the problem? > What is going on there? No idea whatsoever :) > I also started the daemons with debug level 200 and > searched for the permission error message, I didn't find it in the debug file. > Try increasing it even more. Did you check all 3 daemons? To narrow it down, you could try restarting each daemon in turn and running a verify job to see if the problem occurs. Cheers, Troy. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] label volumes
>> I have to label all volumes first time use a new tape cartridge? >> Or with the autolabel & automount feature this happen automatically? >> >> > A tape needs to be labeled to be used but autolabel can do that for you. > >> If then, how could do this easily for 42 cartridge? :S >> >> > Are you using an autoloader with a barcode reader? > I think that have a barcode reader, look at this output: # mtx -f /dev/sg13 status ... Storage Element 3:Full :VolumeTag=455KKKL3 Storage Element 4:Empty Storage Element 5:Full :VolumeTag=458KKKL3 Storage Element 6:Full :VolumeTag=459KKKL3 ... Firstly, i have the autoloader & automount options activated. The error I have is that (i supouse) the cartridge that bacula don't label before run a backup - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Normal speed?
Which will be the speed of a backup, having in mind that i have SATA disks and a tape that's could run to 8 Kb/s? Im having this speed: 17000KB/s from SATA to tape 35000KB/s from SATA(data) to SATA(data-stored by bacula) Is this normal? or im doing some wrong? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] strange verify job and bootstrap permission problem
Troy Daniels schrieb: > > no errors, but I can't find an file named VU0EM005.restore.2.bsr on either > > the > > dir or the fd. And no VU0EM005.VerifySMTCZB0003.*.bootstrap file too! > > > > Are you checking for these files during the verify or after it? During and after, see below for more details. > You dont specifically say, but they'll probably only exist during the > job. Or maybe during the setup of the job - I'm not sure. > > And /opt/bacula/var/bacula/working/VU0EM005.restore.2.bsr definitely > doesn't exist? I couldn't find it yet, but... Now I used iwatch/inotify to see what happens to the working directory. (also available at http://pastebin.ca/649831) failed first verify with local fd [ 9/Aug/2007 12:18:26] IN_CLOSE_WRITE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.17.26.6094920.mail [ 9/Aug/2007 12:18:26] * /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.17.26.6094920.mail is closed [ 9/Aug/2007 12:18:26] IN_DELETE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.17.26.6094920.mail [ 9/Aug/2007 12:18:26] * /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.17.26.6094920.mail is deleted [ 9/Aug/2007 12:18:26] IN_CLOSE_WRITE /opt/bacula/var/bacula/working//log [ 9/Aug/2007 12:18:26] * /opt/bacula/var/bacula/working//log is closed [ 9/Aug/2007 12:18:26] IN_CLOSE_WRITE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.17.26.6102616.mail [ 9/Aug/2007 12:18:26] IN_DELETE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.17.26.6102616.mail [ 9/Aug/2007 12:18:26] * /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.17.26.6102616.mail is deleted [ 9/Aug/2007 12:18:26] IN_CLOSE_WRITE /opt/bacula/var/bacula/working//log [ 9/Aug/2007 12:18:26] * /opt/bacula/var/bacula/working//log is closed I don't see anyting about a bootstrap file anywhere! ok with the remote fd [ 9/Aug/2007 12:19:15] IN_CREATE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.19.13.6057496.mail [ 9/Aug/2007 12:19:15] IN_CREATE /opt/bacula/var/bacula/working//VU0EM005.restore.3.bsr [ 9/Aug/2007 12:19:15] IN_CLOSE_WRITE /opt/bacula/var/bacula/working//VU0EM005.restore.3.bsr [ 9/Aug/2007 12:19:15] * /opt/bacula/var/bacula/working//VU0EM005.restore.3.bsr is closed [ 9/Aug/2007 12:19:16] IN_DELETE /opt/bacula/var/bacula/working//VU0EM005.restore.3.bsr [ 9/Aug/2007 12:19:16] * /opt/bacula/var/bacula/working//VU0EM005.restore.3.bsr is deleted [ 9/Aug/2007 12:19:16] IN_CREATE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.19.13.3.bootstrap [ 9/Aug/2007 12:19:16] IN_CLOSE_WRITE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.19.13.3.bootstrap [ 9/Aug/2007 12:19:16] * /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.19.13.3.bootstrap is closed [ 9/Aug/2007 12:19:16] IN_DELETE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.19.13.3.bootstrap [ 9/Aug/2007 12:19:16] * /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.19.13.3.bootstrap is deleted Here the bootstrap files were created and deleted (VU0EM005.restore.3 + VU0EM005.VerifySMTCZB0003.2007-08-09_12.19.13.3.bootstrap) ok with the local fd (second try) [ 9/Aug/2007 12:20:31] IN_CREATE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.20.29.6094920.mail [ 9/Aug/2007 12:20:32] IN_CREATE /opt/bacula/var/bacula/working//VU0EM005.restore.4.bsr [ 9/Aug/2007 12:20:32] IN_CLOSE_WRITE /opt/bacula/var/bacula/working//VU0EM005.restore.4.bsr [ 9/Aug/2007 12:20:32] * /opt/bacula/var/bacula/working//VU0EM005.restore.4.bsr is closed [ 9/Aug/2007 12:20:43] IN_DELETE /opt/bacula/var/bacula/working//VU0EM005.restore.4.bsr [ 9/Aug/2007 12:20:43] * /opt/bacula/var/bacula/working//VU0EM005.restore.4.bsr is deleted [ 9/Aug/2007 12:20:43] IN_CREATE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.20.29.3.bootstrap [ 9/Aug/2007 12:20:43] IN_CLOSE_WRITE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.20.29.3.bootstrap [ 9/Aug/2007 12:20:43] * /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.20.29.3.bootstrap is closed [ 9/Aug/2007 12:20:44] IN_CREATE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.20.29.4.bootstrap [ 9/Aug/2007 12:20:44] IN_CLOSE_WRITE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.20.29.4.bootstrap [ 9/Aug/2007 12:20:44] IN_DELETE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.20.29.4.bootstrap [ 9/Aug/2007 12:20:44] * /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.20.29.4.bootstrap is deleted [ 9/Aug/2007 12:20:44] IN_DELETE /opt/bacula/var/bacula/working//VU0EM005.VerifySMTCZB0003.2007-08-09_12.20.29.3.bootstrap [ 9/Aug/2007 12:20:44] * /opt/bacula/var/b
[Bacula-users] FW: Web configuration tool and autoconfiguration ofclients
I have been thinking of this and The Best Way(tm) of determining who is the director is by providing DNS service records maybe even via mDNS. Anyway it seems to me that instead of waiting around that some project admin get's hold of you could get a prototype working and then submit it for trial/approval/inclusion, whatever... cheers -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de massano jerome Enviada: segunda-feira, 30 de Julho de 2007 12:47 Para: bacula-devel; bacula-users Assunto: [Bacula-users] Web configuration tool and autoconfiguration ofclients Hello We have made a web tool to allow admins to configure bacula without having to edit a text file. For now, it is integrated in the server-manager panel of SME distribution, but we will make it stand-alone as soon as possible (and as soon as we will be ok with it - it is still in development). Now, what we would like to do to make the work of admins even easier is to make a tool on the client-side of bacula, which would do an automatic integration of the client. Here is the concept : The user chooses what directories and files he wants to be backed up, and what directories and files he does NOT want to be backed up (definition of the FileSet). Then, he chooses when he wants the backup to happen (definition of the schedule). Then, he asks the server (on which the director is installed) to give him a password, and to create a restricted console and to send him the password. Then, it would use our auto-configuration tool to add himself as a client with his schedule and fileset to the configuration of bacula, and to create an appropriate Job. The details still have to be discussed (how do we know who is the director : do we provide its address, or do we do a broadcast to discover the director present on the network ? - How do we ensure secrecy when we are being provided a password ?). If you are interested in this project, please contact us. Jerome MASSANO ASPerience - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Esta mensagem de correio electrónico e qualquer dos seus ficheiros anexos, caso existam, são confidenciais e destinados apenas a [EMAIL PROTECTED], podendo conter informação confidencial, privilegiada, a qual não devera ser divulgada, copiada, gravada ou distribuida nos termos da lei vigente. Se não é o destinatario da mensagem, ou se ela lhe foi enviada por engano, agradecemos que não faça uso ou divulgação da mesma. A distribuição ou utilização da informação nela contida é VEDADA. Se recebeu esta mensagem por engano, por favor avise-nos de imediato, por correio electrónico, para o endereço [EMAIL PROTECTED], e apague este e-mail do seu sistema. Obrigado. This message (and any associated files) is intended only for the use of [EMAIL PROTECTED], and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to [EMAIL PROTECTED], and deleting it from your computer. Thanks Esta mensagem de correio electrónico e qualquer dos seus ficheiros anexos, caso existam, são confidenciais e destinados apenas a Bacula-users@lists.sourceforge.net, podendo conter informação confidencial, privilegiada, a qual não devera ser divulgada, copiada, gravada ou distribuida nos termos da lei vigente. Se não é o destinatario da mensagem, ou se ela lhe foi enviada por engano, agradecemos que não faça uso ou divulgação da mesma. A distribuição ou utilização da informação nela contida é VEDADA. Se recebeu esta mensagem por engano, por favor avise-nos de imediato, por correio electrónico, para o endereço [EMAIL PROTECTED], e apague este e-mail do seu sistema. Obrigado. This message (and any associated files) is intended only for the use of Bacula-use
Re: [Bacula-users] strange verify job and bootstrap permission problem
> On Thu, 9 Aug 2007 09:20:24 +0200, Ralf Gross said: > > Hi, > > bacula 2.0.3 on Debian Etch, amd64, postgres 8.1 > > I'm encountering a strange permission problem and I can't really > find what is going on or how to debug further. > > I use the local fd on the director for the verify jobs. But after each > restart of the bacula daemons I get an permission error on the first > verify job. If I use a remote fd for the job, everything is fine and > _after_ that first job, I can use the local (dir) fd for verify jobs > too. > > the running processes: > > bacula [..] /opt/bacula/sbin/bacula-sd -u bacula -g tape -v -c > /opt/bacula/etc/bacula-sd.conf > root[..] /opt/bacula/sbin/bacula-fd -u root -g bacula -v -c > /opt/bacula/etc/bacula-fd.conf > bacula [..] /opt/bacula/sbin/bacula-dir -u bacula -g bacula -v -c > /opt/bacula/etc/bacula-dir.conf I suspect that the FD and SD are trying to create the same bootstrap file. To prevent this, you could either use a unique WorkingDirectory in the conf file for each daemon or change the FD (client) name to VU0EM005-fd. The manual mentions this in http://www.bacula.org/rel-manual/Getting_Started_with_Bacula.html#SECTION00934000 __Martin > > the permissions of the working directory: > > VU0EM005:/opt/bacula/var/bacula/working# ls -ld . > drwxrwx--- 2 bacula bacula 4096 2007-08-09 09:03 . > > [EMAIL PROTECTED]:/opt/bacula/var/bacula/working$ id -a > uid=400(bacula) gid=400(bacula) Gruppen=26(tape),400(bacula) > > [EMAIL PROTECTED]:/opt/bacula/var/bacula/working$ touch foo > > [EMAIL PROTECTED]:/opt/bacula/var/bacula/working$ ls -l foo > -rw-r--r-- 1 bacula bacula 0 2007-08-09 09:10 foo > > > > 1. verify job with local fd (dir) > > * all daemons restarted > * status all -> no problems > > > Run Verify job > JobName: VerifySMTCZB0003 > Level: VolumeToCatalog > Client: VU0EM005 < the local fd on bacula-dir > FileSet: SMTCZB0003 > Pool:Default (From Job resource) > Storage: NEC-T40A (From Job resource) > Verify Job: SMTCZB0003 > Verify List: > When:2007-08-09 08:51:06 > Priority:6 > OK to run? (yes/mod/no): > > > 09-Aug 08:52 VU0EM005: Verifying against JobId=423 > Job=SMTCZB0003.2007-08-07_23.07.50 > 09-Aug 08:52 VU0EM005: Bootstrap records written to > /opt/bacula/var/bacula/working/VU0EM005.restore.1.bsr > 09-Aug 08:52 VU0EM005: > 09-Aug 08:52 VU0EM005: The job will require the following >Volume(s) Storage(s)SD Device(s) > === > 09-Aug 08:52 VU0EM005: > 09-Aug 08:52 VU0EM005:06D128L3 NEC-T40A > NEC-T40A > 09-Aug 08:52 VU0EM005: > 09-Aug 08:52 VU0EM005: Start Verify JobId=451 Level=VolumeToCatalog > Job=VerifySMTCZB0003.2007-08-09_08.52.02 > 09-Aug 08:52 VU0EM005: VerifySMTCZB0003.2007-08-09_08.52.02 Fatal error: > Could not create bootstrap file > /opt/bacula/var/bacula/working/VU0EM005.VerifySMTCZB0003.2007-08-09_08.52.02.1.bootstrap: > ERR=Keine Berechtigung > 09-Aug 08:52 VU0EM005: VerifySMTCZB0003.2007-08-09_08.52.02 Fatal error: > job.c:1755 Comm error with SD. bad response to Bootstrap. ERR=Die Verbindung > wurde vom Kommunikationspartner zurückgesetzt > 09-Aug 08:52 VU0EM005: VerifySMTCZB0003.2007-08-09_08.52.02 Error: bnet.c:270 > Read error from Storage daemon:53.60.9.241:9103: ERR=Die Verbindung wurde vom > Kommunikationspartner zurückgesetzt > > > > > 2.verify job with remote fd (client) > > * no restart of the daemons > > > Run Verify job > JobName: VerifySMTCZB0003 > Level: VolumeToCatalog > Client: VU0EM003 <- the remote fd on a client > FileSet: SMTCZB0003 > Pool:Default (From Job resource) > Storage: NEC-T40A (From Job resource) > Verify Job: SMTCZB0003 > Verify List: > When:2007-08-09 08:52:58 > Priority:6 > OK to run? (yes/mod/no): yes > > > 09-Aug 08:53 VU0EM005: Verifying against JobId=423 > Job=SMTCZB0003.2007-08-07_23.07.50 > 09-Aug 08:53 VU0EM005: Bootstrap records written to > /opt/bacula/var/bacula/working/VU0EM005.restore.2.bsr > 09-Aug 08:53 VU0EM005: > 09-Aug 08:53 VU0EM005: The job will require the following >Volume(s) Storage(s)SD Device(s) > === > 09-Aug 08:53 VU0EM005: > 09-Aug 08:53 VU0EM005:06D128L3 NEC-T40A > NEC-T40A > 09-Aug 08:53 VU0EM005: > 09-Aug 08:53 VU0EM005: Start Verify JobId=452 Level=VolumeToCatalog > Job=VerifySMTCZB0003.2007-08-09_08.53.08 > 09-Aug 08:53 VU0EM005: 3307 Issuing autochanger "unload slot 19, drive 0" > command. > > no errors, but I can't find an file named VU0EM005.restore.2.bsr on either the > dir or the fd. And no VU0EM005.VerifySMTCZB0003.*.bootstrap file too! > > > 3. verify job with local fd (dir) again > > > Select Job res
Re: [Bacula-users] label volumes
On 8/9/07, Angel Mieres <[EMAIL PROTECTED]> wrote: > > >> I have to label all volumes first time use a new tape cartridge? > >> Or with the autolabel & automount feature this happen automatically? > >> > >> > > A tape needs to be labeled to be used but autolabel can do that for you. > > > >> If then, how could do this easily for 42 cartridge? :S > >> > >> > > Are you using an autoloader with a barcode reader? > > > I think that have a barcode reader, look at this output: > # mtx -f /dev/sg13 status > ... > Storage Element 3:Full :VolumeTag=455KKKL3 > Storage Element 4:Empty > Storage Element 5:Full :VolumeTag=458KKKL3 > Storage Element 6:Full :VolumeTag=459KKKL3 > ... > > > Firstly, i have the autoloader & automount options activated. The error > I have is that (i supouse) the tape that bacula don't label before run a > backup, when it's backuping and the track tape goes end, when it should > label and mount the next tape ask for a label and mount manually. Is > some way to get in solve without labeling & mounting manually? > see label barcodes in the manual. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] strange verify job and bootstrap permission problem
Martin Simmons schrieb: > > On Thu, 9 Aug 2007 09:20:24 +0200, Ralf Gross said: > > I'm encountering a strange permission problem and I can't really > > find what is going on or how to debug further. > > > > I use the local fd on the director for the verify jobs. But after each > > restart of the bacula daemons I get an permission error on the first > > verify job. If I use a remote fd for the job, everything is fine and > > _after_ that first job, I can use the local (dir) fd for verify jobs > > too. > > > > the running processes: > > > > bacula [..] /opt/bacula/sbin/bacula-sd -u bacula -g tape -v -c > > /opt/bacula/etc/bacula-sd.conf > > root[..] /opt/bacula/sbin/bacula-fd -u root -g bacula -v -c > > /opt/bacula/etc/bacula-fd.conf > > bacula [..] /opt/bacula/sbin/bacula-dir -u bacula -g bacula -v -c > > /opt/bacula/etc/bacula-dir.conf > > I suspect that the FD and SD are trying to create the same bootstrap file. To > prevent this, you could either use a unique WorkingDirectory in the conf file > for each daemon or change the FD (client) name to VU0EM005-fd. > > The manual mentions this in > http://www.bacula.org/rel-manual/Getting_Started_with_Bacula.html#SECTION00934000 Strike! I changed the daemon names and can't reproduce this error anymore :) And the best thing: it's in the manual - as always. Ralf - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Normal speed?
> Im having this speed: > 17000KB/s from SATA to tape You must have a fast tape drive (LTO2+, SDLT ...) or very highly compressible data. > 35000KB/s from SATA(data) to SATA(data-stored by bacula) > Unless you have a raid (0, 5, 6, 10, 50 ...) 35MB/s is very good. > Is this normal? or im doing some wrong? > These numbers look good however there really can not be any discussion of normal without discussing your hardware, your data, the bacula database, you network speed, compression and what type of backup you do. John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Concurrency not working properly?
Hi all, my director (2.0.3) does not run two "independent" jobs simultaneously. I have set "Maximum Concurrent Jobs = 10" in the Director{} ressource, but this seems to have no effect. The strange thing is that I only try to run two different jobs which write to two different storages at the same time, which should be no problem at all. My setup is like that: +--+ +--+ | Client-1 | | Client-2 | +--+ +--+ | | Job1Job2 | | v v +--+ | Director | +--+ | | Job1Job2 | | v v +---+ +-+ | TapeDrive | | DiskStorage | +---+ +-+ The two jobs use the same Schedule{} At 3:05 Job1 starts but Job2 only starts as soon as Job1 has finished. So if Job1 is waiting for a new Tape all night long, Job2 is still waiting for execution in the morning... What could be wrong with my setup? Here is the relevant parts of the bacula-dir.conf file: Schedule { Name = "WeeklyCycle" Run = Level=Full SpoolData=no 1st sun at 03:05 Run = Level=Differential SpoolData=yes 2nd-5th sun at 03:05 Run = Level=Incremental SpoolData=yes mon-sat at 03:05 } Director {# define myself [...] Maximum Concurrent Jobs = 10 [...] } JobDefs { Name = "DefaultBackupJob" Type = Backup Level = Incremental # Tape Storage: Storage = lisa-sd # Client1: Client = lisa-fd Messages = Standard Pool = Default Priority = 500 Spool Attributes = yes # SpoolData = yes # (will be set on Schedule basis) Maximum Concurrent Jobs = 10 } Job { # Job1 Name = "lisa-ImportantData" JobDefs = "DefaultBackupJob" Schedule = "WeeklyCycle" FileSet = "lisa ImportantData FileSet" Write Bootstrap = "/var/lib/bacula/Client_lisa.bsr" } Job { # Job2 Name = "vesta-ImportantData" JobDefs = "DefaultBackupJob" Schedule = "WeeklyCycleNoSpooling" Type = Backup # Client2: Client = vesta-fd Level = Incremental # DiskStorage: Storage = vesta-sd Messages = Standard Pool = VestaFtp Priority = 500 FileSet = "vesta ImportantData FileSet" Write Bootstrap = "/var/lib/bacula/Client_vesta.bsr" Spool Data = no Spool Attributes = no RunScript { Runs When = Before Command = /usr/local/sbin/bacula-run_before_job.sh } RunScript { Runs When = After Command = /usr/local/sbin/bacula-run_after_job.sh } } Greetings -Marc -- +--+ | --> http://www.links2linux.de <-- | | | +---Registered-Linux-User-#136487http://counter.li.org + - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula beta 2.1.30 released
Hello, I have just released the source tar and Win32 binary files for Bacula beta 2.1.30 to the Source Forge bacula-beta release area. As I mentioned in a previous email, other than a bit more documentation, I don't expect this code to change between now and this weekend when version 2.2.0 will be officially released. For packagers, you might want to take a good look at this release. Best regards, Kern - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Incorrectly mounted tape.
Running FC5 with Bacula 1.38.5. I use two pools to hold DDS-4 and DDS-3 tapes respectively. All tapes have been labeled and registered in their respective pools. I use normally DDS-4 tapes for daily back-ups and the DDS-3 for special purposes like manually initiated back-ups of VMware vertual machines. I usually keep the current DDS-4 tape loaded and yesterday I had to reboot in order to work on the next Linux (and Bacula) version. When I booted back to FC5 Bacula started as expected and mounted the loaded DDS-4 tape. However, what I didn't see was that it assumed it belonged to the DDS-3 pool. The consequence was that the daily back-ups failed with error messages which ment absolutely nothing to me. It was not till I issued the "status storage" command that I saw the error. An "unmount DDS-3" and a subsequent "mount DDS-4" cleared the problem. I have several questions to this experience: 1. Was it a bug? 2. Could I have avoided it? 3. Is the way I use the two pools unreliable? 4. Why doesn't Bacula know which pool and storage a specific volume belong to? I hope someone can shed some light on this to me strange behaviour, -- Erik. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula beta 2.1.30 released
> Hello, > > I have just released the source tar and Win32 binary files for Bacula beta > 2.1.30 to the Source Forge bacula-beta release area. As I mentioned in a > previous email, other than a bit more documentation, I don't expect this > code > to change between now and this weekend when version 2.2.0 will be > officially > released. > > For packagers, you might want to take a good look at this release. > > Best regards, > > Kern You're either a bad man, or a good one. I can't make up my mind. You're timing on this is darned near perfect. I'm driving down on Friday night from Minneapolis to Chicago (350 miles) for an annual rebuild project over the weekend. I'm a volunteer admin for a charity, using Bacula for backups. I've gotten spoiled with it. Jeff - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Incorrectly mounted tape.
> I use two pools to hold DDS-4 and DDS-3 tapes respectively. All tapes have > been > labeled and registered in their respective pools. I use normally DDS-4 tapes > for > daily back-ups and the DDS-3 for special purposes like manually initiated > back-ups of VMware vertual machines. > > I usually keep the current DDS-4 tape loaded and yesterday I had to reboot in > order to work on the next Linux (and Bacula) version. When I booted back to > FC5 > Bacula started as expected and mounted the loaded DDS-4 tape. However, what I > didn't see was that it assumed it belonged to the DDS-3 pool. The consequence > was that the daily back-ups failed with error messages which ment absolutely > nothing to me. It was not till I issued the "status storage" command that I > saw > the error. An "unmount DDS-3" and a subsequent "mount DDS-4" cleared the > problem. > > I have several questions to this experience: > > 1. Was it a bug? Probably but without the error message it is hard to tell. > 2. Could I have avoided it? Rewind or unmount the tape when booting. > 3. Is the way I use the two pools unreliable? No this is the correct way. > 4. Why doesn't Bacula know which pool and storage a specific volume belong to? > It should. Did the DDS-4 tape have data on it? Did it rewind when the server went down? John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cannot relabel tapes with barcodes
Hi, I'm fiddling around with Bacula at the moment and encountered the following problem: I have an autochanger with a barcode reader and while playing with the features of the Bacula console i labeled the tapes "testtape". Then I discovered the "label barcode" command which does that automatically. When I execute the command I get the error "3920 Cannot label Volume because it is already labeled: "testtape"" twice; once for each tape that is currently inserted. The cleaning tape is recognized correctly. Now how can I relabel these tapes with their respective barcodes when "list" reveals only the cleaning tape and nothing else? greets Werner ___ NOCC, http://nocc.sourceforge.net - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot relabel tapes with barcodes
> Hi, > > I'm fiddling around with Bacula at the moment and encountered the following > problem: > Delete each tape from bacula using delete volume. Then manually load each and in the shell do something like the following: mt -f /dev/st0 rewind mt -f /dev/st0 weof Note: You will have to adjust that if your drive is not st0. Also you may have to stop bacula-sd if you configured it to always has the tape drive open. John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] invalid byte sequence for encoding "UTF8"
Bill Moran wrote: > Connect to the PostgreSQL database using the psql command: > psql -U bacula bacula > > Then enter "\l" to list the installed databases and their attributes. You > should see the bacula database as UTF8. The database is UTF8; all the databases on this host are UTF8. > To see what the client encoding is, you can do "show client_encoding;" from > the psql program. If this is not set to UTF8, you _can_ change it on the > fly. Simply issue "ALTER DATABASE bacula SET client_encoding='UTF8';" Then > you'll want to restart Bacula for it to pick up the new setting. Hmm, okay, but it shows UTF8. And shouldn't the bacula client be doing that? Because I'm going on vacation and don't want to leave home without a backup (especially since the laptop will be used in the field, literally), I ended up just removing the offending packages. I'll try to play around with this again after vacation. Thanks, roland -- PGP Key ID: 66 BC 3B CD Roland B. Roberts, PhD RL Enterprises [EMAIL PROTECTED]6818 Madeline Court [EMAIL PROTECTED] Brooklyn, NY 11220 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Mark volume used after job
Troy Daniels wrote: > Hi, > >> I want to make sure that after the last scheduled job for the day >> runs, that the mounted tape is changed to a status of 'used'. How >> can I run a job to do this? >> > > You can try using any one of the following options: > > Maximum Volume Jobs = > Volume Use Duration = > > Info on them is available at: > > http://www.bacula.org/rel-manual/FileSet_Resource.html#SECTION00158 > > > > However, Bacula might not immediately set the volume to used. It is > more likely to do so the next time it goes to access that volume when > it realises it's past it's threshold. It still wont use the volume > after the first day however. > > If this is a concern, it's it's also possible to add a run after job > script that updates the volume status as part of the last job. > > Something like the following would work: > > #!/bin/bash > # > # Determine the currently loaded volume via bconsole > # > CURRVOL=`echo "status storage=Tape" | /usr/sbin/bconsole -c > /etc/bacula/bconsole.conf | grep "is mounted with Volume" | awk -F\" > '{print $4}'` > > # > # Mark the volume used. > # > /usr/sbin/bconsole -c /etc/bacula/bconsole.conf < gui off > @# > @# Marking Volume $CURRVOL as Used > @# > update volume="$CURRVOL" VolStatus="Used" > . > @output /dev/null > EOCMDS2 > > exit 0 > > > Cheers, > > > Troy. Hi, Thanks for the starting point as I'm using windows. Maximum Volume Jobs does not work because I cannot guarantee the number of jobs on a tape, when the schedule backup spans multiple tapes. Volume Use Duration would not expire the tape fast enough after the last backup, and if it expired before the backup is complete, then a new tape is used. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] CRC error during backup.
During my first full backup of my Windows XP Laptop, I got the following: 09-Aug 10:35 hipparchus-fd: Hipparchus.2007-08-09_09.23.41 Error: Read error on file C:/Program Files/Starry Night Pro Plus 6/Sky Data/AllSkyImage/C16/C16F2T0208.dds. ERR=Data error (cyclic redundancy check). I know at a basic level what this means, but I don't understand what it causing it or what it means on a practical level for me. Did I get a network glitch? Did the client choke? Is the original file corrupt? Is the drive possibly going bad? TIA, roland -- PGP Key ID: 66 BC 3B CD Roland B. Roberts, PhD RL Enterprises [EMAIL PROTECTED]6818 Madeline Court [EMAIL PROTECTED] Brooklyn, NY 11220 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] CRC error during backup.
Hi Roland, On Thu, August 9, 2007 5:25 pm, Roland Roberts wrote: > During my first full backup of my Windows XP Laptop, I got the following: > > 09-Aug 10:35 hipparchus-fd: Hipparchus.2007-08-09_09.23.41 Error: Read > error > on file C:/Program Files/Starry Night Pro Plus 6/Sky > Data/AllSkyImage/C16/C16F2T0208.dds. ERR=Data error (cyclic redundancy > check). > > I know at a basic level what this means, but I don't understand what it > causing it or what it means on a practical level for me. Did I get a > network glitch? Did the client choke? Is the original file corrupt? Is > the drive possibly going bad? It looks like the file is corrupt. Try running an error-check on the disk. Right-click on the C: drive in Explorer and select Properties, then Tools. Regards, Malcolm -- Web Development, Technical Copy-Editing & Proofreading KDE Proofreading Team KDE British English Translation Team http://l10n.kde.org/team-infos.php?teamcode=en_GB - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot relabel tapes with barcodes
[EMAIL PROTECTED] wrote: > Hi, > > I'm fiddling around with Bacula at the moment and encountered the following > problem: > > I have an autochanger with a barcode reader and while playing with the > features of the Bacula console i labeled the tapes "testtape". Then I > discovered the "label barcode" command which does that automatically. When I > execute the command I get the error "3920 Cannot label Volume because it is > already labeled: "testtape"" twice; once for each tape that is currently > inserted. The cleaning tape is recognized correctly. > > Now how can I relabel these tapes with their respective barcodes when "list" > reveals only the cleaning tape and nothing else? > > greets > Werner I clear all my used tapes at the console with mt first mt -f Tape0 rewind mt -f Tape0 weof mt -f Tape0 rewind and then label barcodes from within bconsole. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula beta 2.1.30 released
On Thursday 09 August 2007 17:01, Jeff Kalchik wrote: > > Hello, > > > > I have just released the source tar and Win32 binary files for Bacula > > beta 2.1.30 to the Source Forge bacula-beta release area. As I mentioned > > in a previous email, other than a bit more documentation, I don't expect > > this code > > to change between now and this weekend when version 2.2.0 will be > > officially > > released. > > > > For packagers, you might want to take a good look at this release. > > > > Best regards, > > > > Kern > > You're either a bad man, or a good one. I can't make up my mind. Just a coincidence :-) > > You're timing on this is darned near perfect. I'm driving down on Friday > night from Minneapolis to Chicago (350 miles) for an annual rebuild > project over the weekend. I'm a volunteer admin for a charity, using > Bacula for backups. I've gotten spoiled with it. Nice. Thanks for the feedback and nice comments. Good luck, Best regards, Kern - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] CRC error during backup.
> On Thu, 9 Aug 2007 12:25:44 -0400 (EDT), Roland Roberts said: > Importance: Normal > > During my first full backup of my Windows XP Laptop, I got the following: > > 09-Aug 10:35 hipparchus-fd: Hipparchus.2007-08-09_09.23.41 Error: Read error > on file C:/Program Files/Starry Night Pro Plus 6/Sky > Data/AllSkyImage/C16/C16F2T0208.dds. ERR=Data error (cyclic redundancy check). > > I know at a basic level what this means, but I don't understand what it > causing it or what it means on a practical level for me. Did I get a > network glitch? Did the client choke? Is the original file corrupt? Is > the drive possibly going bad? Probably a hardware problem with the drive. I suggest looking in the Event Viewer to see if any more details were logged. __Martin - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] invalid byte sequence for encoding "UTF8"
In response to "Roland Roberts" <[EMAIL PROTECTED]>: > > Bill Moran wrote: > > > Connect to the PostgreSQL database using the psql command: > > psql -U bacula bacula > > > > Then enter "\l" to list the installed databases and their attributes. You > > should see the bacula database as UTF8. > > > The database is UTF8; all the databases on this host are UTF8. > > > To see what the client encoding is, you can do "show client_encoding;" from > > the psql program. If this is not set to UTF8, you _can_ change it on the > > fly. Simply issue "ALTER DATABASE bacula SET client_encoding='UTF8';" Then > > you'll want to restart Bacula for it to pick up the new setting. > > Hmm, okay, but it shows UTF8. And shouldn't the bacula client be doing that? Yes, it _should_. I don't know if it _does_. > Because I'm going on vacation and don't want to leave home without a backup > (especially since the laptop will be used in the field, literally), I ended > up just removing the offending packages. I'll try to play around with this > again after vacation. Well, based on your response, I don't have an explanation for your problem. Perhaps when you return we can track it down. -- Bill Moran http://www.potentialtech.com - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Incorrectly mounted tape.
John Drescher wrote: >> I use two pools to hold DDS-4 and DDS-3 tapes respectively. All tapes have >> been >> labeled and registered in their respective pools. I use normally DDS-4 tapes >> for >> daily back-ups and the DDS-3 for special purposes like manually initiated >> back-ups of VMware vertual machines. >> >> I usually keep the current DDS-4 tape loaded and yesterday I had to reboot in >> order to work on the next Linux (and Bacula) version. When I booted back to >> FC5 >> Bacula started as expected and mounted the loaded DDS-4 tape. However, what I >> didn't see was that it assumed it belonged to the DDS-3 pool. The consequence >> was that the daily back-ups failed with error messages which ment absolutely >> nothing to me. It was not till I issued the "status storage" command that I >> saw >> the error. An "unmount DDS-3" and a subsequent "mount DDS-4" cleared the >> problem. >> >> I have several questions to this experience: >> >> 1. Was it a bug? > Probably but without the error message it is hard to tell. OK. Here are the error messages: 09-Aug 01:12 epo-dir: Start Backup JobId 1787, Job=epowork.2007-08-09_01.12.20 09-Aug 01:21 epohost-sd: epowork.2007-08-09_01.12.20 Fatal error: dev.c:362 dev.c:356 Unable to open device "DDS-4" (/dev/nst0): ERR=Device or resource busy 09-Aug 01:21 epohost-sd: epowork.2007-08-09_01.12.20 Fatal error: device.c:296 Unable to open device "DDS-4" (/dev/nst0): ERR=dev.c:356 Unable to open device "DDS-4" (/dev/nst0): ERR=Device or resource busy 09-Aug 01:21 epowork-fd: epowork.2007-08-09_01.12.20 Fatal error: c:\cygwin\home\kern\bacula\k\src\win32\filed\../../filed/job.c:1602 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data 09-Aug 01:21 epo-dir: epowork.2007-08-09_01.12.20 Error: Bacula 1.38.5 (18Jan06): 09-Aug-2007 01:21:09 JobId: 1787 Job:epowork.2007-08-09_01.12.20 Backup Level: Incremental, since=2007-08-08 00:16:02 Client: "epowork-fd" Windows 2000,MVS,NT 5.0.2195 FileSet:"W2K Set" 2006-09-19 02:16:10 Pool: "LargeTapes" Storage:"DDS-4" Scheduled time: 09-Aug-2007 01:12:17 Start time: 09-Aug-2007 01:12:22 End time: 09-Aug-2007 01:21:09 Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 SD Bytes Written: 0 Rate: 0.0 KB/s Software Compression: None Volume name(s): Volume Session Id: 1 Volume Session Time:1186614658 Last Volume Bytes: 2,690,855,970 Non-fatal FD errors:0 SD Errors: 0 FD termination status: Error SD termination status: Error Termination:*** Backup Error *** > >> 2. Could I have avoided it? > Rewind or unmount the tape when booting. That's what I've begun to do. I even unmount the tape as soon as the back-up is finished. However, I think Bacula should have seen that the tape was DDS-4 and have mounted it as such. Actually I prefer that Bacula would start without automounting a pre-loaded tape. Maybe there is an option for it but I haven't found it. > >> 3. Is the way I use the two pools unreliable? > No this is the correct way. OK, good. > >> 4. Why doesn't Bacula know which pool and storage a specific volume belong >> to? >> > It should. Did the DDS-4 tape have data on it? Did it rewind when the > server went down? Yes, it had data on it. And yes it did rewind when I took the system down. It did not "go down", it was an orderly shut down. -- Erik. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Relative priority?
Hello. Let's say I have three jobs (each running on MySchedule): _ backup a (priority=10); _ backup b (priority=10); _ backup catalog (priority=11). Let's say I have three pools (1, 2 and 3). Each month I'd like to take full backups of all three jobs on all three pools, so I write: Schedule { Name = "MySchedule" Run = Level=Full Pool=1 Storage=Tapes 1st sun at 0:05 Run = Level=Full Pool=2 Storage=Tapes 1st sun at 1:05 Run = Level=Full Pool=3 Storage=HD1st sun at 2:05 } The problem is that the three backup catalogs are taken after all the others. I need instead all backups on each pool to be made consecutively. I wonder if I could write something like: Schedule { Name = "MySchedule" Run = Level=Full Pool=1 Storage=Tapes Priority=-10 1st sun at 0:05 Run = Level=Full Pool=2 Storage=Tapes Priority=-6 1st sun at 1:05 Run = Level=Full Pool=3 Storage=HD1st sun at 2:05 } Is it possible? Any other way to achieve what I need? bye & Thanks av. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Incorrectly mounted tape.
> >> 1. Was it a bug? > > Probably but without the error message it is hard to tell. > > OK. Here are the error messages: > > 09-Aug 01:12 epo-dir: Start Backup JobId 1787, Job=epowork.2007-08-09_01.12.20 > 09-Aug 01:21 epohost-sd: epowork.2007-08-09_01.12.20 Fatal error: dev.c:362 > dev.c:356 Unable to open device "DDS-4" (/dev/nst0): ERR=Device or resource > busy > 09-Aug 01:21 epohost-sd: epowork.2007-08-09_01.12.20 Fatal error: device.c:296 > Unable to open device "DDS-4" (/dev/nst0): ERR=dev.c:356 Unable to open device > "DDS-4" (/dev/nst0): ERR=Device or resource busy > > 09-Aug 01:21 epowork-fd: epowork.2007-08-09_01.12.20 Fatal error: > c:\cygwin\home\kern\bacula\k\src\win32\filed\../../filed/job.c:1602 Bad > response > to Append Data command. Wanted 3000 OK data > , got 3903 Error append data > This error looks to me that for some reason at the time of the backup bacula could not open the tape drive and has nothing to do with pools. John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Incorrectly mounted tape.
John Drescher wrote: 1. Was it a bug? >>> Probably but without the error message it is hard to tell. >> OK. Here are the error messages: >> >> 09-Aug 01:12 epo-dir: Start Backup JobId 1787, >> Job=epowork.2007-08-09_01.12.20 >> 09-Aug 01:21 epohost-sd: epowork.2007-08-09_01.12.20 Fatal error: dev.c:362 >> dev.c:356 Unable to open device "DDS-4" (/dev/nst0): ERR=Device or resource >> busy >> 09-Aug 01:21 epohost-sd: epowork.2007-08-09_01.12.20 Fatal error: >> device.c:296 >> Unable to open device "DDS-4" (/dev/nst0): ERR=dev.c:356 Unable to open >> device >> "DDS-4" (/dev/nst0): ERR=Device or resource busy >> >> 09-Aug 01:21 epowork-fd: epowork.2007-08-09_01.12.20 Fatal error: >> c:\cygwin\home\kern\bacula\k\src\win32\filed\../../filed/job.c:1602 Bad >> response >> to Append Data command. Wanted 3000 OK data >> , got 3903 Error append data >> > > This error looks to me that for some reason at the time of the backup > bacula could not open the tape drive and has nothing to do with pools. If I do a restart of the system with the correct tape loaded and then do a "status storage" I invariably get this message: Device status: Device "DDS-3" (/dev/nst0) is mounted with Volume="EPOL006" Pool="*unknown*" Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 Device "DDS-4" (/dev/nst0) is not open or does not exist. Device "FileBackup" (/downloads/bacula-backups) is not open or does not exist. In Use Volume status: EPOL006 on device "DDS-3" (/dev/nst0) Bacula has correctly read the volume as EPOL006 and clearly doesn't know which pool it belongs to and has made a fatal guess of the storage device. At back-up time it correctly opens DDS-4 which fails with busy indication because someone else (in casu Bacula) has occupied the tape streamer. Maybe I should report it to bugzilla? -- Erik. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Incorrectly mounted tape.
> If I do a restart of the system with the correct tape loaded and then do a > "status storage" I invariably get this message: > > Device status: > Device "DDS-3" (/dev/nst0) is mounted with Volume="EPOL006" Pool="*unknown*" > Total Bytes Read=0 Blocks Read=0 Bytes/block=0 > Positioned at File=0 Block=0 > Device "DDS-4" (/dev/nst0) is not open or does not exist. > Device "FileBackup" (/downloads/bacula-backups) is not open or does not exist. > > > In Use Volume status: > EPOL006 on device "DDS-3" (/dev/nst0) > > > Bacula has correctly read the volume as EPOL006 and clearly doesn't know which > pool it belongs to and has made a fatal guess of the storage device. This status is normal till a job executes on the drive then the pool is figured out. I believe I see your problem. You have the same tape drive as two devices. This is very bad. Are there any special params needed to force the drive to use DDS3 mode versus DDS4 mode? John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Incorrectly mounted tape.
John Drescher wrote: >> If I do a restart of the system with the correct tape loaded and then do a >> "status storage" I invariably get this message: >> >> Device status: >> Device "DDS-3" (/dev/nst0) is mounted with Volume="EPOL006" Pool="*unknown*" >> Total Bytes Read=0 Blocks Read=0 Bytes/block=0 >> Positioned at File=0 Block=0 >> Device "DDS-4" (/dev/nst0) is not open or does not exist. >> Device "FileBackup" (/downloads/bacula-backups) is not open or does not >> exist. >> >> >> In Use Volume status: >> EPOL006 on device "DDS-3" (/dev/nst0) >> >> >> Bacula has correctly read the volume as EPOL006 and clearly doesn't know >> which >> pool it belongs to and has made a fatal guess of the storage device. > > This status is normal till a job executes on the drive then the pool > is figured out. > > I believe I see your problem. You have the same tape drive as two > devices. This is very bad. Are there any special params needed to > force the drive to use DDS3 mode versus DDS4 mode? No, there aren't. So I should keep the two pools but have one storage device only. I that what you propose? -- Erik. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Incorrectly mounted tape.
> No, there aren't. So I should keep the two pools but have one storage device > only. I that what you propose? > Yes, two pools with one storage device is the best way. John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] can't load library: libmysqlclient_r.so.15
Hello, I'm re-installing Bacula using MySQL instead of SQLite. I'm having problems linking with a mysql shared library. >> ./bacula start Starting the Bacula Storage daemon Starting the Bacula File daemon Starting the Bacula Director daemon /etc/bacula/bin/bacula-dir: error while loading shared libraries: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory I searched the archives & manual to find the solution of setting the LD_LIBRARY_PATH to the appropriate mysql library, and also hard coding this in /etc/ld.so.conf. >> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/mysql/lib/ >> export LD_LIBRARY_PATH I did this and still get the linking problem. I verified that /usr/local/mysql/lib/ is accessible which it is, and it has the file libmysqlclient_r.a in there, which I assume is what is needed for libmysqlclient_r.so.15. Any further suggestions? Thanks, Jarrod - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] migrating backups
Hi list, Just wondering if it is possible to migrate a pool on disk (file) to tape but still keep the files on disk for another 2 weeks. The situation is that we have a remote site that is poorly managing their tape rotations. So we want to centralise that but still have a local copy for any restores needed - using the tape as emergency. So the process would be: Weekly backup and incrementals are saved to disk and kept for 3 weeks. Each week a copy of the full backup is sent to remote bacula backup storage demon. After 3 weeks jobs are pruned from catalogue for disk but kept in catalogue for remote tape. I can see in the pool description there is a "cloned" pool type. How is this implemented and would this be the thing I'm after? Any help appreciated. Cheers, Bill _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Test mail, please ignore
Please start ignoring this mail *now*! :-) I'm experiencing trouble receiving mail. This is part of my testing procedure if other of my mail accounts do receive sf list mail. Sorry for the spam. Arno PS: If some of you replied to this mail to [EMAIL PROTECTED] or [EMAIL PROTECTED] it might tell me something... Arno -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users