Re: [Bacula-users] Tape Drive blocked, waiting for tape in, another drive
Evan Fraser wrote: > Attached are the excerpts of the log from last night, and the list media > command I ran this morning whilst the job is hung. > > As you can see, I have setup a weekly pool rotation, but this problem was > also occurring when I only had default and scratch pools. > > I forgot to mention that I have prefer mounted volumes = no set. > Wow, what a mess. You certainly have an interesting definition of "running very well".Your job log looks like it includes about 20 different jobs most of which include at least one error, some of which don't appear to finish at all. Which one, exactly, are you asking about? -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FD command not found:
Pascal Clermont wrote: > I have added a new machine to be backed up with bacula and I cannot get a > full backup, always have these weird errors. > the current setup is all centos 5.3 86_64 and every other host besides this > one have been working flawlessly for over 6 months. > > DIR Version: Version: 3.0.1 (30 April 2009) > > Client-FD Version: Version: 3.0.1 (30 April 2009) > > > the error output: > > JobId 2744: Fatal error: fd_cmds.c:181 FD command not found: > wMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxZjUwMDczNWEw > MTRmMzYwMDAwMjQ3ZjAxMDEwMTAxMDEwMTAxMDEwMTAxMDENCjE4MmEzNzAwMzUwMTAxMDEw > MTAxMDEwMTAxMDEwMTAxZjcwMDMzMDEwMTAxMDEwMTAxNWE5YTY4NTQ1NzliODYxNjAxMDEw > MTNiOGEwMWE3ODcwMTAxMDE0ZWI5MmQwMTc4ZjhlYzAxMDEwMTAxMDEwMTAxMDEwMTAxNGZi > NGNhDQo1MTAxMDEwMTAxMDExYmM3N2UyMzRhYjAwMzFlMDFlNzAwOTFiODAwYzc4NTAwNTYw > > DkwYzE4MzcyYjAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwZWI5Y2Ux > NjAxMGU1YjY1MDEzMg0KMDFiZDRmNGY3NWUwZDQ4MWIwZWFkMTM3MmIwMTAxMDFhMTAwYjNh > MDAxMDEwMTAxY2Y3MWUwZTBlMDgxODAwMTAxMDEwMTAxMDEwMTAxOTI3Y2NhYzQ0YTQ0ZTAw > YjAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDE4N227 > JobId 2744: Fatal error: fd_cmds.c:172 Command error with FD, hanging up. > Your disk might be filling up during the backup. See http://bugs.bacula.org/view.php?id=1356 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Access bacula backup file
28.10.2009 21:05, gilberto.nunes kirjoitti: > Hi > > > > Is there some thing ways to access backup file, after a delete volume > command? > bscan and bextract commands should work, if the file still exists somewhere. -- http://www.iki.fi/jarif/ Tuesday is the Wednesday of the rest of your life. signature.asc Description: OpenPGP digital signature -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fwd: Access bacula backup file
On Wed, Oct 28, 2009 at 3:36 PM, gilberto.nunes wrote: > > Yes > > I know it! > My question is: what can I do to access backup file from bconsole? > May be add the volume again... > Accidently I do delete command and delete volume from pool. > I remove from database (Mysql, in my case) too I guess... > So, I want to know if I re-add de volume I get access file record on it... > After you bscan the volume it will be back in the catalog. John -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fwd: Access bacula backup file
Yes I know it! My question is: what can I do to access backup file from bconsole? May be add the volume again... Accidently I do delete command and delete volume from pool. I remove from database (Mysql, in my case) too I guess... So, I want to know if I re-add de volume I get access file record on it... Thanks On Wed, 28 Oct 2009 14:25:21 -0400, John Drescher wrote: > -- Forwarded message -- > From: John Drescher > Date: Wed, Oct 28, 2009 at 2:25 PM > Subject: Re: [Bacula-users] Access bacula backup file > To: "gilberto.nunes" > > > On Wed, Oct 28, 2009 at 3:24 PM, gilberto.nunes > wrote: >> >> On Wed, 28 Oct 2009 14:15:54 -0400, John Drescher >> wrote: >> >> 2009/10/28 gilberto.nunes >>> >>> Hi >>> >>> >>> >>> Is there some thing ways to access backup file, after a delete volume >>> command? >> >> If you did not remove the volume file from the disk use the bscan >> command to readd the volume to the database. >> >> John >> >> Wow! It's great >> >> And via bconsole, can I get it too??!? > > Not in bconsole. > > bscan is a separate executable. > > http://www.bacula.org/en/dev-manual/Volume_Utility_Tools.html#SECTION003972000 > > John -- Gilberto Nunes Ferreira TI Selbetti Gestão de Documentos Telefone: +55 (47) 3441-6004 Celular: +55 (47) 8861-6672 _"BENDITA A NAO CUJO DEUS O SENHOR!"_ < -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fwd: Access bacula backup file
-- Forwarded message -- From: John Drescher Date: Wed, Oct 28, 2009 at 2:25 PM Subject: Re: [Bacula-users] Access bacula backup file To: "gilberto.nunes" On Wed, Oct 28, 2009 at 3:24 PM, gilberto.nunes wrote: > > On Wed, 28 Oct 2009 14:15:54 -0400, John Drescher > wrote: > > 2009/10/28 gilberto.nunes >> >> Hi >> >> >> >> Is there some thing ways to access backup file, after a delete volume >> command? > > If you did not remove the volume file from the disk use the bscan command to > readd the volume to the database. > > John > > Wow! It's great > > And via bconsole, can I get it too??!? Not in bconsole. bscan is a separate executable. http://www.bacula.org/en/dev-manual/Volume_Utility_Tools.html#SECTION003972000 John -- John M. Drescher -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Access bacula backup file
Hi Is there some thing ways to access backup file, after a delete volume command? Thanks -- Gilberto Nunes Ferreira TI Selbetti Gestão de Documentos Telefone: +55 (47) 3441-6004 Celular: +55 (47) 8861-6672 _"BENDITA A NAO CUJO DEUS O SENHOR!"_ < -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Making Bacula aware of tape inserted
Hi. I am working at the script that will fake an autoloader. Actually, i am rewriting it with function and, the real improvment, comments. Obviouslly i will share with the community the script... but first it need to be working :) I need to say to bacula "hey, read the information from the tape!" without doing the "mount" command. Scenario: - tape inserted in tape, mt -f /dev/nst0 status will give me "ONLINE" status - start bacula-dir, bacula-sd (they are not aware of drive) - send a command to bacula to check if the drive is a bacula drive, and grab the label information. How can i do that? many thanks! bye d. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FD command not found:
- Original Message - From: "Sean M Clark" To: "bacula-users@lists.sourceforge.net" Sent: Wednesday, October 28, 2009 11:11:57 AM Subject: Re: [Bacula-users] FD command not found: >Pascal Clermont wrote: >> I have added a new machine to be backed up with bacula and I cannot >> get a full backup, always have these weird errors. the current setup >> is all centos 5.3 86_64 and every other host besides this one have >> been working flawlessly for over 6 months. >> >> DIR Version: Version: 3.0.1 (30 April 2009) >> >> Client-FD Version: Version: 3.0.1 (30 April 2009) >> >> >> the error output: >> >> JobId 2744: Fatal error: fd_cmds.c:181 FD command not found: >> wMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxZjUwMDczNWEw [...] >> Would there be a way to make any sense on why the client would try to >> execute any FD commands? >I would assume the "FD Commands" are commands from the director to the FD on the client. >I've been noticing similar errors on failed jobs lately in 3.0.x - I >think the FD command errors may just be a side-effect of a job being >interrupted for some reason rather than the cause of the problem (I >would swear I've even seen these errors once or twice as a result of >intentionally cancelling jobs. >How far into the backup does it get before it dies? 27-Oct 20:05 catanzaro.lan.lexum.pri-dir JobId 2744: Start Backup 27-Oct 22:05 catanzaro.lan.lexum.pri-sd JobId 2744: Fatal error: its always a 2 hour on the nose and as you stated about canceling the jobs... I have just noticed these prior to the error : 27-Oct 22:05 catanzaro.lan.lexum.pri-dir JobId 2744: Fatal error: Network error with FD during Backup: ERR=Connection reset by peer 27-Oct 22:05 catanzaro.lan.lexum.pri-sd JobId 2744: Job Vicenza_Daily.2009-10-27_20.05.01_16 marked to be canceled. seems like something is cutting the connection after 2 hours... weird that the issue is only with this host... -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FD command not found:
Pascal Clermont wrote: > I have added a new machine to be backed up with bacula and I cannot > get a full backup, always have these weird errors. the current setup > is all centos 5.3 86_64 and every other host besides this one have > been working flawlessly for over 6 months. > > DIR Version: Version: 3.0.1 (30 April 2009) > > Client-FD Version: Version: 3.0.1 (30 April 2009) > > > the error output: > > JobId 2744: Fatal error: fd_cmds.c:181 FD command not found: > wMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxZjUwMDczNWEw [...] > Would there be a way to make any sense on why the client would try to > execute any FD commands? I would assume the "FD Commands" are commands from the director to the FD on the client. I've been noticing similar errors on failed jobs lately in 3.0.x - I think the FD command errors may just be a side-effect of a job being interrupted for some reason rather than the cause of the problem (I would swear I've even seen these errors once or twice as a result of intentionally cancelling jobs. How far into the backup does it get before it dies? -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] FD command not found:
I have added a new machine to be backed up with bacula and I cannot get a full backup, always have these weird errors. the current setup is all centos 5.3 86_64 and every other host besides this one have been working flawlessly for over 6 months. DIR Version: Version: 3.0.1 (30 April 2009) Client-FD Version: Version: 3.0.1 (30 April 2009) the error output: JobId 2744: Fatal error: fd_cmds.c:181 FD command not found: wMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxZjUwMDczNWEw MTRmMzYwMDAwMjQ3ZjAxMDEwMTAxMDEwMTAxMDEwMTAxMDENCjE4MmEzNzAwMzUwMTAxMDEw MTAxMDEwMTAxMDEwMTAxZjcwMDMzMDEwMTAxMDEwMTAxNWE5YTY4NTQ1NzliODYxNjAxMDEw MTNiOGEwMWE3ODcwMTAxMDE0ZWI5MmQwMTc4ZjhlYzAxMDEwMTAxMDEwMTAxMDEwMTAxNGZi NGNhDQo1MTAxMDEwMTAxMDExYmM3N2UyMzRhYjAwMzFlMDFlNzAwOTFiODAwYzc4NTAwNTYw DkwYzE4MzcyYjAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwZWI5Y2Ux NjAxMGU1YjY1MDEzMg0KMDFiZDRmNGY3NWUwZDQ4MWIwZWFkMTM3MmIwMTAxMDFhMTAwYjNh MDAxMDEwMTAxY2Y3MWUwZTBlMDgxODAwMTAxMDEwMTAxMDEwMTAxOTI3Y2NhYzQ0YTQ0ZTAw YjAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDE4N227 JobId 2744: Fatal error: fd_cmds.c:172 Command error with FD, hanging up. Here is its configuration file in the bacula-dir: Job { Name = "Vicenza Daily" Client = vicenza.dmz.lexum.pri FileSet = "Full Set Vicenza" JobDefs = "Daily" Schedule = "Daily" Write Bootstrap = "/var/lib/bacula/vicenza-daily.bsr" } FileSet { Name = "Full Set Vicenza" Include { Options { signature = MD5 } File = /etc File = /opt/zimbra/backup } Exclude { } } Client { Name = vicenza.dmz.lexum.pri Address = vicenza.dmz.lexum.pri FDPort = 9102 Maximum Concurrent Jobs = 10 Catalog = MyCatalog Password = somepassword File Retention = 6 months Job Retention = 6 months AutoPrune = yes } Here is the FD configuration file : Director { Name = catanzaro.lan.lexum.pri-dir Password = somepassword } Director { Name = bacula-mon Password = somepassword Monitor = yes } Messages { Name = Standard director = catanzaro.lan.lexum.pri-dir = all, !skipped, !restored } Would there be a way to make any sense on why the client would try to execute any FD commands? -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autochanger problem
Hi Allen The autochanger has now been restarted and I managed to unload the drive. I have also set up a tunnel that allows me to use the web interface with the autochanger. I also ran the inventory command and the update slots command in bconsole with no errors. Now for the labeling. I'm having a problem because as soon as I got one volume labeled I think Bacula started a backup job on this tape and now I can't access the drive. Is there any way to terminate bacula make it wait until I'm finished? (BTW, I believe I managed one label command, the ARS670, that you will see belove. It is also being written to as you can see). Also, it seems from my web-interface that only a few of my tapes have bar codes. Is there a fast way to label all of them, and update the pool accordingly? Right now the pool seems to have volumes that refers to the old tapes (before the change). Is this correct? Also. The VolumName in the Pool, is it supposed to match the VolumeTag that I see from mtx status? Is this what Label does? Or is the VolumeTag something else? Here is the mtx status and the list volumes right now: *list volumes Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" Pool: Default +-++---+-+--+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+--+--+--+-+--+---+---+-+ | 2 | ARS662L3 | Purged| 1 | 426744686592 | 429 | 5616000 | 1 | 4| 0 | LTO-3 | 2009-08-17 08:51:08 | | 3 | ARS663L3 | Purged| 1 | 428235236352 | 430 | 5616000 | 1 | 5| 0 | LTO-3 | 2009-08-17 14:31:57 | | 4 | ARS641L3 | Purged| 1 | 432729335808 | 435 | 5616000 | 1 | 6| 0 | LTO-3 | 2009-08-17 21:33:49 | | 5 | ARS643L3 | Purged| 1 | 422731588608 | 424 | 5616000 | 1 | 7| 0 | LTO-3 | 2009-08-18 06:56:00 | | 6 | ARS642L3 | Purged| 1 | 411474180096 | 412 | 5616000 | 1 | 8| 0 | LTO-3 | 2009-08-18 15:16:25 | | 7 | ARS644L3 | Purged| 1 | 416515663872 | 417 | 5616000 | 1 | 9| 0 | LTO-3 | 2009-08-18 18:02:38 | | 8 | ARS645L3 | Full | 1 | 414861705216 | 416 | 5616000 | 1 | 23 | 1 | LTO-3 | 2009-10-26 22:08:10 | | 10 | ARS651L3 | Purged| 1 | 444871526400 | 451 | 5616000 | 1 | 12 | 0 | LTO-3 | 2009-07-06 07:22:17 | | 11 | ARS652L3 | Purged| 1 | 413624300544 | 414 | 5616000 | 1 | 13 | 0 | LTO-3 | 2009-07-06 13:58:16 | | 12 | ARS653L3 | Purged| 1 | 417378898944 | 418 | 5616000 | 1 | 14 | 0 | LTO-3 | 2009-07-06 16:46:15 | | 13 | ARS648L3 | Purged| 1 | 485302228992 | 501 | 5616000 | 1 | 15 | 0 | LTO-3 | 2009-07-19 00:08:58 | | 14 | ARS649L3 | Purged| 1 | 456562132992 | 469 | 5616000 | 1 | 16 | 0 | LTO-3 | 2009-07-27 01:36:05 | | 15 | ARS650L3 | Purged| 1 | 449315371008 | 457 | 5616000 | 1 | 17 | 0 | LTO-3 | 2009-08-03 04:57:44 | | 16 | ARS657L3 | Purged| 1 | 410973760512 | 412 | 5616000 | 1 | 18 | 0 | LTO-3 | 2009-08-03 13:35:30 | | 17 | ARS658L3 | Purged| 1 | 416524631040 | 417 | 5616000 | 1 | 19 | 0 | LTO-3 | 2009-08-03 16:22:01 | | 18 | ARS647L3 | Purged| 1 | 418602885120 | 419 | 5616000 | 1 | 21 | 0 | LTO-3 | 2009-08-03 19:10:44 | | 19 | ARS660L3 | Purged| 1 | 418480634880 | 419 | 5616000 | 1 | 22 | 0 | LTO-3 | 2009-08-03 21:57:32 | | 20 | ARS656L3 | Purged| 1 | 416933766144 | 417 | 5616000 | 1 | 23 | 0 | LTO-3 | 2009-08-04 00:41:54 | | 21 | ARS640L3 | Purged| 1 | 417385543680 | 418 | 5616000 | 1 | 20 | 0 | LTO-3 | 2009-08-04 03:29:44 | | 22 | ARS659L3 | Purged| 1 | 420115949568 | 421 | 5616000 | 1 | 2| 0 | LTO-3 | 2009-08-05 13:19:12 | | 23 | ARS661L3 | Purged| 1 | 431643018240 | 433 | 5616000 | 1 | 3| 0 | LTO-3 | 2009-08-17 02:27:36 | | 24 | ARS0009| Append| 1 | 0| 0| 5616000 | 1 | 11 | 0 | LTO-3 | 0 | | 25 | ARS670 | Append| 1
Re: [Bacula-users] Everything can connect, yet job **still** fails.
>From Director machine to FD machine you can telnet in 9102 port?. Can you make a diagram of your configuration ? And post your /etc/hosts files (FD and Dir) This url explains the communication flow, sorry if you know it yet. http://bacula.org/3.0.x-manuals/en/concepts/concepts/What_is_Bacula.html#SECTION0022 Cheers 2009/10/28 Gabriel - IP Guys : > I have an SSH session to my remote client. From that remote client, (FD2) I > can telnet to port 9101, 9102, and 9103 on my external IP, which are > forwarded to my SD. In my configuration, the SD has the external IP, and > telneting works on the ports. Yet (FD2) still gets connection refused - Any > ideas? > > > > --- > > Kind Regards, > > Mr Gabriel > > > > -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- _ Francisco Javier Funes Nieto [esen...@gmail.com] CANONIGOS Servicios Informáticos para PYMES. Cl. Cruz 2, 1º Oficina 7 Tlf: 958.536759 / 661134556 Fax: 958.521354 GRANADA - 18002 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Everything can connect, yet job **still** fails.
I have an SSH session to my remote client. From that remote client, (FD2) I can telnet to port 9101, 9102, and 9103 on my external IP, which are forwarded to my SD. In my configuration, the SD has the external IP, and telneting works on the ports. Yet (FD2) still gets connection refused - Any ideas? --- Kind Regards, Mr Gabriel -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] losing directory permissions and ownership
> On Wed, 28 Oct 2009 06:25:54 +0200, Avi Rozen said: > > Martin Simmons wrote: > > You need to match the parent directories themselves and then the contents of > > owned-by-bacula: > > > > FileSet { > > Name = test-fileset > > Include { > > Options { > > # Match all directories leading up to the cherry picked directory > > regexdir = "^/home$" > > regexdir = "^/home/avrozen$" > > regexdir = "^/home/avrozen/temp$" > > regexdir = "^/home/avrozen/temp/bacula-test$" > > regexdir = "^/home/avrozen/temp/bacula-test/owned-by-root$" > > regexdir = > > "^/home/avrozen/temp/bacula-test/owned-by-root/owned-by-avrozen$" > > # Match the cherry picked directory itself > > regexdir = > > "^/home/avrozen/temp/bacula-test/owned-by-root/owned-by-avrozen/owned-by-bacula$" > > # Match the contents of the cherry picked directory > > wild = > > "/home/avrozen/temp/bacula-test/owned-by-root/owned-by-avrozen/owned-by-bacula/*" > > } > > Options { > > # Skip everything else > > wild = "*" > > Exclude = yes > > } > > File = / > > } > > } > > > > Note the $ at the end of each regexdir to make it match only the directory > > and > > nothing else with that prefix. > > > > __Martin > > > > > Works! Thanks! > > It also works if I replace regexdir with wilddir (and remove the ^ and $). Ah, yes, wilddir will suffice here. I was just overly cautious about wilddir matching a prefix, but that only happens with a trailing *, for example merging wilddir = "/a/b/c/owned-by-bacula" wild = "/a/b/c/owned-by-bacula/*" into one line like this: wild = "/a/b/c/owned-by-bacula*" will spuriously match /a/b/c/owned-by-bacula-but-unwanted. __Martin -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problems with some characters
Hi, I used to have the same problem with Hebrew characters. I am using mysql, I solved in this way before you are creating the Database you should add it the support for your language # vim src/cats/create_mysql_database search for this section if $bindir/mysql $* -f < > Hi, > > I'm getting errors during backup. Path for backup is "c:\documents and > settings\Tom*à*s\Datos de Programa". Problems is "à". Log from backup > register "c:\documents and settings\Tomà s\Datos de Programa", so of course, > director doesn't find that path. > > What can I do? > > Clients is running on a Windows XP. > Bacula server is 2.4.3 (dir, fd and sd) > Bacula console client is version 3.0.1 > > Thanks!! > > > -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problems with some characters
Hi, I'm getting errors during backup. Path for backup is "c:\documents and settings\Tomàs\Datos de Programa". Problems is "à". Log from backup register "c:\documents and settings\Tomà s\Datos de Programa", so of course, director doesn't find that path. What can I do? Clients is running on a Windows XP. Bacula server is 2.4.3 (dir, fd and sd) Bacula console client is version 3.0.1 Thanks!! -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] autochanger and barcode
Hi, 21.10.2009 12:43, Nicola Quargentan wrote: > Jari Fredriksson ha scritto: >> >> 20.10.2009 2:25, Nicola Quargentan kirjoitti: >>> With this metode I'm unable to know where is my data in my volumes (only >>> bacula know that). >>> Ad absurdum I could end up finding a piece of data of single server >>> stored in each of 24 tapes :O (IMHO). >>> >> Bacula knows, and tells it to you with a query. >> > > cut... > >> Bacula does not need a tape in order to make a query into it. Unlike >> many other simpler backup systems may do. >> >> You make a query, and *then* get the tape into your hand. Not the other >> way round. Simple. > > This is good, but the problem remains the fact of I not being able to > pull out a single tape from the autochanger and store it in another safe > place (under my bed !). Why not? You use bconsole or a customized script to find volumes you want to unload and store safely. You - or the script - marks those volumes as "Used" that are in that list and still in state "Append". Then unmount or release the autochanger tapes. Optionally, re-order volumes in the library to put the ones to be unloaded into import/export slots Manually unload the volumes, and - manually or automatically - issue an 'update slots' command, so Bacula knows about the re-ordered volumes, and ones you probably loaded into the autochanger. I've got a scriot to do most of that work, but it's customized to some special needs, but if you want it send me an email! Cheers, Arno > Thanks. > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula ClientRunBeforeJob
Hi, 21.10.2009 08:42, Robert Backhaus wrote: > Hello all, > > i want to backup mysql binlog files "incremetally". We wrote a script > (binlog-backup), which flush the logs and writes the backupfiles to > restore.info. > > > > ClientRunBeforeJob= "/usr/local/bin/binlog-backup" > > Include { > Options { signature = SHA1 } > File = "\\ } > > > > Now i have the effect: the bacula job reads restore.info before running the > script. the result is: i backup the files a job later. An additional cronjob > on > the client, i want to avoid. Currently my approach is to schedule 2 jobs: > with > ClientRunBeforeJob to create the filelist and backup a zero directory and a > second (5 min later )to backup the files from restore.info. > > 1) Is there a way to configure bacula, to do the Clientrunbeforjob and than > reads > the filelist? None that I know. Might be a nice feature request. > 2) Is there a way to pass paramtere/variables (files to backup) to bacula The way you do it is the "right" one, I think. > 3) Any other hints? Yes... the way I do this sort of thing is to prepare the backup in a script that also lists the files to back up. Essentially the job preparation is moved from the Job resource to the FileSet one. The file set is dynamically generated, not stored in a file, but the script just prints all the files that it prepared to stdout, and Bacula picks that up as its list of files to back up. In the configuration, it looks a bit messy because you don't easily see that there is some work done before the backup can start, but it's working. Cheers, Arno > Robert > > > > -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users