Re: [Bacula-users] Connection Problems
Anyone have a solution? tcpdump didnt' tell me anything On 10/18/05, John [EMAIL PROTECTED] wrote: Just the post about doing a tcp-dump. Which isn't helpful.On 10/18/05, Paul Burton [EMAIL PROTECTED] wrote:Has there been a response to this post as I have exactly the same problem, i have done a tcp dump on both server and client and all seems aok --Paul Burton | Systems Administrator | Reading RoomT: 020 7432 6016 | E: [EMAIL PROTECTED] A: 53 Frith St, Soho, London W1D 4SN--- LONDON/MANCHESTER/SYDNEY www.readingroom.com2 sites short listed for 2005 New Media Age Awards Winner Best Website - LexisNexis Awards 2005 - LITRGRanked 2nd in UK - Digital Media, Design High Flyers - Design Week 2005 Winner - Visionary Design Award 2004 - Disability Rights CommissionMost Respected Agency – top ten listing New Media Age 2003 and 2004Winner - New Media Age Effectiveness Award 2004 – Race for LifeThe information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited.If you are not the intended recipient please notify us by telephone immediately on 0207 025 1800 or return it to us via e-mail. Please then delete it from your system.
Re: [Bacula-users] Device is BLOCKED waiting for appendable media
Hello, On 21.10.2005 00:44, Gustavo Ribeiro wrote: Hello guys, I'm not so good in english, but i will try describe my problem ( I'm thinking, that's a bug): When i try run a job, that have a empty pool, the storage show me this message: Device is BLOCKED waiting for appendable media No error. When there's no volumefor the required pool it waits. This never happen ! I try run the same job, changing some directives, but not get started. In job's pool, at bacula-director.conf, i had comment : #Maximum Volumes = 2 And Works ! It would be more useful if you posted the whole pool definition... This a bug ! ? Not unless the rest of the pool definition (and the storage) in question doesn't allow automatic volume creation and the device can do so without user intervention... Or, in other words, to determine if this is a bug we would need much more details. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Suggestion for a REALLY handy enhancement, shouldn't be hard either...
Is there any way we could get the ability to do this? I'd love to be able to issue a batch command to bconsole, something similar to bconsole --batch 'status ; 1' Which would tell bconsole to run the command status and then 1 (gets the status of the director) and then exit, outputting the information to the screen (so I can have scripts parse it). Another example: Bconsole --batch 'run ; 8 ; yes' Which would tell bconsole to issue run and 8 (job #8) and then yes to start the backup. This would be great so I can have some simple scripts that force a backup to run, without having to have user interaction... Any thoughts? Thank you, Sherwood --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Suggestion for a REALLY handy enhancement, shouldn't be hard either...
Could have sworn bconsole accepts STDIN. Am I wrong? _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630 Sherwood McGowan wrote: Is there any way we could get the ability to do this? I'd love to be able to issue a batch command to bconsole, something similar to bconsole --batch 'status ; 1' Which would tell bconsole to run the command status and then 1 (gets the status of the director) and then exit, outputting the information to the screen (so I can have scripts parse it). Another example: Bconsole --batch 'run ; 8 ; yes' Which would tell bconsole to issue run and 8 (job #8) and then yes to start the backup. This would be great so I can have some simple scripts that force a backup to run, without having to have user interaction... Any thoughts? Thank you, Sherwood --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Suggestion for a REALLY handy enhancement, shouldn't be hard either...
http://www.bacula.org/rel-manual/Bacula_Console.html#SECTION000208000 Not exactly what you want, but should be a good starting point. On 10/21/05, Sherwood McGowan [EMAIL PROTECTED] wrote: Is there any way we could get the ability to do this? I'd love to be able to issue a batch command to bconsole, something similar to bconsole --batch 'status ; 1' Which would tell bconsole to run the command status and then 1 (gets the status of the director) and then exit, outputting the information to the screen (so I can have scripts parse it). Another example: Bconsole --batch 'run ; 8 ; yes' Which would tell bconsole to issue run and 8 (job #8) and then yes to start the backup. This would be great so I can have some simple scripts that force a backup to run, without having to have user interaction... Any thoughts? Thank you, Sherwood --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
RE: [Bacula-users] Suggestion for a REALLY handy enhancement, shouldn't be hard either...
It does accept STDIN, but wouldn't that just allow a one line command? Or do you mean something like: Cat batchcommands | /etc/bconsole Thanks SKM --Original Message- -From: [EMAIL PROTECTED] -[mailto:[EMAIL PROTECTED] On Behalf -Of Ryan Novosielski -Sent: Friday, October 21, 2005 9:58 AM -To: Sherwood McGowan -Cc: bacula-users@lists.sourceforge.net -Subject: Re: [Bacula-users] Suggestion for a REALLY handy -enhancement, shouldn't be hard either... - -Could have sworn bconsole accepts STDIN. Am I wrong? - - _ _ _ _ ___ _ _ _ -|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support -Spec. III -|$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - -973/972.0922 (2-0922) -\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science -Bldg - C630 - - -Sherwood McGowan wrote: - -Is there any way we could get the ability to do this? - -I'd love to be able to issue a batch command to bconsole, something -similar to - -bconsole --batch 'status ; 1' - -Which would tell bconsole to run the command status and then 1 -(gets the status of the director) and then exit, outputting the -information to the screen (so I can have scripts parse it). -Another example: - -Bconsole --batch 'run ; 8 ; yes' - -Which would tell bconsole to issue run and 8 (job #8) and then -yes to start the backup. This would be great so I can have some -simple scripts that force a backup to run, without having to -have user interaction... - -Any thoughts? - -Thank you, -Sherwood - - - - -This SF.Net email is sponsored by: -Power Architecture Resource Center: Free content, downloads, -discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl -___ -Bacula-users mailing list -Bacula-users@lists.sourceforge.net -https://lists.sourceforge.net/lists/listinfo/bacula-users - - - - - -This SF.Net email is sponsored by: -Power Architecture Resource Center: Free content, downloads, -discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl -___ -Bacula-users mailing list -Bacula-users@lists.sourceforge.net -https://lists.sourceforge.net/lists/listinfo/bacula-users - --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem with AutomaticMount
Hello, I've done a fresh installation of Bacula 1.3.36 on a server with a tape drive. Backup works fine, but I have a problem with restoring. Bacula asks for the correct volume, however after inserting it I have to do a manual mount despite AutomaticMount is set to 'yes' in the SD config. Do you have any idea how I can perform restore jobs without manual intervention? Hendrik --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Suggestion for a REALLY handy enhancement, shouldn't be hard either...
Sherwood McGowan wrote: It does accept STDIN, but wouldn't that just allow a one line command? Or do you mean something like: Cat batchcommands | /etc/bconsole indeed. Or bconsole EOF status storage=Tandberg DLT8000 status director quit EOF -- Russell Howe [EMAIL PROTECTED] --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
RE: [Bacula-users] Suggestion for a REALLY handy enhancement, shouldn't be hard either...
That's exactly what I was looking for... I can't believe I missed that previously... Thank you very very much --Original Message- -From: [EMAIL PROTECTED] -[mailto:[EMAIL PROTECTED] On Behalf -Of Lyle Vogtmann -Sent: Friday, October 21, 2005 10:06 AM -To: Sherwood McGowan -Cc: bacula-users@lists.sourceforge.net -Subject: Re: [Bacula-users] Suggestion for a REALLY handy -enhancement, shouldn't be hard either... - -http://www.bacula.org/rel-manual/Bacula_Console.html#SECTION00 0208000 - -Not exactly what you want, but should be a good starting point. - -On 10/21/05, Sherwood McGowan [EMAIL PROTECTED] wrote: - Is there any way we could get the ability to do this? - - I'd love to be able to issue a batch command to bconsole, something - similar to - - bconsole --batch 'status ; 1' - - Which would tell bconsole to run the command status and then 1 - (gets the status of the director) and then exit, outputting the - information to the screen (so I can have scripts parse it). -Another example: - - Bconsole --batch 'run ; 8 ; yes' - - Which would tell bconsole to issue run and 8 (job #8) and then - yes to start the backup. This would be great so I can have some - simple scripts that force a backup to run, without having -to have user interaction... - - Any thoughts? - - Thank you, - Sherwood - - - - - --- - This SF.Net email is sponsored by: - Power Architecture Resource Center: Free content, downloads, - discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl - ___ - Bacula-users mailing list - Bacula-users@lists.sourceforge.net - https://lists.sourceforge.net/lists/listinfo/bacula-users - - - -This SF.Net email is sponsored by: -Power Architecture Resource Center: Free content, downloads, -discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl -___ -Bacula-users mailing list -Bacula-users@lists.sourceforge.net -https://lists.sourceforge.net/lists/listinfo/bacula-users - --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] postgresql failures
good day all ... backed up my home directory space last night (~200GB) and got numerous failures due to borked out filenames: 20-Oct 17:53 lance-dir: sql_create.c:826 SELECT FilenameId FROM Filename WHERE +Name='_+tmp_mnt_+home_+olman_+ctdata_+data1200_+^???4' Filename (Name) VALUES ('_+tmp_mnt_+home_+olman_+ctdata_+data1200_+^???4') failed: ERROR: invalid byte sequence for encoding UNICODE: 0xffaf34 lots of those. the backup seems to have completed otherwise. i assume it just failed to backup the files with the odd names. is there anyway to get these files backed up? -- michael --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] authorization security
Hello, i have some questions about authorization from client (bacula-fd) to server (bacula-dir). How about security? Maybe somebody can describe very detailed authorization process client-server-client to me? What if i have stolen bacula-fd.conf where is Director password and other information. I install bacula server and configure with information i got from stolen file. And wualja i have full access to all files which are located on that computer. It is only theory, but i think it is possible. Is there a way to make bacula authorization like ssh authorization with keys? Or will be possible to add such option like Server IP address to bacula-fd.conf? Because now i can configure bacula director to any host with right bacula director name and passwords and i will get access to clients. I want to find a way to make authorization process more secure. Viktorija --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] authorization security
On Fri, Oct 21, 2005 at 05:42:18PM +0300, Viktorija wrote: i have some questions about authorization from client (bacula-fd) to server (bacula-dir). How about security? Maybe somebody can describe very detailed authorization process client-server-client to me? What if i have stolen bacula-fd.conf where is Director password and other information. If you have stolen the bacula-fd.conf, then you have root on the machine anyway, right? Anyway, see the section in the manual on using stunnel to wrap your connection. Steve -- Outlook not so good. That magic 8-ball knows everything! I'll ask about Exchange Server next. -- (Stolen from the net) --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] authorization security
On Fri, Oct 21, 2005 at 07:04:57PM +0300, Viktorija wrote: But for now i am searching how to avoid situations with stolen passwords. Don't allow your passwords to be stolen. You haven't explained how someone can read a properly protected bacula-fd.conf but NOT arbitrary other files on the system. If the OS doesn't support access control, then it doesn't. That's hardly a bacula problem, and limiting bacula access won't solve it. Also, stunnel does support authentication, that's what client certificates are about. If you can't afford to encrypt the data stream, then your hypothetical attacker doesn't need to a password to capture the data... Steve -- Outlook not so good. That magic 8-ball knows everything! I'll ask about Exchange Server next. -- (Stolen from the net) --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] authorization security
what about Windows type client? I don't need administrator rights for stolling such file :) As i understand correctly stunnel supports encrypted tunnel for data transfering not authorization, but i need _safe_ authorization. Also such encryption will ask more time for backuping but i have about 100 clients which are backuped every night. I don't think what night will be enough for backuping in this case :) I have windows clients also and in this case i should to install third party software to make stunnel work on them, but network policy doesn't allow me to do it :( Also i still want to know details about authorization client-server-client :) Thanks! Viktorija p.s. I like bacula very much, but i am just worring for my network safety. Bacula is great product! On Fri, 21 Oct 2005 10:14:35 -0500 Steve Greenland [EMAIL PROTECTED] wrote: On Fri, Oct 21, 2005 at 05:42:18PM +0300, Viktorija wrote: i have some questions about authorization from client (bacula-fd) to server (bacula-dir). How about security? Maybe somebody can describe very detailed authorization process client-server-client to me? What if i have stolen bacula-fd.conf where is Director password and other information. If you have stolen the bacula-fd.conf, then you have root on the machine anyway, right? Anyway, see the section in the manual on using stunnel to wrap your connection. Steve -- Outlook not so good. That magic 8-ball knows everything! I'll ask about Exchange Server next. -- (Stolen from the net) --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] authorization security
yes. but as i said before i can see this password in stolen bacula-fd.conf file and i can use it for configuring bacula server to stole other needed files from that server without having administrators rights. So it doesn't is password in plain text or CRAM-MD5. I think it would be great if bacula will have like ssh has authorization with keys. It would be nice feature. But for now i am searching how to avoid situations with stolen passwords. Viktorija On Fri, 21 Oct 2005 11:45:04 -0400 Dan Langille [EMAIL PROTECTED] wrote: On 21 Oct 2005 at 18:30, Viktorija wrote: Also i still want to know details about authorization client-server-client :) Thanks! From http://www.bacula.org/dev-manual/Current_State_Bacula.html CRAM-MD5 password authentication between each component (daemon). The daemons authenticate using the above. It's not clear text. p.s. I like bacula very much, but i am just worring for my network safety. Bacula is great product! Safety and security is a good thing. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/ --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: [Bacula-users] proteccion de contraseñas
El Viernes 21 Octubre 2005 13:57, Dan Langille escribió: On 21 Oct 2005 at 11:31, [EMAIL PROTECTED] wrote: hola quisiera que me ayuden para ver si hay alguna posibildad de proteger las contraseñas que estan en los archivos de configuracion de bacula Can someone please translate this to English. Thank you. He wants to know if there's a way to protect the passwords in bacula config files. -- (\''/).__..-''`-. . Roberto Alsina `9_ 9 ) `-. ( ).`-._.`) [EMAIL PROTECTED] (_Y_.)' ._ ) `._`. -.-' KDE Developer (MFCH) _..`-'_..-_/ /-'_.' (l)-'' ((i).' ((!.' Buenos Aires - Argentina Imminentizing the eschaton since 1971. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: [Bacula-users] Re: [Bacula-users] proteccion de contraseñas
On 21 Oct 2005 at 14:05, Roberto Alsina wrote: El Viernes 21 Octubre 2005 13:57, Dan Langille escribió: On 21 Oct 2005 at 11:31, [EMAIL PROTECTED] wrote: hola quisiera que me ayuden para ver si hay alguna posibildad de proteger las contraseñas que estan en los archivos de configuracion de bacula Can someone please translate this to English. Thank you. He wants to know if there's a way to protect the passwords in bacula config files. Use whatever tools your operating system provides. Restrict access to the files, much like the restricted access for the password files under Unix. You might also want to read about TLS in the development manual. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/ --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] authorization security
Viktorija wrote: what about Windows type client? I don't need administrator rights for stolling such file :) But you're using restricted consoles on your Windows clients that allow access only to jobs saved for that machine, right? Or maybe you don't even HAVE a console installed on the Windows client, in which case our hypothetical thief can't get the director to give him any data because the client has no permission to open a console session. I'm fairly sure you'll find compromise of a client, unless the client has a full, unrestricted console, does not get you access to any data that wasn't already on the client you compromised in the first place. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Connection reset by peer
Timo Neuvonen wrote: I just added into my system another file daemon to be baked up. This new client is dilbert-fd, which is located in the dmz network segment of a SonicWall firewall, while the director and the storage daemon are on the lan network segment. By default, all traffic from lan to dmz is allowed. I also made a firewall rule to open the port 9103 from dmz to the director. There are tcp and udp protocols to choose from in the rules (I chose tcp), which one would be the correct one to use in the rule that is expected to allow the file daemon to communicate with storage daemon? Now, when I start a backup job, everything seems to be running nicely. Until... 21-Oct 16:16 dogbert-dir: Nightly_Backup_-Dilbert.2005-10-21_16.01.35 Fatal error: Network error with FD during Backup: ERR=Connection reset by peer 21-Oct 16:17 dogbert-dir: Nightly_Backup_-Dilbert.2005-10-21_16.01.35 Fatal error: No Job status returned from FD. I tried this several times. It kept taking appr. 15 minutes, until the backup job always terminates with this error: After investigating the firewall rules, the default rule for traffic from lan to dmz had 15 minute Inactivity Timeout. To be quite honest, I don't know what this exactly means. Anyway, I changed this to 5 minutes, and then the same error started appear in 5 minutes. Of course, I need to find out what this timeout means, but now I'm wondering what kind of connection used by Bacula causes this? Is there a connection from director to file daemon that is opened at the beginning of the job, but there is no traffic anyway? I wouldn't like to change this timeout permanently to any very long time, unless I really know it is necessary... Timo, you are aware that just port 9103 isn't enough, right? The Director will tell the FD which SD to dsend data to, and the client will send data directly to the SD. So that port needs to be open too. I'd play safe and open 9101-9103, then try it again and see if it works like that. Also enable the heartbeat for that client. -- Phil Stracchino [EMAIL PROTECTED] Renaissance Man, Unix generalist, Perl hacker Mobile: 603-216-7037 Landline: 603-886-3518 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Building on x86_64
I'm having some difficulties getting the rpms to build on an x86_64 host. Everything builds but the tetex stuff for html. Here is an excerpt: + cd src/filed + strip static-bacula-fd + cd ../../ + cd doc/latex + make latex -interaction=batchmode bacula.tex This is TeX, Version 3.14159 (Web2C 7.4.5) make: [tex] Error 1 (ignored) makeindex bacula.idx -o bacula.ind 2/dev/null makeindex bacula.ddx -o bacula.dnd /dev/null 2/dev/null makeindex bacula.fdx -o bacula.fnd /dev/null 2/dev/null makeindex bacula.sdx -o bacula.snd /dev/null 2/dev/null makeindex bacula.cdx -o bacula.cnd /dev/null 2/dev/null latex -interaction=batchmode bacula.tex This is TeX, Version 3.14159 (Web2C 7.4.5) make: [tex] Error 1 (ignored) Making web latex2html -split 4 -local_icons -t Bacula User's Guide -long_titles 4 \ -toc_stars -contents_in_nav -white -notransparent bacula /dev/null texexpand V2002-2-1 (Revision 1.11) Warning: No implementation found for package: float Warning: No implementation found for package: graphicx Warning: No implementation found for package: setspace Warning: No implementation found for package: hyperrefThis is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com) ' TeX output 2005.10.21:1054' - /tmp/l2h4799/image (- /tmp/l2h4799/image001) tex.proalt-rule.protexc.prospecial.pro color.pro[1./bacula-logo.eps] (- /tmp/l2h4799/image002) tex.pro alt-rule.protexc.prospecial.procolor.pro[2./bacula-applications.eps] (- /tmp/l2h4799/image003) tex.proalt-rule.protexc.prospecial.pro color.pro[3./bacula-objects.eps] (- /tmp/l2h4799/image004) tex.pro alt-rule.protexc.prospecial.procolor.pro[4./flow.eps] (- /tmp/l2h4799/image005) tex.proalt-rule.protexc.prospecial.pro color.pro[5./Bacula-tray-monitor.eps] (- /tmp/l2h4799/image006) tex.proalt-rule.protexc.prospecial.procolor.pro[6 ./Conf-Diagram.eps] (- /tmp/l2h4799/image007) tex.proalt-rule.pro texc.prospecial.procolor.pro[7./bimagemgr1.eps] (- /tmp/l2h4799/image008) tex.proalt-rule.protexc.prospecial.pro color.pro[8./bimagemgr2.eps] (- /tmp/l2h4799/image009) tex.pro alt-rule.protexc.prospecial.procolor.pro[9./bimagemgr3.eps] (- /tmp/l2h4799/image010) tex.proalt-rule.protexc.prospecial.pro color.pro[10./win32-nsis.eps] (- /tmp/l2h4799/image011) tex.pro alt-rule.protexc.prospecial.procolor.pro[11./win32-welcome.eps] (- /tmp/l2h4799/image012) tex.proalt-rule.protexc.prospecial.pro color.pro[12./win32-pkg.eps] (- /tmp/l2h4799/image013) tex.pro alt-rule.protexc.prospecial.procolor.pro[13./win32-location.eps] (- /tmp/l2h4799/image014) tex.proalt-rule.protexc.prospecial.pro color.pro[14./win32-service.eps] (- /tmp/l2h4799/image015) tex.pro alt-rule.protexc.prospecial.procolor.pro[15./win32-service-ok.eps] (- /tmp/l2h4799/image016) tex.proalt-rule.protexc.prospecial.pro color.pro[16./win32-start.eps] (- /tmp/l2h4799/image017) tex.pro alt-rule.protexc.prospecial.procolor.pro[17./win32-finish.eps] (- /tmp/l2h4799/image018) tex.proalt-rule.protexc.prospecial.pro color.pro[18./idle.eps] (- /tmp/l2h4799/image019) tex.pro alt-rule.protexc.prospecial.procolor.pro[19./tray-icon.eps] (- /tmp/l2h4799/image020) tex.proalt-rule.protexc.prospecial.pro color.pro[20./menu.eps] (- /tmp/l2h4799/image021) tex.pro alt-rule.protexc.prospecial.procolor.pro[21./running.eps] (- /tmp/l2h4799/image022) tex.proalt-rule.protexc.prospecial.pro color.pro[22./error.eps] (- /tmp/l2h4799/image023) tex.pro alt-rule.protexc.prospecial.procolor.pro[23./access-is-denied.eps] (- /tmp/l2h4799/image024) tex.proalt-rule.protexc.prospecial.pro color.pro[24./view-only.eps] (- /tmp/l2h4799/image025) tex.pro alt-rule.protexc.prospecial.procolor.pro[25 ./properties-security.eps] (- /tmp/l2h4799/image026) tex.pro alt-rule.protexc.prospecial.procolor.pro[26 ./properties-security-advanced-owner.eps] (- /tmp/l2h4799/image027) tex.proalt-rule.protexc.prospecial.procolor.pro[27./confirm.eps] Error (Link): Link bacula.html to index.html failed: No such file or directory at /usr/bin/latex2html line 886 ./translate_images.pl bacula/Bacula_Users_Guide.html translate_images.pl: 0 images translated to meaningful names mv: cannot stat `bacula/img15.png': No such file or directory make: *** [web] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.73770 (%build) I have all the same tetex packages installed that are on my 32bit host, but still no go. Any help? -- Jesse Keating GameHouse -- Systems Engineer --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] btape dumps core
I'm trying to install bacula on a 64-bit version of Red Hat Linux, and cannot get past the btape tests when I use an autochanger storage configuration. I am able to operate the changer manually using the mtx program, and the btape test command will test the tape drive successfully so long as I omit the autochanger part of the storage configuration file. The only changes that I've made to the autoconf-generated storage config file are to eliminate the file storage section and to instead uncomment the autochanger and two tape drive sections. Here are the series of commands that I issued to run the btape program: [EMAIL PROTECTED] sbin]# LD_ASSUME_KERNEL=2.4.19 [EMAIL PROTECTED] sbin]# export LD_ASSUME_KERNEL [EMAIL PROTECTED] sbin]# ulimit -c unlimited [EMAIL PROTECTED] sbin]# ./btape -c ../etc/bacula-sd.conf /dev/nst0 Tape block granularity is 1024 bytes. btape: butil.c:264 Using device: /dev/nst0 for writing. 21-Oct 13:48 btape: 3301 Issuing autochanger loaded drive 0 command. 21-Oct 13:48 btape: Fatal Error because: Bacula interrupted by signal 11: Segmentation violation Kaboom! btape, btape got signal 11. Attempting traceback. Kaboom! exepath=/opt/bacula/sbin Calling: /opt/bacula/sbin/btraceback /opt/bacula/sbin/btape 0 Traceback complete, attempting cleanup ... Segmentation fault (core dumped) A backtrace of the resulting core file provides the following enlightenment: (gdb) bt #0 dequeue_messages (jcr=0x0) at message.c:1268 #1 0x0042c89e in b_free_jcr (file=0x572078 \001, line=0, jcr=0x0) at jcr.c:392 #2 0x00404aff in terminate_btape (stat=11) at btape.c:302 #3 0x00437026 in signal_handler (sig=11) at signal.c:162 #4 0x002a9558f2e8 in __pthread_sighandler () from /lib64/libpthread.so.0 #5 signal handler called #6 edit_device_codes (dcr=0x579808, omsg=0x589e88 , imsg=0x0, cmd=0x43ddc8 loaded) at autochanger.c:444 #7 0x0041b6c8 in get_autochanger_loaded_slot (dcr=0x579808) at autochanger.c:159 #8 0x004115ef in DEVICE::open_tape_device (this=0x578de8, dcr=0x579808, omode=3) at dev.c:338 #9 0x0041184e in DEVICE::open (this=0x578de8, dcr=0x579808, omode=3) at dev.c:281 #10 0x00414933 in first_open_device (dcr=0x579808) at device.c:267 #11 0x0040ed69 in setup_jcr (name=0x578098 '\u' repeats 200 times..., dev_name=0x579808 , bsr=0x0, VolumeName=0x0, mode=0) at butil.c:173 #12 0x00409c3d in main (margc=0, margv=0x7fb9e0) at btape.c:260 I also receive an email with the Subject: Bacula GDB traceback of btape Using host libthread_db library /lib64/libthread_db.so.1. ptrace: Operation not permitted. /tmp/0: No such file or directory. $1 = '\0' repeats 29 times $2 = 0x0 $3 = 0x0 $4 = PostgreSQL $5 = 0x449e53 1.37.40 (01 October 2005) $6 = 0x449e3a x86_64-unknown-linux-gnu $7 = 0x449e33 redhat $8 = 0x449e20 Enterprise release No stack. /opt/bacula/etc/btraceback.gdb:11: Error in sourced command file: No stack. I'd welcome any suggestions about what further steps I can take to track down what's going wrong here. -- John KodisGoddard Space Flight Center [EMAIL PROTECTED] Greenbelt, Maryland, USA Phone: 301-286-7376 Fax: 301-286-1771 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] mixed devices in an autochanger?
Hello, I have a Sun L180 tape library that has four DLT7000 drives and two SDLT drives. What I want to accomplish is to have two pools of tapes, with the first being all my DLT-IV media and the second being the SDLT media. This I've managed by defining the two pools in bacula-sd.conf and manually dividing the media into the two pools. I then want to force the system to use the first pool only in the first four drives and the second pool in the last two drives. I havn't managed this one. I have the autochanger defined as Autochanger { Name = L180 Device = DLT7000-1, DLT7000-2, DLT7000-3, DLT7000-4, SDLT-1, SDLT-2 Changer Command = /usr/local/bacula/etc/mtx-changer %c %o %S %a %d Changer Device = /dev/scsi/changer/c8t0d0 } and the media type for all drives is set to DLT. I did try to set the media type to DLT7000 and SDLT but then the system complained that the authchanger has to have a single media type. One thought I had - it is possible to define two autochangers pointing to the same physical library and divide the tape drives that way? I am running version 1.37.40 on a Solaris 10 system. Thanks. -- Dr. Douglas O'Neal Manager, Bioinformatics Center Delaware Biotechnology Institute (302) 831-3456 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] My Kludgey way to make bacula recycle daily tapes with no intervention
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the product. I seem to have cajoled it into doing what I want it to. After much futzing around with bacula on a couple of gentoo boxes I seem to have stumbled upon a fix to a problem that I was having trying to implement a simple1 tape per pool (pools for each day of the work week M-F) starting with the example in the online manual located here: bacula.org/rel-manual/Backup_Strategies.html#SECTION000263000 Let me say that The way I am doing this is most probably INCORRECT - but it does work for me, and I have seen others with this type of problem. If my description starts a flurry of messages about how ignorant I am about bacula then so be it. I am pretty sure I can take it without having to commit hari-kari (?) or any other such drastic action... My backup scenario is to use 5 tapes (1 each for Monday thru Friday) full backup each night - then reuse the same tape the next week. Separate pools - much like the earlier mentioned example in the online manual. When the backup completes the tape is ejected and the users put in the next daily tape and take the previous one off site. In short, the problem was that something was wacky and the job would try to start and would complain about there not being any volumes available. I would log into the box, start bconsole and issue a mount command and the backup would start. I tried doing this via a Run Before job with no success - the director would squawk about there being no volumes available. Then one day I was scratching my head and logged in the box during the day and issued a stat enter then 4 enter there was a small but visible delay in the output... and lo and behold the volume status was set to Recycle and the job ran that evening without intervention... I must have something messed up with my volume definitions or something. After executing the stat 4, I would receive a daemon message about the volume being recycled. Before I forget, it seems to me that entering stat 4 enter in bconsole does not produce the same output as entering stat enter 4 enter. Not sure what is going on there. Here is my Default Pool stanza and my Pool definition for Monday - Tuesday-Friday Pools have the same definitions. # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes# Prune expired volumes Volume Retention = 6 days # Accept Any Volume = yes# write on any volume in the pool } Pool { Name = MondayPool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 6d Accept Any Volume = yes Maximum Volume Jobs = 2 Volume Use Duration = 19 hours } My solution to my problem was to use the following in a Run Before directive: /etc/bacula/bconsole END_OF_DATA stat 4 mount storage=DDS-3 quit END_OF_DATA It produces a whack of output - here is a modded output from the job: 20-Oct 21:00 futz-dir: RunBefore: Connecting to Director futz:9101 20-Oct 21:00 futz-dir: RunBefore: 1000 OK: futz-dir Version: 1.36.3 (22 April 2005) 20-Oct 21:00 futz-dir: RunBefore: Enter a period to cancel a command. 20-Oct 21:00 futz-dir: RunBefore: stat 20-Oct 21:00 futz-dir: RunBefore: Using default Catalog name=MyCatalog DB=bacula 20-Oct 21:00 futz-dir: RunBefore: Status available for: 20-Oct 21:00 futz-dir: RunBefore: 1: Director 20-Oct 21:00 futz-dir: RunBefore: 2: Storage 20-Oct 21:00 futz-dir: RunBefore: 3: Client 20-Oct 21:00 futz-dir: RunBefore: 4: All 20-Oct 21:00 futz-dir: RunBefore: Select daemon type for status (1-4): 4 20-Oct 21:00 futz-dir: RunBefore: futz-dir Version: 1.36.3 (22 April 2005) i686-pc-linux-gnu gentoo 1.6.13 20-Oct 21:00 futz-dir: RunBefore: Daemon started 13-Oct-05 15:05, 15 Jobs run since started. 20-Oct 21:00 futz-dir: RunBefore: 20-Oct 21:00 futz-dir: RunBefore: Scheduled Jobs: 20-Oct 21:00 futz-dir: RunBefore: Level Type Pri Scheduled Name Volume 20-Oct 21:00 futz-dir: RunBefore: === 20-Oct 21:00 futz-dir: RunBefore: Full Backup11 20-Oct-05 21:15 BackupCatalog *unknown* 20-Oct 21:00 futz-dir: RunBefore: Full Backup10 21-Oct-05 21:00 NightlySave*unknown* 20-Oct 21:00 futz-dir: RunBefore: 20-Oct 21:00 futz-dir: RunBefore: 20-Oct 21:00 futz-dir: RunBefore: Running Jobs: 20-Oct 21:00 futz-dir: RunBefore: JobId Level Name Status 20-Oct 21:00 futz-dir: RunBefore: == 20-Oct 21:00 futz-dir: RunBefore: 47 Full NightlySave.2005-10-20_21.00.00 is running 20-Oct 21:00 futz-dir: RunBefore: 20-Oct 21:00 futz-dir: RunBefore: 20-Oct 21:00 futz-dir: RunBefore: Terminated Jobs: 20-Oct 21:00 futz-dir: RunBefore: JobId Level Files Bytes Status FinishedName
Re: [Bacula-users] Restore errors: Permission Denied
On Thu, 20 Oct 2005 16:29:17 +1000, Craig Holyoak [EMAIL PROTECTED] said: Craig On Wed, 2005-10-19 at 11:17 +0100, Martin Simmons wrote:=20 On Wed, 19 Oct 2005 12:08:24 +1000, Craig Holyoak [EMAIL PROTECTED] said: Craig I'm running bacula 1.36.2 on Debian stable. Whenever I try to run a restore Craig job, it fails with: Craig 19-Oct 11:29 helmsdeep: Start Restore Job Restore.2005-10-19_11.29.50 Craig 19-Oct 11:29 newman: Restore.2005-10-19_11.29.50 Fatal error: Could not create bootstrap file /var/lib/bacula/newman.Restore.2005-10-19_11.29.50.bootstrap: ERR=3DPermission denied Craig 19-Oct 11:29 newman: Restore.2005-10-19_11.29.50 Fatal error: job.c:1662 Comm error with SD. bad response to Bootstrap. ERR=3DConnection reset by peer Craig 19-Oct 11:29 helmsdeep: Restore.2005-10-19_11.29.50 Error: Bacula 1.36.2 (28Feb05): 19-Oct-2005 11:29:53 Craig JobId: 878 Craig Job:Restore.2005-10-19_11.29.50 Craig Client: newman Craig Start time: 19-Oct-2005 11:29:52 Craig End time: 19-Oct-2005 11:29:53 Craig Files Expected: 1 Craig Files Restored: 0 Craig Bytes Restored: 0 Craig Rate: 0.0 KB/s Craig FD Errors: 0 Craig FD termination status: Error Craig SD termination status: Error Craig Termination:*** Restore Error *** Craig This machine runs all bacula daemons. The director and sd run as the bacula Craig user, and the sd runs as root. /var/lib/bacula is writable by the bacula user Craig (and root, obviously :-). Craig I've tried modifying the job and redirecting the bootstrap file elsewhere (eg Craig /tmp), but I keep getting the same errors. I have never run a successful Craig restore using bconsole. I'm forced to use bextract to do all my restores, Craig which works fine. Craig Any ideas? The error comes from the SD. So helmsdeep and newman are the same machine? Craig helmsdeep is the name of my bacula director, which runs on newman, Craig so yes, these are the same machine. Does getting the same errors mean that it always says /var/lib/bacula even when the bootstrap should be in /tmp? Craig Perhaps I'm a little unclear on what bootstraps are involved. By Craig default, a bootstrap for the job is placed Craig in /var/lib/bacula/restore.bsr. If I change this elsewhere by modifying Craig the job before it is run, ie, /tmp/restore.bsr, it fails because it Craig can't find the file - there is no /tmp/restore.bsr. But even though it Craig creates the bootstrap successfully to /var/lib/bacula/restore.bsr, it Craig still wants to Craig create /var/lib/bacula/newman.Restore.2005-10-19_11.29.50.bootstrap, at Craig which point if fails with permission denied. Ah, I see. From the output, it looks like your File Daemon and Store Daemon are both called newman (in the conf files)? What happens if you rename one of the them to something else? I'm wondering if there is a filename clash somehere. __Martin --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] btape dumps core
Hello, On 21.10.2005 20:18, John Kodis wrote: I'm trying to install bacula on a 64-bit version of Red Hat Linux, and cannot get past the btape tests when I use an autochanger storage configuration. I am able to operate the changer manually using the mtx program, and the btape test command will test the tape drive successfully so long as I omit the autochanger part of the storage configuration file. The only changes that I've made to the autoconf-generated storage config file are to eliminate the file storage section and to instead uncomment the autochanger and two tape drive sections. I've seen that... I could work around that by using my older bacula-sd.conf file - one without the autochanger resource. I supposte that btape is simply not yet developed to know about the newer configuration file format. So, I suggest you create a small fake configuration file and report your results! Arno Here are the series of commands that I issued to run the btape program: [EMAIL PROTECTED] sbin]# LD_ASSUME_KERNEL=2.4.19 [EMAIL PROTECTED] sbin]# export LD_ASSUME_KERNEL [EMAIL PROTECTED] sbin]# ulimit -c unlimited [EMAIL PROTECTED] sbin]# ./btape -c ../etc/bacula-sd.conf /dev/nst0 Tape block granularity is 1024 bytes. btape: butil.c:264 Using device: /dev/nst0 for writing. 21-Oct 13:48 btape: 3301 Issuing autochanger loaded drive 0 command. 21-Oct 13:48 btape: Fatal Error because: Bacula interrupted by signal 11: Segmentation violation Kaboom! btape, btape got signal 11. Attempting traceback. Kaboom! exepath=/opt/bacula/sbin Calling: /opt/bacula/sbin/btraceback /opt/bacula/sbin/btape 0 Traceback complete, attempting cleanup ... Segmentation fault (core dumped) A backtrace of the resulting core file provides the following enlightenment: (gdb) bt #0 dequeue_messages (jcr=0x0) at message.c:1268 #1 0x0042c89e in b_free_jcr (file=0x572078 \001, line=0, jcr=0x0) at jcr.c:392 #2 0x00404aff in terminate_btape (stat=11) at btape.c:302 #3 0x00437026 in signal_handler (sig=11) at signal.c:162 #4 0x002a9558f2e8 in __pthread_sighandler () from /lib64/libpthread.so.0 #5 signal handler called #6 edit_device_codes (dcr=0x579808, omsg=0x589e88 , imsg=0x0, cmd=0x43ddc8 loaded) at autochanger.c:444 #7 0x0041b6c8 in get_autochanger_loaded_slot (dcr=0x579808) at autochanger.c:159 #8 0x004115ef in DEVICE::open_tape_device (this=0x578de8, dcr=0x579808, omode=3) at dev.c:338 #9 0x0041184e in DEVICE::open (this=0x578de8, dcr=0x579808, omode=3) at dev.c:281 #10 0x00414933 in first_open_device (dcr=0x579808) at device.c:267 #11 0x0040ed69 in setup_jcr (name=0x578098 '\u' repeats 200 times..., dev_name=0x579808 , bsr=0x0, VolumeName=0x0, mode=0) at butil.c:173 #12 0x00409c3d in main (margc=0, margv=0x7fb9e0) at btape.c:260 I also receive an email with the Subject: Bacula GDB traceback of btape Using host libthread_db library /lib64/libthread_db.so.1. ptrace: Operation not permitted. /tmp/0: No such file or directory. $1 = '\0' repeats 29 times $2 = 0x0 $3 = 0x0 $4 = PostgreSQL $5 = 0x449e53 1.37.40 (01 October 2005) $6 = 0x449e3a x86_64-unknown-linux-gnu $7 = 0x449e33 redhat $8 = 0x449e20 Enterprise release No stack. /opt/bacula/etc/btraceback.gdb:11: Error in sourced command file: No stack. I'd welcome any suggestions about what further steps I can take to track down what's going wrong here. -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula with 3 HDs for storage
Hi, I am new to bacula and I wan´t some help. I have installed and configured all the bacula´s config files and it´s running ok. But when I run the status all command in bconsole it returns on device status: Device status: Archive FileStorage0 is not open or does not exist. Archive FileStorage1 is not open or does not exist. Archive FileStorage2 is not open or does not exist. It´s a problem? What is that? My bacula-sd file:(Device part) Device { Name = FileStorage0 Media Type = File Archive Device = /mirror/disk0 LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Device { Name = FileStorage1 Media Type = File Archive Device = /mirror/disk1 LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Device { Name = FileStorage2 Media Type = File Archive Device = /mirror/disk2 LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } And my bacula-dir file: (Storage part) Storage { Name = File0 # Do not use localhost here Address = backup.lps.ufrj.br# N.B. Use a fully qualified name here SDPort = 9103 Password = password Device = FileStorage0 Media Type = File } Storage { Name = File1 # Do not use localhost here Address = backup.lps.ufrj.br# N.B. Use a fully qualified name here SDPort = 9103 Password = password Device = FileStorage1 Media Type = File } Storage { Name = File2 # Do not use localhost here Address = backup.lps.ufrj.br# N.B. Use a fully qualified name here SDPort = 9103 Password = password Device = FileStorage2 Media Type = File } Thanks, Pedro Mazzoni --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] n00b looking for advise and insight
Hardware: -24 tape library -two magazines (7 tapes each) (other slots currently empty) I want to make this as simple as possible for an individual to take backups off site so my plan was to try and seperate the different removals to coincide with the magazines. That is, make it so an entire magazine can be pulled out and another put in (then just run the update slots). The backup schema is as follows: Weekly backup of data (2 weeks) -End of each week the first week is removed and taken off site and replaced with the next weeks media. Monthly backup of full systems (2 months) -End of each month the first month is removed and taken off site and replaced with the next months media. Each of these groups(pools/jobs) of media can easily fit within the 7 tapes in each magazine. So my plan was to have 4 magazines (2 weeklys, 2 monthlys) which are rotated. This is not the most ideal setup but thought it would make life easy for those having to manage the volumes(tapes). I think I have an idea how to do this accept one aspect and it is likely a result of my total lack of understanding of bacula and how its different from my previous experience but in anycase here is my issue. It would seem I can only specify Job Retention periods per Client Resource. If this is the case then my next conclusion is that if I want multiple jobs with different Job Retentions (ie: weekly and monthly) I will have to have multiple Client Resources for each client (since this is where the retention for the job appears to be located). If this is the case then it would seem I would also need another Job Resource for each of those Client Resources since in the Job Resource I specify the actual client. Am I even on the right track or have I flown off into n00by confusion land and not only am I going about this entirely wrong but I have not grasped how the configs work? TIA and I apologize upfront for my ignorance. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] btape dumps core
On Fri, Oct 21, 2005 at 09:29:04PM +0200, Arno Lehmann wrote: I've seen that... I could work around that by using my older bacula-sd.conf file - one without the autochanger resource. I supposte that btape is simply not yet developed to know about the newer configuration file format. Yes, that would explain it. I was fooled by the section of the Testing Your Tape Drive With Bacula web page that says that If you have an autochanger and it is configured, Bacula will automatically use it. It looks like the guys writing the documentation just got a bit ahead of the guys writing the btape code. Since I've verified that the tape drives themselves pass the btape tests, I'll just proceed with setting up Bacula and not worry about this test code failure. Thanks for the suggestion. It saved me a potentially painful session with gdb trying to figure out what was going wrong. -- John KodisGoddard Space Flight Center [EMAIL PROTECTED] Greenbelt, Maryland, USA Phone: 301-286-7376 Fax: 301-286-1771 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore errors: Permission Denied [SOLVED]
On Fri, 2005-10-21 at 20:11 +0100, Martin Simmons wrote: On Thu, 20 Oct 2005 16:29:17 +1000, Craig Holyoak [EMAIL PROTECTED] said: Craig On Wed, 2005-10-19 at 11:17 +0100, Martin Simmons wrote:=20 On Wed, 19 Oct 2005 12:08:24 +1000, Craig Holyoak [EMAIL PROTECTED] said: Craig I'm running bacula 1.36.2 on Debian stable. Whenever I try to run a restore Craig job, it fails with: Craig 19-Oct 11:29 helmsdeep: Start Restore Job Restore.2005-10-19_11.29.50 Craig 19-Oct 11:29 newman: Restore.2005-10-19_11.29.50 Fatal error: Could not create bootstrap file /var/lib/bacula/newman.Restore.2005-10-19_11.29.50.bootstrap: ERR=3DPermission denied Craig 19-Oct 11:29 newman: Restore.2005-10-19_11.29.50 Fatal error: job.c:1662 Comm error with SD. bad response to Bootstrap. ERR=3DConnection reset by peer Craig 19-Oct 11:29 helmsdeep: Restore.2005-10-19_11.29.50 Error: Bacula 1.36.2 (28Feb05): 19-Oct-2005 11:29:53 Craig JobId: 878 Craig Job:Restore.2005-10-19_11.29.50 Craig Client: newman Craig Start time: 19-Oct-2005 11:29:52 Craig End time: 19-Oct-2005 11:29:53 Craig Files Expected: 1 Craig Files Restored: 0 Craig Bytes Restored: 0 Craig Rate: 0.0 KB/s Craig FD Errors: 0 Craig FD termination status: Error Craig SD termination status: Error Craig Termination:*** Restore Error *** Craig This machine runs all bacula daemons. The director and sd run as the bacula Craig user, and the sd runs as root. /var/lib/bacula is writable by the bacula user Craig (and root, obviously :-). Craig I've tried modifying the job and redirecting the bootstrap file elsewhere (eg Craig /tmp), but I keep getting the same errors. I have never run a successful Craig restore using bconsole. I'm forced to use bextract to do all my restores, Craig which works fine. Craig Any ideas? The error comes from the SD. So helmsdeep and newman are the same machine? Craig helmsdeep is the name of my bacula director, which runs on newman, Craig so yes, these are the same machine. Does getting the same errors mean that it always says /var/lib/bacula even when the bootstrap should be in /tmp? Craig Perhaps I'm a little unclear on what bootstraps are involved. By Craig default, a bootstrap for the job is placed Craig in /var/lib/bacula/restore.bsr. If I change this elsewhere by modifying Craig the job before it is run, ie, /tmp/restore.bsr, it fails because it Craig can't find the file - there is no /tmp/restore.bsr. But even though it Craig creates the bootstrap successfully to /var/lib/bacula/restore.bsr, it Craig still wants to Craig create /var/lib/bacula/newman.Restore.2005-10-19_11.29.50.bootstrap, at Craig which point if fails with permission denied. Ah, I see. From the output, it looks like your File Daemon and Store Daemon are both called newman (in the conf files)? What happens if you rename one of the them to something else? I'm wondering if there is a filename clash somehere. Renaming the SD to newman-sd worked perfectly. Thanks! Craig -- Craig Holyoak [EMAIL PROTECTED] http://www.helmsdeep.org/ signature.asc Description: This is a digitally signed message part