Re: [Bacula-users] Res: electrical cut during a job
Thanks, ask for the purchase of a UPS for our servers, at the moment the one who we have it's damaged. JeAn - Original Message - From: Kern Sibbald [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Sent: Monday, November 13, 2006 8:52 PM Subject: Re: [Bacula-users] Res: electrical cut during a job On Monday 13 November 2006 19:51, Hristo Benev wrote: Alan Brown wrote: On Mon, 13 Nov 2006 [EMAIL PROTECTED] wrote: bacula sensible to the electrical cuts, as much as to make lose the data of a tape? If there is a power cut the job is lost. You should run mysqlcheck -A (or the postgres/sqlite equivalent) AND dbcheck before restarting Bacula, in order to ensure the database is not damaged. A UPS is relatively cheap. Why not buy one? Thanks again JeAn - Original Message - From: Georger Araujo [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Sent: Monday, November 13, 2006 4:19 PM Subject: [Bacula-users] Res: electrical cut during a job Yup, that will do. I had the same problem and did exactly as Ryan instructed. I have a little script I put together. #Run bconsole #unmount #delete media volume=volume-name #Quit bconsole # Rewind the tape mt -f /dev/nst0 rewind # Write physical End Of File (EOF) to the tape mt -f /dev/nst0 weof #Run bconsole #label #mount Adapt the device file name to your environment. Regards, Georger - Mensagem original De: Ryan Novosielski [EMAIL PROTECTED] Para: [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Enviadas: Segunda-feira, 13 de Novembro de 2006 12:10:24 Assunto: Re: [Bacula-users] electrical cut during a job -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If all you need is to re-init the tape and don't care about what's on it, mt rewind and mt weof will do fine. Look at mt's man page for more information. [EMAIL PROTECTED] wrote: Hi List, I have a trouble with bacula Last night when backup was being executed, suddenly there was an electrical cut. Bacula stopped and I don't not know how to continue doing backup with that tape. The error when I try to run a job it's: 13-nov 12:53 doom-sd: PCD-05.2006-11-13_12.49.42 Error: Unable to position to end of data on device LTO3 (/dev/nst0): ERR=dev.c:839 ioctl MTEOM error on LTO3 (/dev/nst0). ERR=Error de entrada/salida. It's possible to format the tape? or verify the integrity Thanks jean __ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFWIrgmb+gadEcsb4RAjd/AJ9bObGl/N9LVP0l3zkDeC9E0CI0oQCdHQjL h238paL5Mg7XIPe4QvwrN6Q= =FJ7h -END PGP SIGNATURE- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ___ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier
Re: [Bacula-users] Res: electrical cut during a job
On Mon, 13 Nov 2006, Hristo Benev wrote: A UPS is relatively cheap. Why not buy one? Question about your last comment about UPS Yes UPS is relatively cheap, but it does not last more than 10-20 min comparing to Bacula jobs 1-2h on bigger data. That depends how big your UPS battery is. Many of the APCs allow battery stacking. Ours is a Caterpilar 300kW building UPS and will run for 2 days without mains power - longer if if the fuel tanks are refilled. How bacula will handle server(Director, SD or FD) shutdown? The job will abort. However the database will be closed off cleanly and an orderly shutdown is always better for systems. AB - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Res: electrical cut during a job
Yup, that will do. I had the same problem and did exactly as Ryan instructed. I have a little script I put together. #Run bconsole #unmount #delete media volume=volume-name #Quit bconsole # Rewind the tape mt -f /dev/nst0 rewind # Write physical End Of File (EOF) to the tape mt -f /dev/nst0 weof #Run bconsole #label #mount Adapt the device file name to your environment. Regards, Georger - Mensagem original De: Ryan Novosielski [EMAIL PROTECTED] Para: [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Enviadas: Segunda-feira, 13 de Novembro de 2006 12:10:24 Assunto: Re: [Bacula-users] electrical cut during a job -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If all you need is to re-init the tape and don't care about what's on it, mt rewind and mt weof will do fine. Look at mt's man page for more information. [EMAIL PROTECTED] wrote: Hi List, I have a trouble with bacula Last night when backup was being executed, suddenly there was an electrical cut. Bacula stopped and I don't not know how to continue doing backup with that tape. The error when I try to run a job it's: 13-nov 12:53 doom-sd: PCD-05.2006-11-13_12.49.42 Error: Unable to position to end of data on device LTO3 (/dev/nst0): ERR=dev.c:839 ioctl MTEOM error on LTO3 (/dev/nst0). ERR=Error de entrada/salida. It's possible to format the tape? or verify the integrity Thanks jean __ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFWIrgmb+gadEcsb4RAjd/AJ9bObGl/N9LVP0l3zkDeC9E0CI0oQCdHQjL h238paL5Mg7XIPe4QvwrN6Q= =FJ7h -END PGP SIGNATURE- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ___ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Res: electrical cut during a job
Thanks to all for your help guys my bacula it's running again, but I have a question: bacula sensible to the electrical cuts, as much as to make lose the data of a tape? Thanks again JeAn - Original Message - From: Georger Araujo [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Sent: Monday, November 13, 2006 4:19 PM Subject: [Bacula-users] Res: electrical cut during a job Yup, that will do. I had the same problem and did exactly as Ryan instructed. I have a little script I put together. #Run bconsole #unmount #delete media volume=volume-name #Quit bconsole # Rewind the tape mt -f /dev/nst0 rewind # Write physical End Of File (EOF) to the tape mt -f /dev/nst0 weof #Run bconsole #label #mount Adapt the device file name to your environment. Regards, Georger - Mensagem original De: Ryan Novosielski [EMAIL PROTECTED] Para: [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Enviadas: Segunda-feira, 13 de Novembro de 2006 12:10:24 Assunto: Re: [Bacula-users] electrical cut during a job -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If all you need is to re-init the tape and don't care about what's on it, mt rewind and mt weof will do fine. Look at mt's man page for more information. [EMAIL PROTECTED] wrote: Hi List, I have a trouble with bacula Last night when backup was being executed, suddenly there was an electrical cut. Bacula stopped and I don't not know how to continue doing backup with that tape. The error when I try to run a job it's: 13-nov 12:53 doom-sd: PCD-05.2006-11-13_12.49.42 Error: Unable to position to end of data on device LTO3 (/dev/nst0): ERR=dev.c:839 ioctl MTEOM error on LTO3 (/dev/nst0). ERR=Error de entrada/salida. It's possible to format the tape? or verify the integrity Thanks jean __ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFWIrgmb+gadEcsb4RAjd/AJ9bObGl/N9LVP0l3zkDeC9E0CI0oQCdHQjL h238paL5Mg7XIPe4QvwrN6Q= =FJ7h -END PGP SIGNATURE- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ___ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users __ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid
Re: [Bacula-users] Res: electrical cut during a job
Alan Brown wrote: On Mon, 13 Nov 2006 [EMAIL PROTECTED] wrote: bacula sensible to the electrical cuts, as much as to make lose the data of a tape? If there is a power cut the job is lost. You should run mysqlcheck -A (or the postgres/sqlite equivalent) AND dbcheck before restarting Bacula, in order to ensure the database is not damaged. A UPS is relatively cheap. Why not buy one? Thanks again JeAn - Original Message - From: "Georger Araujo" [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Sent: Monday, November 13, 2006 4:19 PM Subject: [Bacula-users] Res: electrical cut during a job Yup, that will do. I had the same problem and did exactly as Ryan instructed. I have a little script I put together. # Run bconsole # unmount # delete media volume=volume-name # Quit bconsole # Rewind the tape mt -f /dev/nst0 rewind # Write physical End Of File (EOF) to the tape mt -f /dev/nst0 weof # Run bconsole # label # mount Adapt the device file name to your environment. Regards, Georger - Mensagem original De: Ryan Novosielski [EMAIL PROTECTED] Para: [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Enviadas: Segunda-feira, 13 de Novembro de 2006 12:10:24 Assunto: Re: [Bacula-users] electrical cut during a job -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If all you need is to re-init the tape and don't care about what's on it, mt rewind and mt weof will do fine. Look at mt's man page for more information. [EMAIL PROTECTED] wrote: Hi List, I have a trouble with bacula Last night when backup was being executed, suddenly there was an electrical cut. Bacula stopped and I don't not know how to continue doing backup with that tape. The error when I try to run a job it's: 13-nov 12:53 doom-sd: PCD-05.2006-11-13_12.49.42 Error: Unable to position to end of data on device "LTO3" (/dev/nst0): ERR=dev.c:839 ioctl MTEOM error on "LTO3" (/dev/nst0). ERR=Error de entrada/salida. It's possible to format the tape? or verify the integrity Thanks jean __ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y mviles desde 1 cntimo por minuto. http://es.voice.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFWIrgmb+gadEcsb4RAjd/AJ9bObGl/N9LVP0l3zkDeC9E0CI0oQCdHQjL h238paL5Mg7XIPe4QvwrN6Q= =FJ7h -END PGP SIGNATURE- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ___ Yahoo! Acesso Grtis - Internet rpida e grtis. Instale o discador agora! http://br.acesso.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 _
Re: [Bacula-users] Res: electrical cut during a job
On Monday 13 November 2006 19:51, Hristo Benev wrote: Alan Brown wrote: On Mon, 13 Nov 2006 [EMAIL PROTECTED] wrote: bacula sensible to the electrical cuts, as much as to make lose the data of a tape? If there is a power cut the job is lost. You should run mysqlcheck -A (or the postgres/sqlite equivalent) AND dbcheck before restarting Bacula, in order to ensure the database is not damaged. A UPS is relatively cheap. Why not buy one? Thanks again JeAn - Original Message - From: Georger Araujo [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Sent: Monday, November 13, 2006 4:19 PM Subject: [Bacula-users] Res: electrical cut during a job Yup, that will do. I had the same problem and did exactly as Ryan instructed. I have a little script I put together. #Run bconsole #unmount #delete media volume=volume-name #Quit bconsole # Rewind the tape mt -f /dev/nst0 rewind # Write physical End Of File (EOF) to the tape mt -f /dev/nst0 weof #Run bconsole #label #mount Adapt the device file name to your environment. Regards, Georger - Mensagem original De: Ryan Novosielski [EMAIL PROTECTED] Para: [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Enviadas: Segunda-feira, 13 de Novembro de 2006 12:10:24 Assunto: Re: [Bacula-users] electrical cut during a job -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If all you need is to re-init the tape and don't care about what's on it, mt rewind and mt weof will do fine. Look at mt's man page for more information. [EMAIL PROTECTED] wrote: Hi List, I have a trouble with bacula Last night when backup was being executed, suddenly there was an electrical cut. Bacula stopped and I don't not know how to continue doing backup with that tape. The error when I try to run a job it's: 13-nov 12:53 doom-sd: PCD-05.2006-11-13_12.49.42 Error: Unable to position to end of data on device LTO3 (/dev/nst0): ERR=dev.c:839 ioctl MTEOM error on LTO3 (/dev/nst0). ERR=Error de entrada/salida. It's possible to format the tape? or verify the integrity Thanks jean __ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFWIrgmb+gadEcsb4RAjd/AJ9bObGl/N9LVP0l3zkDeC9E0CI0oQCdHQjL h238paL5Mg7XIPe4QvwrN6Q= =FJ7h -END PGP SIGNATURE- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ___ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo