Re: [Bacula-users] Add pre-labeled volumes to a pool
On 08/26/2010 11:41 AM, John Drescher wrote: When i use: label barcodes Bacula returns me: Cannot label Volume because it is already labeled: *** What can i do? 1. If these are bacula labeled volumes. Use the delete command in bacula to delete the volumes. If not proceed to the next step. 2. Erase each tape. I described how to do that in the following post: http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg43525.html John It works great !! Thanks a lot !! Willians -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] How bacula check component's status ?
Hi... When i run status command in bacula-console, what kind of check it realizes ? I mean, is a single telnet? Is some kind of 'query'? Can anybody gimme an idea ? Willians -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Add pre-labeled volumes to a pool
Hi, i'm having a trouble... I'm using Bacula 2.4.4 and a HP TapeLibrary MSL6000 with LTO3 tapes. My situation is: in the beginning, i'm just have 4 tapes in use and works right, now i'm received new tapes, but they're pre-labeled. I put them into the TapeLibrary magazines, after the 4 tapes in use but i don't know how add them to my pool. Can anybody help me? Regards Willians -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Add pre-labeled volumes to a pool
On 08/26/2010 11:16 AM, John Drescher wrote: On Thu, Aug 26, 2010 at 11:04 AM, Rory Campbell-Lange r...@campbell-lange.net wrote: On 26/08/10, Willians Vivanco (willian...@infomed.sld.cu) wrote: Hi, i'm having a trouble... I'm using Bacula 2.4.4 and a HP TapeLibrary MSL6000 with LTO3 tapes. My situation is: in the beginning, i'm just have 4 tapes in use and works right, now i'm received new tapes, but they're pre-labeled. I put them into the TapeLibrary magazines, after the 4 tapes in use but i don't know how add them to my pool. Can anybody help me? If you use the label command from bconsole, you are asked for which pool the relevant tape should be added to. You should not use the label command for an autochanger with barcodes. use label barcodes instead and put all tapes in the Scratch Pool. John When i use: label barcodes Bacula returns me: Cannot label Volume because it is already labeled: *** What can i do? Willians -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Add pre-labeled volumes to a pool
On 08/26/2010 11:41 AM, John Drescher wrote: When i use: label barcodes Bacula returns me: Cannot label Volume because it is already labeled: *** What can i do? 1. If these are bacula labeled volumes. Use the delete command in bacula to delete the volumes. If not proceed to the next step. 2. Erase each tape. I described how to do that in the following post: http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg43525.html John Thanks again... I will try this and tell you later Willians -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] MySQL backup options
Hi, i'm need to take a choice between mysqldump and mysqlhot copy solutions to backup my mysql databases... Can anybody suggest me one of them and justify it? Regards Willians -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Restore problems (restore.c:975 Write error)
Hi, i'm using bacula-dir Version: 2.4.4 (28 December 2008) i486-pc-linux-gnu debian 5.0 My problem is when i'm try to restore some files, bacula returns me an error message like: Error: restore.c:975 Write error on /my route to restore folder And when i go to check the restore, i detect it writes me a little bit of the archive i want to recover, for example, i'm trying to restore a file of about 3Gb and it just recovers 137Mb before returns me that error. Any suggestion? Regards Willians -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Trying to restore data of server A's backup on server B
Ralf Gross wrote: Willians Vivanco schrieb: Hi, i need to restore data of server A's backup on to server B filesystem... Any suggestion? err, where's the problem? What is not working? bconsole - restore - - Restore Client: Ralf -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users The problem is that in order of clusterize a set of servers i'm interested in to restore the backup data of an specific client in other computers... Willians -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Trying to restore data of server A's backup on server B
Hi, i need to restore data of server A's backup on to server B filesystem... Any suggestion? Regards Willians -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to send a mail after a Job ?
Tolj Mario wrote: Hello, Sorry if my english isn't very well. I'm trying to configure Bacula to send me a mail after a Job (Succes or Error, etc...). but i'm not sure how to configure that. My Linux server is in my windows Active Directory, so i try to send a mail to two of my Active Directory users (us...@test.ch and us...@test.ch) In the bacula-dir.conf i'have try to only put the email addresses in the Message ressource separated by a ; but it doesn't work. I think it's a little bit more complicated than that :) Messages { Name = Standard mailcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch* \ -f \\(Bacula\) \%r\\ -s \Bacula: %t %e of %c %l\ %r operatorcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch \* -f \\(Bacula\) \%r\\ -s \Bacula: Intervention needed for %j\ %r console = all, !skipped, !saved append = /var/lib/bacula/log = all, !skipped } -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users As simple as create an script that send the emails and call it from the job resource using the runAfterJob attribute... This was my solution and it works... Maybe isn't the best one. But it results for me. Regards Willians --- Red Telematica de Salud - Cuba CNICM - Infomed -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] What is the problem with this deffinitions ...
Reynier Perez Mira wrote: Hi again: I have this config for one of my clients: #Description: Backup the files include in FS for salvasprod-fd #- #Job Definition Job { Name = Copia-SalvasProdFull-FD JobDefs = DefinicionPorDefectoParaCopias Level = Full Client = salvasprod-fd FileSet = Copia-SalvasProd-FS Schedule = ScheduleFull Write Bootstrap = /media/bacula_save/bootstrap_files/Copia-SalvasProdFull-FD.bsr Priority = 5 Pool = Copia-SalvasProd-FullPool } #Client Definition Client { Name = salvasprod-fd Address = 10.128.50.114 FDPort = 9102 Catalog = MyCatalog Password = sKNtH4g5j6GrC7da File Retention = 1 years Job Retention = 1 years } # Copia mensual completa a la SAN Schedule { Name = ScheduleFull Run = Level = Full Pool = Copia-SalvasProd-FullPool 4th sun at 4:00 Run = Level = Differential Pool = Copia-SalvasProd-DifferentialPool sun at 2:00 Run = Level = Incremental Pool = Copia-SalvasProd-IncrementalPool mon-sat at 2:00 } #Pool Definition Pool { Name = Copia-SalvasProd-FullPool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 1 year Recycle Oldest Volume = yes Maximum Volume Jobs = 1 Label Format = Copia-SalvasProd-Pool-Full- Maximum Volumes = 2 } Pool { Name = Copia-SalvasProd-DifferentialPool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 1 year Recycle Oldest Volume = yes Maximum Volume Jobs = 1 Label Format = Copia-SalvasProd-Pool-Differential- Maximum Volumes = 2 } Pool { Name = Copia-SalvasProd-IncrementalPool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 1 year Recycle Oldest Volume = yes Maximum Volume Jobs = 1 Label Format = Copia-SalvasProd-Pool-Incremental- Maximum Volumes = 2 } #FileSet Definition FileSet { Name = Copia-SalvasProd-FS Include { Options { signature = SHA1 compression = GZIP9 } File = E:/Salva IP/PP_UCI_2009 } } All it's working fine but Bacula always do a Full Backup and not respect the Schedule part. Why? What I'm doing wrong? Cheers Ing. Reynier Pérez Mira -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Socio, el atributo pool del recurso job es mandatorio... Por eso solo te hace copias full, porque estás forzando usar solo el pool que definiste en el recurso Schedule para este tipo de trabajos (Run = Level = Full Pool = Copia-SalvasProd-FullPool 4th sun at 4:00)... Yo te recomendaría que si vas a usar pools separados lo hagas contra backups de PCs diferentes y no contra tipos de trabajos de backup para una misma PC... De todas maneras separar los trabajos full, de los incrementales y estos de los diferenciales no te ofrece ninguna ventaja puesto que a la hora de restaurar información estos están amarrados los unos a los otros, aparte de que al estar en ficheros diferentes te harán más lento el trabajo de recuperación y que indiscutiblemente los backups full te generarán mucha más información que los incrementales y/o diferenciales. Así que, mi sugerencia es que no definas pools por tipo de trabajo en el schedule y lo hagas en el recurso job. Slds Willians --- Red Telematica de Salud - Cuba CNICM - Infomed -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] I can't write more than aprox 4Gb on my HP TapeLibrary MSL6000
btape output: -- *qfill btape: btape.c:2431 Test writing blocks of 64512 bytes to tape. How many blocks do you want to write? (1000): 64000 btape: btape.c:475 Rewound Drive-0 (/dev/nst0) btape: btape.c:2448 Begin writing 64000 Bacula blocks to tape ... btape: btape.c:505 Wrote 1 EOF to Drive-0 (/dev/nst0) btape: btape.c:475 Rewound Drive-0 (/dev/nst0) 15500 blocks of 64448 bytes in file 1 End of File mark. 15500 blocks of 64448 bytes in file 2 End of File mark. 15500 blocks of 64448 bytes in file 3 End of File mark. 15500 blocks of 64448 bytes in file 4 End of File mark. 2000 blocks of 64448 bytes in file 5 End of File mark. Total files=5, blocks=64000, bytes = 4,124,672,000 *btape: btape.c:2581 is an invalid command *qfill btape: btape.c:2431 Test writing blocks of 64512 bytes to tape. How many blocks do you want to write? (1000): 64 btape: btape.c:475 Rewound Drive-0 (/dev/nst0) btape: btape.c:2448 Begin writing 64 Bacula blocks to tape ... +11-Mar 10:33 btape: ERROR in record.c:253 Failed ASSERT: block-binbuf == (uint32_t) (block-bufp - block-buf) 11-Mar 10:33 btape: Fatal Error because: Bacula interrupted by signal 11: Segmentation violation Kaboom! btape, btape got signal 11 - Segmentation violation. Attempting traceback. Kaboom! exepath=/home/williansvi Calling: /home/williansvi/btraceback /home/williansvi/btape 5633 execv: /home/williansvi/btraceback failed: ERR=No such file or directory Traceback complete, attempting cleanup ... -- When i run backup jobs happens the same problem... Works perfect behind the content volume on the tape is less than 4 Gb then, when arrive to this amount, bacula returns error too... Some suggestion? I'm using Bacula Ver: 2.4.4 (28 December 2008) over debian 5.0 (Lenny) -- ·''`. | Willians Vivanco Morejón : :' : | Infomed `. `' | Linux registered user #393267 `- | Running Debian/GNU Linux squeeze/sid --- Red Telematica de Salud - Cuba CNICM - Infomed -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] SIGSEV with btape
simulates Bacula writing to a tape. It requires either one or two blank tapes, which it will label and write. If you have an autochanger configured, it will use the tapes that are in slots 1 and 2, otherwise, you will be prompted to insert the tapes when necessary. It will print a status approximately every 322 MB, and write an EOF every 3.2 GB. If you have selected the simple test option, after writing the first tape it will rewind it and re-read the last block written. If you have selected the multiple tape test, when the first tape fills, it will ask for a second, and after writing a few more blocks, it will stop. Then it will begin re-reading the two tapes. This may take a long time -- hours! ... Do you want to run the simplified test (s) with one tape or the complete multiple tape (m) test: (s/m) s Simple test (single tape) selected. Wrote Volume label for volume TestVolume1. Wrote Start of Session label. 15:29:29 Begin writing Bacula records to tape ... 28-Nov 15:29 btape JobId 0: Error: block.c:568 Write error at 1:2 on device Drive-0 (/dev/nst0). ERR=Input/output error. 28-Nov 15:29 btape JobId 0: Error: block.c:318 Volume data error at 1:4294967295! Block checksum mismatch in block=4018 len=64512: calc=a0cac187 blk=a16bca86 28-Nov 15:29 btape JobId 0: Error: Re-read last block at EOT failed. ERR=block.c:318 Volume data error at 1:4294967295! Block checksum mismatch in block=4018 len=64512: calc=a0cac187 blk=a16bca86 btape: btape.c:2349 Last block at: 1:1 this_dev_block_num=2 btape: btape.c:2383 End of tape 1:-1. VolumeCapacity=129,024. Write rate = 6.5 KB/s 28-Nov 15:29 btape: ERROR in record.c:332 Failed ASSERT: remlen = WRITE_RECHDR_LENGTH 28-Nov 15:29 btape: Fatal Error because: Bacula interrupted by signal 11: Segmentation violation Kaboom! btape, btape got signal 11 - Segmentation violation. Attempting traceback. Kaboom! exepath=/root Calling: /root/btraceback /root/btape 6197 execv: /root/btraceback failed: ERR=No such file or directory Traceback complete, attempting cleanup ... # -- Some days ago I had reported this issue on IRC. I maded a pastebin with the output of dmesg after running btape test. On that moment I was getting a kernel oops, I was using 2.6.18. I recently upgraded to 2.6.26. This time I got no oops but bacula keeps failing the same it did with 2.6.18. I'm curious about the cause of the failed assert. Regards, Willians Vivanco --- Red Telematica de Salud - Cuba CNICM - Infomed - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Do i need to initializate the tapes?
Hi... I'm using a tape library HP StorageWorks MSL600 series with LTO3-Ultrium tapes... So can anybody tell me if i need to make some kind of initialization, formatting or some other specific action over my tapes before start using it? Regards --- Red Telematica de Salud - Cuba CNICM - Infomed - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem with tape capacity
Hi, i'm trying to make work Bacula in Debian/Lenny with a HP StorageWorks TapeLibrary MSL6000 and HP LTO3-Ultrium tapes of 800 Gb of capacity each one... I'm having some advances in the last days... But now, during the execution of the test under the btape shell, when i run the fill test, it returns me that the tapes have just 64 Kb of capacity [1]... I'm not declare any size limits on volumes, pools or any other resource... Some suggestion about it? [1] btape.c:2383 End of tape 1:-1. VolumeCapacity=64,512. Write rate = 8.1 KB/s Regards --- Red Telematica de Salud - Cuba CNICM - Infomed - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users