Re: [Bacula-users] Can't restore file spanning across multiple volumes
W dniu 11.08.2011 20:47, Martin Simmons pisze: I did some research, and found two things: 1. There are other one-file jobs that span across volumens, and they restore without problems. So crossing volumens is not a problem here. 2. I found other (three) jobs with problems. All of them behave in the same way as one decribed earlier. They differ from working job by having EndBlock set to 0 (zero). Hmm, it looks like that might be the problem. I had assumed that EndBlock=0 was normal, but it might not be. According to block.c [1] it looks like: - EndBlock holds 32 less significant bits of block address - EndFile holds 32 most significant bits of block address In that case both fields set to 0, point to beginning of Volumen. Do I miss something? As a side note, variable names were completely misleading to me :/ The trace output didn't show the filename to restore, so that suggests that the bacula-fd didn't see data from the first volume, hence it didn't create the file. What to the JobMedia entries look like for working jobs span across volumes? mysql select * from JobMedia where JobId = 8280214\G *** 1. row *** JobMediaId: 6768001 JobId: 8280214 MediaId: 3339 FirstIndex: 1 LastIndex: 1 StartFile: 0 EndFile: 0 StartBlock: 258294 EndBlock: 6868847 VolIndex: 2 Stripe: 0 *** 2. row *** JobMediaId: 6767996 JobId: 8280214 MediaId: 3393 FirstIndex: 1 LastIndex: 1 StartFile: 1 EndFile: 1 StartBlock: 4262595384 EndBlock: 4294942311 VolIndex: 1 Stripe: 0 [1] http://www.bacula.org/git/cgit.cgi/bacula/tree/bacula/src/stored/block.c#n620 -- Bartosz Cisek Admin email: bartosz.ci...@nasza-klasa.pl tel: +48 519 300 122 Nasza Klasa Sp. z o.o., ul. Gen. J. Bema 2, 50-265 Wrocław Sąd Rejonowy dla Wrocławia - Fabrycznej we Wrocławiu, VI Wydział Gospodarczy Krajowego Rejestru Sądowego, nr KRS:289629, NIP:898-21-22-104 REGON:020586020, Kapitał zakładowy: 67 850,00 PLN -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fwd: Mixed Scenario, TLS for external and non-TLS for internal machines.
Sorry I sent the mail to the Spanish list only. -- Forwarded message -- From: Francisco Javier Funes Nieto esen...@gmail.com Date: 2011/8/12 Subject: Mixed Scenario, TLS for external and non-TLS for internal machines. To: Bacula bacula-users...@lists.sourceforge.net Hi all, This month I'll move my Bacula Server to another hardware for a big backup service for my own and clients. Two of my clients has a VPS server on a provider what I need to make backup securely. The scenario is: Three internal servers (www, git and scm's and a windows app server) and two external server (VPS) on the same provider. Can I use TLS only for the external and non-tls communications for internal ? Or may I configure all the FD's with TLS support?. Thanks! Javier -- _ 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 -- _ 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 -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Building bacula-sd
Hello, This is my first time posting to a list, so apologies if I've made a mistake! I am trying to build the Bacula SD on Mac OS X 10.6. However, I am unable to get the correct combination of ./configure options. I either get error messages saying that I have not selected a database (which I didn't think I needed, as I just want the SD to be be built) or when I just tell it to use mysql anyway, it says it cannot find some mysql file. I get the following, if I use ./configure --enable-build-stored: ==Entering directory /Users/Joe/Downloads/bacula-5.0.3/src/stored ==Entering directory /Users/Joe/Downloads/bacula-5.0.3/src/tools ==Entering directory /Users/Joe/Downloads/bacula-5.0.3/manpages ==Entering directory /Users/Joe/Downloads/bacula-5.0.3/platforms rm -rf build products/Bacula File Daemon 5.0.3 products/Bacula File Daemon 5.0.3.dmg make[2]: Nothing to be done for `clean'. You have not specified either --enable-client-only or one of the supported databases: MySQL, PostgreSQL, Ingres, SQLite3 or DBI. This is not permitted. Please reconfigure. Aborting the configuration ... I get the following, if I try to use ./configure --with-mysql --enable-build-stored: checking for library containing dlopen... none required checking for PostgreSQL support... no checking for MySQL support... no configure: error: Unable to find mysql.h in standard locations Does anyone know how I can achieve what I'm after? (All I want to do is build the SD so that I can add it to my existing Bacula setup.) I hope someone can help! Thanks, Joe -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Building bacula-sd
Hello again, I've actually got a successful configure with the following: ./configure --enable-build-stored --enable-client-only --disable-build-dird --prefix=/usr/local --sysconfdir=/usr/local/etc --mandir=/usr/local/share/man --with-openssl --with-tcp-wrappers --disable-dependency-tracking --with-working-dir=/var/bacula/working Is this ok to --enable-client-only for a storage daemon? and then just disable the director? Also, when I then try to make, I get: http://pastebin.com/vGYL47um Joe On 12/08/2011 13:33, Joe Nyland wrote: Hello, This is my first time posting to a list, so apologies if I've made a mistake! I am trying to build the Bacula SD on Mac OS X 10.6. However, I am unable to get the correct combination of ./configure options. I either get error messages saying that I have not selected a database (which I didn't think I needed, as I just want the SD to be be built) or when I just tell it to use mysql anyway, it says it cannot find some mysql file. I get the following, if I use ./configure --enable-build-stored: ==Entering directory /Users/Joe/Downloads/bacula-5.0.3/src/stored ==Entering directory /Users/Joe/Downloads/bacula-5.0.3/src/tools ==Entering directory /Users/Joe/Downloads/bacula-5.0.3/manpages ==Entering directory /Users/Joe/Downloads/bacula-5.0.3/platforms rm -rf build products/Bacula File Daemon 5.0.3 products/Bacula File Daemon 5.0.3.dmg make[2]: Nothing to be done for `clean'. You have not specified either --enable-client-only or one of the supported databases: MySQL, PostgreSQL, Ingres, SQLite3 or DBI. This is not permitted. Please reconfigure. Aborting the configuration ... I get the following, if I try to use ./configure --with-mysql --enable-build-stored: checking for library containing dlopen... none required checking for PostgreSQL support... no checking for MySQL support... no configure: error: Unable to find mysql.h in standard locations Does anyone know how I can achieve what I'm after? (All I want to do is build the SD so that I can add it to my existing Bacula setup.) I hope someone can help! Thanks, Joe -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users