Re: [Bacula-users] Spooling directory management
Ivan Adzhubey schrieb: I have Bacula configured to use spooling to disk. I can see a few rather old (timestamped from 6 months to 2 years ago) spool files sitting in the spooling directory. Can I assume these are leftovers from some crashed backup jobs and thus can I safely remove them? They use quite some space. My understanding is that after a full successful backup cycle, Bacula should leave spooling directory empty, right? It first spools, then dumps everything to tape, then deletes spool files, am I correct? That's how it works here, it should be ok to remove these files. Ralf - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] 2.1.10 beta: no appendable volume found problem with multidrive autochanger
On Tuesday 22 May 2007 14:02, John Drescher wrote: So to summarize my impressions: There *might* be a bug in the volume-selection-code of bacula which exists at least from V1.38 up to V2.1.10beta which leads sometimes to selecting the wrong volume for a job. As far as I can tell (but my vision might be clouded by the circumstance, that I am using a multidrive autochanger myself) is, that this bug shows his head more often (or only) when using a (multidrive) autochanger. By now there are far, far to many if's, might's, and more subjunctives to file a bug report. I believe the problem is that if you have prefer mounted volumes on with multidrive autochanger bacula ends up using only the first drive in the changer unless you force jobs to the individual drives. With perfer mounted volumes on (default), as you know the algorithm will always select a drive that is currently mounted, however, if I am not mistaken, when no jobs are running and there are two drives with appropriate Volumes mounted, it will attempt to alternate between them, and if there are multiple drives actually writing, the algorithm will attempt to balance the number of jobs on each drive (I didn't look at the code, and this last remark may only apply if prefer mounted volumes is off). If you have prefer mounted volumes off bacula will pick any tape in the pool when running jobs. The algorithm for picking available Volumes from the correct Pool is in the Director, and is totally independent of the state of prefer mounted volumes and anything else that is going on in the SD ... I would say that both results are not what a user of a multitape changer would want. Well that is an interesting remark. What does a user of a multiple drive autochanger want? Regards, Kern - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
Hi, Here is what happens : Blogs are scheduled on the first appendable volume, without looking at the inchanger flag. If I mark this volume as Used or Full, jobs gets scheduled on the next appendable volume, instead of the next one appendable and inchanger. Scheduled jobs Scheduled Jobs: Level Type Pri Scheduled Name Volume === Full Backup 5 23-mai-07 12:00Backup-srv-mpp-archi-dwh 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-treso 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-totem 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-filemaker 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-equilibre 000121 Full Backup 5 23-mai-07 20:00 Backup-srv-mpp-exchang-daily 000121 ### List volumes (on this Pool) Pool: Daily +-++---+-+---+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+---+--+--+-+--+---+---+-+ | 59 | 000143 | Purged| 1 | 394,391,772,372 | 422 |1,209,600 | 1 |1 | 1 | LTO3 | 2007-04-05 08:44:03 | | 60 | 000115 | Purged| 1 | 152,609,505,455 | 163 |1,209,600 | 1 |8 | 0 | LTO3 | 2007-04-19 13:29:21 | | 61 | 000116 | Purged| 1 | 1,278,772,008,661 | 1,409 |1,209,600 | 1 |9 | 0 | LTO3 | 2007-04-23 13:30:52 | | 62 | 000117 | Purged| 1 | 742,127,695,846 | 789 |1,209,600 | 1 | 10 | 0 | LTO3 | 2007-04-26 21:10:42 | | 63 | 000118 | Full | 1 | 824,915,470,096 | 894 |1,209,600 | 1 | 11 | 0 | LTO3 | 2007-05-09 15:38:16 | | 64 | 000119 | Purged| 1 |25,754,213,310 | 31 |1,209,600 | 1 | 12 | 0 | LTO3 | 2007-04-27 08:48:46 | | 65 | 000120 | Full | 1 | 553,103,626,001 | 577 |1,209,600 | 1 | 13 | 0 | LTO3 | 2007-05-11 13:59:48 | | 66 | 000121 | Append| 1 | 1 |0 |1,209,600 | 1 | 14 | 0 | LTO3 | -00-00 00:00:00 | | 91 | 000103 | Purged| 1 | 227,552,907,045 | 250 |1,209,600 | 1 | 10 | 0 | LTO3 | 2007-05-04 13:58:14 | | 92 | 000104 | Purged| 1 | 1 |0 |1,209,600 | 1 | 11 | 0 | LTO3 | -00-00 00:00:00 | | 93 | 000105 | Append| 1 | 1 |0 |1,209,600 | 1 | 12 | 0 | LTO3 | -00-00 00:00:00 | | 94 | 000106 | Append| 1 | 1 |0 |1,209,600 | 1 | 13 | 0 | LTO3 | -00-00 00:00:00 | | 95 | 000107 | Append| 1 | 1 |0 |1,209,600 | 1 | 14 | 0 | LTO3 | -00-00 00:00:00 | | 96 | 000101 | Append| 1 | 1 |0 |1,209,600 | 1 |8 | 0 | LTO3 | -00-00 00:00:00 | | 97 | 000102 | Append| 1 | 1 |0 |1,209,600 | 1 |9 | 0 | LTO3 | -00-00 00:00:00 | | 98 | 000129 | Used | 1 | 407,865,033,101 | 427 |1,209,600 | 1 |8 | 0 | LTO3 | 2007-05-16 13:26:57 | | 99 | 000130 | Used | 1 | 210,849,249,755 | 233 |1,209,600 | 1 |9 | 0 | LTO3 | 2007-05-17 13:22:21 | | 100 | 000131 | Used | 1 | 202,314,381,696 | 224 |1,209,600 | 1 | 10 | 0 | LTO3 | 2007-05-18 13:59:23 | | 101 | 000132 | Append| 1 | 1 |0 |1,209,600 | 1 | 11 | 0 | LTO3 | -00-00 00:00:00 | | 102 | 000133 | Append| 1 | 1 |0 |1,209,600 | 1 | 12 | 0 | LTO3 | -00-00 00:00:00 | | 103 | 000134 | Append| 1 | 1 |0 |1,209,600 | 1 | 13 | 0 | LTO3 | -00-00 00:00:00 | | 104 | 000135 | Append| 1 | 1 |0 |1,209,600 | 1 | 14 | 0 | LTO3 | -00-00 00:00:00 | | 105 | 000144 | Purged| 1 | 193,536 |1 |1,209,600 |
[Bacula-users] Antw: Re: problems with Autochanger
Hi Arno, Keith and list Thanks a lot. Now I've found out a few things... - Nearly needless to say that you where both right and /dev/sg3 _is_ the changer device. - Arno, thanks for the hint to forget playing around with bacula and to focus on getting mtx working. Now the empirical things: - I have to _stop_ bacula to do certain test, otherwise mtx, tar etc always tell me - as an error - that the device is busy. - The device could be working. I attached some command-outputs that are my reasons to believe so: # tapeinfo -f /dev/sg3 Product Type: Medium Changer Vendor ID: 'QUANTUM ' Product ID: 'UHDL' Revision: '0031' Attached Changer: No SerialNumber: 'CG6JC35647UH' SCSI ID: 5 SCSI LUN: 1 Ready: no # loaderinfo -f /dev/sg3 Product Type: Medium Changer Vendor ID: 'QUANTUM ' Product ID: 'UHDL' Revision: '0031' Attached Changer: No Bar Code Reader: No EAAP: Yes Number of Medium Transport Elements: 1 Number of Storage Elements: 16 Number of Import/Export Element Elements: 0 Number of Data Transfer Elements: 1 Transport Geometry Descriptor Page: Yes Invertable: No Device Configuration Page: Yes Can Transfer: Yes # mt -f /dev/nst0 status SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 512 bytes. Density code 0x44 (no translation). Soft error count since last status=0 General status bits on (4101): BOT ONLINE IM_REP_EN # tar -cf /dev/nst0 /tmp/ tar: Removing leading `/' from member names (This works, I guess.) Well now, the less funny part: # mtx -f /dev/sg3 status mtx: Request Sense: 70 00 02 00 00 00 00 1E 00 00 00 00 04 03 00 00 00 00 00 00 READ ELEMENT STATUS Command Failed # /usr/pack/bacula_mysql-2.0.3-rp/amd64-debian-linux3.1/scripts/mtx-changer /dev/sg3 load 1 /dev/nst0 0 mtx: Request Sense: 70 00 02 00 00 00 00 1E 00 00 00 00 04 03 00 00 00 00 00 00 READ ELEMENT STATUS Command Failed # mt -f /dev/sg3 eject /dev/sg3: Operation not permitted # dmesg | tail [168322.441562] NFSD: starting 90-second grace period [1188266.284746] st0: Write not multiple of tape block size. [1188301.160942] st0: Write not multiple of tape block size. [1189175.640945] st0: Write not multiple of tape block size. [1189249.930203] st0: Write not multiple of tape block size. [1206329.081616] st0: Write not multiple of tape block size. [1206335.525053] st0: Write not multiple of tape block size. [1206359.269428] st0: Write not multiple of tape block size. [1207514.104233] st0: Write not multiple of tape block size. [1791080.401660] st0: Write not multiple of tape block size. (I suppose this is from an older try where I've got a similar message but maybe it helps). This is the only affecting appearance in syslog, messages dmesg. # ls -hal /dev/sg* /dev/nst* crwxrwxrwx 1 root tape 9, 128 May 2 15:08 /dev/nst0 crw-rw 1 root tape 9, 224 May 2 15:08 /dev/nst0a crw-rw 1 root tape 9, 160 May 2 15:08 /dev/nst0l crw-rw 1 root tape 9, 192 May 2 15:08 /dev/nst0m crw-rw 1 root root 21, 0 May 2 15:08 /dev/sg0 crw-rw 1 root root 21, 1 May 2 15:08 /dev/sg1 crwxrwxrwx 1 root tape 21, 2 May 2 15:08 /dev/sg2 crwxrwxrwx 1 root root 21, 3 May 2 15:08 /dev/sg3 You are right, I do have to get mtx working together with my drive but neither google nor me have some ideas how to do this. Is there maybe a hardware-problem or does anyone have an idea where and what could be wrong? Thanks a lot! Sincerely, christoph Arno Lehmann[EMAIL PROTECTED] 23.05.2007 00:05 Hi, On 5/22/2007 9:39 AM, Christoph Buchli wrote: Hy list I give up trying and start hoping... hoping someone here could help me... Let's see... My problem is, that bacula (and even mtx) won't use my autochanger as it would be built for... mtx recognises it [1] but that's all. According to this, I set up my bacula-sd.conf: [2] Everything looks great so far, doesn't it? (I'm pretty shure that sg2 is the right device but although I tested with sg3: Same behaviour. The problem is now that bacula won't accept or even detect some Tapes. The 'label' command prints me some mtx-errors [3] and prints: Label command failed for Volume TestTape001. I admit this mail is really hard to read and reply to, so it's possible I overlooked something... I have added some outputs of bconsole [4]... Confusing is, that the it seems that there is somewhere a tape labeled with Montag but it is not mounted although bconsole tells that it is mounted. The 'create' command responses with an error too that say something like: 'Pool Default already exists'. Yup. Why do you want to use the 'create' command? Why the hell is he trying the slots command on Drive-1, my archive-device [5]? I guess it's just a lack of understanding how this whole tape-thing works. Of corse I've read through the documentation an found a lot of helpful things but at the moment I can turn page about page but can't find anything... Thanks a lot in advice. sincerely, christoph
[Bacula-users] FW: Backup of a mysql dump of the database
Hi, I've searched the archives, but I can not find any relevant information. Therefor my question: is it possible to do a database by database dump and backup these dump files? Because of database sizes, it would be very nice if this can be done database by database. I mean first do the dump of database 1, move it to bacula, remove the dump, dump of database 2, move it to bacula, etc... Can this be done? Kind regards, Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FW: Backup of a mysql dump of the database
Hi Marc, You just have to run a job for each database with a runbeforejob and runafterjob as done by the BackupCatalog job. Regards, Ludovic Strappazon. Marc a écrit : Hi, I've searched the archives, but I can not find any relevant information. Therefor my question: is it possible to do a database by database dump and backup these dump files? Because of database sizes, it would be very nice if this can be done database by database. I mean first do the dump of database 1, move it to bacula, remove the dump, dump of database 2, move it to bacula, etc... Can this be done? Kind regards, Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FW: Backup of a mysql dump of the database
Hi You can do a database by database dump with mysqldump (see man mysqldump). I suppose you could do what you want by setting multiple jobs: First job has : Client Run Before Job = mysqldump database1 file-1 Fileset = file-1-fs Client Run After Job = rm file-1 Second job has : Client Run Before Job = mysqldump database2 file-2 Fileset = file-2-fs Client Run After Job = rm file-2 etc... Of course you will have to configure file-1-fs and file-2-fs to backup file-1 and file-2. I think the syntax is false because I did it without looking at the documentation, but the idea is here. If you are using another database, i think there would be an equivalent to mysqldump. Hope that will help PS : sorry for my really bad english ^^ Le mercredi 23 mai 2007 à 10:53 +0200, Marc a écrit : Hi, I've searched the archives, but I can not find any relevant information. Therefor my question: is it possible to do a database by database dump and backup these dump files? Because of database sizes, it would be very nice if this can be done database by database. I mean first do the dump of database 1, move it to bacula, remove the dump, dump of database 2, move it to bacula, etc... Can this be done? Kind regards, Marc - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Maximum Pool number/quantity ?
Hi, I'm trying to setup a pretty complex configuration. I will be using 2 pools (Full and Incremental) for different dipartments so to be able to split-up files. Basically what I'm gonna do is define a sales-Full, sales-Incremental, marketing-Full, marketing-Incremenal etc... My question is how many Pools can I create, I mean, i would like to know if there is some limit to the number of Pools bacula can manage. I think the answer is no, but I want to be sure, before starting deploying. Thanks - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
I may have found my problem : Here is my old setup : ### SD config: Autochanger { Name = Dell-PV132T Device = ULTRIUM-TD3-1 Device = ULTRIUM-TD3-2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Device { Name = ULTRIUM-TD3-1 Drive Index = 0 Media Type = LTO3 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; AutoChanger = yes } Device { Name = ULTRIUM-TD3-2 Drive Index = 1 Media Type = LTO3 Archive Device = /dev/nst1 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; AutoChanger = yes } ### Director config Storage { Name = Autochanger Address = srv-mpp-lrs SDPort = 9103 Password = xxx Device = Dell-PV132T Media Type = LTO3 Autochanger = yes Maximum Concurrent Jobs = 2 } Storage { Name = ULTRIUM-TD3-1 Address = srv-mpp-lrs SDPort = 9103 Password = xxx Device = ULTRIUM-TD3-1 Media Type = LTO3 Autochanger = yes Maximum Concurrent Jobs = 1 } As you can see, in my director config ULTRIUM-TD3-1 is defined. The aim of this trick is to be able to run jobs on one drive only. However, ULTRIUM-TD3-1 in director refers to a Device entry in sd, not an autochanger one. So I guessed, bacula ignore inchanger flag. Do you think I'm right ? So I decided to define a second Autochanger ressources, with only on device associated on it. I hope this would fix the problem. Regards, Adam. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] compiling check_bacula
hi all! ok, I applied the patchs (http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+bacula) and got new errors (output trunked): ==E/ntering directory /usr/local/src/bacula-2.0.3/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.3/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c /usr/bin/g++ -L../lib -L../cats -o check_bacula check_bacula.o authenticate.o \ -lbac -lm -lpthread -ldl ../lib/libbac.a(tls.o): In function `openssl_bsock_readwrite': /usr/local/src/bacula-2.0.3/src/lib/tls.c:607: undefined reference to `SSL_write' /usr/local/src/bacula-2.0.3/src/lib/tls.c:609: undefined reference to `SSL_read' /usr/local/src/bacula-2.0.3/src/lib/tls.c:613: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `tls_bsock_shutdown(BSOCK*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:562: undefined reference to `SSL_shutdown' /usr/local/src/bacula-2.0.3/src/lib/tls.c:564: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `openssl_bsock_session_start': /usr/local/src/bacula-2.0.3/src/lib/tls.c:457: undefined reference to `SSL_accept' /usr/local/src/bacula-2.0.3/src/lib/tls.c:459: undefined reference to `SSL_connect' /usr/local/src/bacula-2.0.3/src/lib/tls.c:463: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `free_tls_connection(TLS_Connection*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:430: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `new_tls_connection(TLS_Context*, int)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_s_socket' /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:397: undefined reference to `BIO_int_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:403: undefined reference to `SSL_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:409: undefined reference to `SSL_set_bio' /usr/local/src/bacula-2.0.3/src/lib/tls.c:412: undefined reference to `SSL_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:418: undefined reference to `BIO_free' /usr/local/src/bacula-2.0.3/src/lib/tls.c:419: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `tls_postconnect_verify_host(TLS_Connection*, char const*)':/ Any tricks? Thanks in advance jorge Jorge González escribió: Hi guys! I'm trying to compile check_bacula (nagios) on 2.0.3. I modified autheticate.c and check_bacula.c (http://article.gmane.org/gmane.comp.bacula.user/26619/match=check+bacula) but it doesn't compile: ==Entering directory /usr/local/src/bacula-2.0.2/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c authenticate.c: In function ‘int authenticate_director(BSOCK*, char*, char*)’: authenticate.c:71: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:72: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_storage_daemon(BSOCK*, char*, char*)’: authenticate.c:108: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:109: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_file_daemon(BSOCK*, char*, char*)’: authenticate.c:144: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:145: error: ‘cram_md5_auth’ no se declaró en este ámbito make[1]: *** [authenticate.o] Error 1 make[1]: se sale del directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' Thanks in advance. Jorge - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE
Re: [Bacula-users] compiling check_bacula
Some SSL headers missing ? Jorge González a écrit : hi all! ok, I applied the patchs (http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+bacula) and got new errors (output trunked): ==E/ntering directory /usr/local/src/bacula-2.0.3/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.3/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c /usr/bin/g++ -L../lib -L../cats -o check_bacula check_bacula.o authenticate.o \ -lbac -lm -lpthread -ldl ../lib/libbac.a(tls.o): In function `openssl_bsock_readwrite': /usr/local/src/bacula-2.0.3/src/lib/tls.c:607: undefined reference to `SSL_write' /usr/local/src/bacula-2.0.3/src/lib/tls.c:609: undefined reference to `SSL_read' /usr/local/src/bacula-2.0.3/src/lib/tls.c:613: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `tls_bsock_shutdown(BSOCK*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:562: undefined reference to `SSL_shutdown' /usr/local/src/bacula-2.0.3/src/lib/tls.c:564: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `openssl_bsock_session_start': /usr/local/src/bacula-2.0.3/src/lib/tls.c:457: undefined reference to `SSL_accept' /usr/local/src/bacula-2.0.3/src/lib/tls.c:459: undefined reference to `SSL_connect' /usr/local/src/bacula-2.0.3/src/lib/tls.c:463: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `free_tls_connection(TLS_Connection*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:430: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `new_tls_connection(TLS_Context*, int)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_s_socket' /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:397: undefined reference to `BIO_int_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:403: undefined reference to `SSL_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:409: undefined reference to `SSL_set_bio' /usr/local/src/bacula-2.0.3/src/lib/tls.c:412: undefined reference to `SSL_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:418: undefined reference to `BIO_free' /usr/local/src/bacula-2.0.3/src/lib/tls.c:419: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `tls_postconnect_verify_host(TLS_Connection*, char const*)':/ Any tricks? Thanks in advance jorge Jorge González escribió: Hi guys! I'm trying to compile check_bacula (nagios) on 2.0.3. I modified autheticate.c and check_bacula.c (http://article.gmane.org/gmane.comp.bacula.user/26619/match=check+bacula) but it doesn't compile: ==Entering directory /usr/local/src/bacula-2.0.2/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c authenticate.c: In function ‘int authenticate_director(BSOCK*, char*, char*)’: authenticate.c:71: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:72: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_storage_daemon(BSOCK*, char*, char*)’: authenticate.c:108: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:109: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_file_daemon(BSOCK*, char*, char*)’: authenticate.c:144: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:145: error: ‘cram_md5_auth’ no se declaró en este ámbito make[1]: *** [authenticate.o] Error 1 make[1]: se sale del directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' Thanks in advance. Jorge - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] compiling check_bacula
Adam Cécile escribió: Some SSL headers missing ? I think so but I'm not a programmer :( Jorge González a écrit : hi all! ok, I applied the patchs (http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+bacula) and got new errors (output trunked): ==E/ntering directory /usr/local/src/bacula-2.0.3/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.3/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c /usr/bin/g++ -L../lib -L../cats -o check_bacula check_bacula.o authenticate.o \ -lbac -lm -lpthread -ldl ../lib/libbac.a(tls.o): In function `openssl_bsock_readwrite': /usr/local/src/bacula-2.0.3/src/lib/tls.c:607: undefined reference to `SSL_write' /usr/local/src/bacula-2.0.3/src/lib/tls.c:609: undefined reference to `SSL_read' /usr/local/src/bacula-2.0.3/src/lib/tls.c:613: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `tls_bsock_shutdown(BSOCK*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:562: undefined reference to `SSL_shutdown' /usr/local/src/bacula-2.0.3/src/lib/tls.c:564: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `openssl_bsock_session_start': /usr/local/src/bacula-2.0.3/src/lib/tls.c:457: undefined reference to `SSL_accept' /usr/local/src/bacula-2.0.3/src/lib/tls.c:459: undefined reference to `SSL_connect' /usr/local/src/bacula-2.0.3/src/lib/tls.c:463: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `free_tls_connection(TLS_Connection*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:430: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `new_tls_connection(TLS_Context*, int)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_s_socket' /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:397: undefined reference to `BIO_int_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:403: undefined reference to `SSL_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:409: undefined reference to `SSL_set_bio' /usr/local/src/bacula-2.0.3/src/lib/tls.c:412: undefined reference to `SSL_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:418: undefined reference to `BIO_free' /usr/local/src/bacula-2.0.3/src/lib/tls.c:419: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `tls_postconnect_verify_host(TLS_Connection*, char const*)':/ Any tricks? Thanks in advance jorge Jorge González escribió: Hi guys! I'm trying to compile check_bacula (nagios) on 2.0.3. I modified autheticate.c and check_bacula.c (http://article.gmane.org/gmane.comp.bacula.user/26619/match=check+bacula) but it doesn't compile: ==Entering directory /usr/local/src/bacula-2.0.2/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c authenticate.c: In function ‘int authenticate_director(BSOCK*, char*, char*)’: authenticate.c:71: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:72: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_storage_daemon(BSOCK*, char*, char*)’: authenticate.c:108: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:109: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_file_daemon(BSOCK*, char*, char*)’: authenticate.c:144: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:145: error: ‘cram_md5_auth’ no se declaró en este ámbito make[1]: *** [authenticate.o] Error 1 make[1]: se sale del directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' Thanks in advance. Jorge - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net
Re: [Bacula-users] compiling check_bacula
On Debian, bacula build depends on libssl-dev. Check your distro packages manager and install ssl headers. Jorge González a écrit : Adam Cécile escribió: Some SSL headers missing ? I think so but I'm not a programmer :( Jorge González a écrit : hi all! ok, I applied the patchs (http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+bacula) and got new errors (output trunked): ==E/ntering directory /usr/local/src/bacula-2.0.3/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.3/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c /usr/bin/g++ -L../lib -L../cats -o check_bacula check_bacula.o authenticate.o \ -lbac -lm -lpthread -ldl ../lib/libbac.a(tls.o): In function `openssl_bsock_readwrite': /usr/local/src/bacula-2.0.3/src/lib/tls.c:607: undefined reference to `SSL_write' /usr/local/src/bacula-2.0.3/src/lib/tls.c:609: undefined reference to `SSL_read' /usr/local/src/bacula-2.0.3/src/lib/tls.c:613: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `tls_bsock_shutdown(BSOCK*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:562: undefined reference to `SSL_shutdown' /usr/local/src/bacula-2.0.3/src/lib/tls.c:564: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `openssl_bsock_session_start': /usr/local/src/bacula-2.0.3/src/lib/tls.c:457: undefined reference to `SSL_accept' /usr/local/src/bacula-2.0.3/src/lib/tls.c:459: undefined reference to `SSL_connect' /usr/local/src/bacula-2.0.3/src/lib/tls.c:463: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `free_tls_connection(TLS_Connection*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:430: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `new_tls_connection(TLS_Context*, int)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_s_socket' /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:397: undefined reference to `BIO_int_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:403: undefined reference to `SSL_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:409: undefined reference to `SSL_set_bio' /usr/local/src/bacula-2.0.3/src/lib/tls.c:412: undefined reference to `SSL_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:418: undefined reference to `BIO_free' /usr/local/src/bacula-2.0.3/src/lib/tls.c:419: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `tls_postconnect_verify_host(TLS_Connection*, char const*)':/ Any tricks? Thanks in advance jorge Jorge González escribió: Hi guys! I'm trying to compile check_bacula (nagios) on 2.0.3. I modified autheticate.c and check_bacula.c (http://article.gmane.org/gmane.comp.bacula.user/26619/match=check+bacula) but it doesn't compile: ==Entering directory /usr/local/src/bacula-2.0.2/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c authenticate.c: In function ‘int authenticate_director(BSOCK*, char*, char*)’: authenticate.c:71: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:72: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_storage_daemon(BSOCK*, char*, char*)’: authenticate.c:108: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:109: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_file_daemon(BSOCK*, char*, char*)’: authenticate.c:144: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:145: error: ‘cram_md5_auth’ no se declaró en este ámbito make[1]: *** [authenticate.o] Error 1 make[1]: se sale del directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' Thanks in advance. Jorge - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
Re: [Bacula-users] Antw: Re: problems with Autochanger
On 23.05.2007 10:28, Christoph Buchli wrote: Now the empirical things: - I have to _stop_ bacula to do certain test, otherwise mtx, tar etc always tell me - as an error - that the device is busy. Sure. While the sd is running it normally keeps the tape devices open. - The device could be working. I attached some command-outputs that are my reasons to believe so: # tapeinfo -f /dev/sg3 Product Type: Medium Changer Vendor ID: 'QUANTUM ' Product ID: 'UHDL' Revision: '0031' Attached Changer: No SerialNumber: 'CG6JC35647UH' SCSI ID: 5 SCSI LUN: 1 Ready: no # loaderinfo -f /dev/sg3 Product Type: Medium Changer Vendor ID: 'QUANTUM ' Product ID: 'UHDL' Revision: '0031' Attached Changer: No Bar Code Reader: No EAAP: Yes Number of Medium Transport Elements: 1 Number of Storage Elements: 16 Number of Import/Export Element Elements: 0 Number of Data Transfer Elements: 1 Transport Geometry Descriptor Page: Yes Invertable: No Device Configuration Page: Yes Can Transfer: Yes # mt -f /dev/nst0 status SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 512 bytes. Density code 0x44 (no translation). Tape block size should not be fixed. It should be set to 0 (variable block size). Soft error count since last status=0 General status bits on (4101): BOT ONLINE IM_REP_EN # tar -cf /dev/nst0 /tmp/ tar: Removing leading `/' from member names (This works, I guess.) Well now, the less funny part: # mtx -f /dev/sg3 status mtx: Request Sense: 70 00 02 00 00 00 00 1E 00 00 00 00 04 03 00 00 00 00 00 00 READ ELEMENT STATUS Command Failed That *is* strange. As Arno already wrote this message is very unusual for mtx. At least, i have never seen something alike. Please check which version of mtx you have (mtx --version). Maybe using a new version could help. Take a look at: http://sourceforge.net/projects/mtx (I am using version 1.3.10) # /usr/pack/bacula_mysql-2.0.3-rp/amd64-debian-linux3.1/scripts/mtx-changer /dev/sg3 load 1 /dev/nst0 0 mtx: Request Sense: 70 00 02 00 00 00 00 1E 00 00 00 00 04 03 00 00 00 00 00 00 READ ELEMENT STATUS Command Failed As long as the mtx status command does not work there is no need to bother with mtx-changer because mtx-changer just depends on mtx working correctly. # mt -f /dev/sg3 eject /dev/sg3: Operation not permitted That's normal. A changer does not know how to eject a tape. Eject is used for tape drives. And even there, I think that it is not used with LTO drives. For your drive it should be sufficient to use mt -f /dev/nst0 offline BTW _after_ you have got mtx status working you should check whether your changer needs the drive to be offline before it could do an unload. If it does, you have to change the mtx-changer script or you'll get obscure errors when doing an unmount. # dmesg | tail [168322.441562] NFSD: starting 90-second grace period [1188266.284746] st0: Write not multiple of tape block size. [1188301.160942] st0: Write not multiple of tape block size. [1189175.640945] st0: Write not multiple of tape block size. [1189249.930203] st0: Write not multiple of tape block size. [1206329.081616] st0: Write not multiple of tape block size. [1206335.525053] st0: Write not multiple of tape block size. [1206359.269428] st0: Write not multiple of tape block size. [1207514.104233] st0: Write not multiple of tape block size. [1791080.401660] st0: Write not multiple of tape block size. This might be related to the lines: Minimum block size = 1024 Maximum blocksize = 1024 in your bacula-sd config. And/or the fact that your tape and/or drive set to blocksize 512. But I am relative sure, this doesn't stop mtx status from working. Andreas - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FW: Backup of a mysql dump of the database
I have to maintain a server park with 500+ databases, and databases being remove and added every day. So defining a job for each database is not an option. Creating a backup of the database files is not what I'm looking for, as I will be unable to restore Inno databases. Inno databases are stored in one file, not separate files / directories as MyISAM. Regards, Marc -Oorspronkelijk bericht- Van: Jerome Massano [mailto:[EMAIL PROTECTED] Verzonden: woensdag 23 mei 2007 11:20 Aan: Marc CC: bacula-users@lists.sourceforge.net Onderwerp: Re: [Bacula-users] FW: Backup of a mysql dump of the database Hi You can do a database by database dump with mysqldump (see man mysqldump). I suppose you could do what you want by setting multiple jobs: First job has : Client Run Before Job = mysqldump database1 file-1 Fileset = file-1-fs Client Run After Job = rm file-1 Second job has : Client Run Before Job = mysqldump database2 file-2 Fileset = file-2-fs Client Run After Job = rm file-2 etc... Of course you will have to configure file-1-fs and file-2-fs to backup file-1 and file-2. I think the syntax is false because I did it without looking at the documentation, but the idea is here. If you are using another database, i think there would be an equivalent to mysqldump. Hope that will help PS : sorry for my really bad english ^^ Le mercredi 23 mai 2007 à 10:53 +0200, Marc a écrit : Hi, I've searched the archives, but I can not find any relevant information. Therefor my question: is it possible to do a database by database dump and backup these dump files? Because of database sizes, it would be very nice if this can be done database by database. I mean first do the dump of database 1, move it to bacula, remove the dump, dump of database 2, move it to bacula, etc... Can this be done? Kind regards, Marc -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] compiling check_bacula
Adam Cécile escribió: On Debian, bacula build depends on libssl-dev. Check your distro packages manager and install ssl headers. openssl and openssl-devel are installed. Anything else? thanks Jorge González a écrit : Adam Cécile escribió: Some SSL headers missing ? I think so but I'm not a programmer :( Jorge González a écrit : hi all! ok, I applied the patchs (http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+bacula) and got new errors (output trunked): ==E/ntering directory /usr/local/src/bacula-2.0.3/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.3/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c /usr/bin/g++ -L../lib -L../cats -o check_bacula check_bacula.o authenticate.o \ -lbac -lm -lpthread -ldl ../lib/libbac.a(tls.o): In function `openssl_bsock_readwrite': /usr/local/src/bacula-2.0.3/src/lib/tls.c:607: undefined reference to `SSL_write' /usr/local/src/bacula-2.0.3/src/lib/tls.c:609: undefined reference to `SSL_read' /usr/local/src/bacula-2.0.3/src/lib/tls.c:613: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `tls_bsock_shutdown(BSOCK*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:562: undefined reference to `SSL_shutdown' /usr/local/src/bacula-2.0.3/src/lib/tls.c:564: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `openssl_bsock_session_start': /usr/local/src/bacula-2.0.3/src/lib/tls.c:457: undefined reference to `SSL_accept' /usr/local/src/bacula-2.0.3/src/lib/tls.c:459: undefined reference to `SSL_connect' /usr/local/src/bacula-2.0.3/src/lib/tls.c:463: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `free_tls_connection(TLS_Connection*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:430: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `new_tls_connection(TLS_Context*, int)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_s_socket' /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:397: undefined reference to `BIO_int_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:403: undefined reference to `SSL_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:409: undefined reference to `SSL_set_bio' /usr/local/src/bacula-2.0.3/src/lib/tls.c:412: undefined reference to `SSL_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:418: undefined reference to `BIO_free' /usr/local/src/bacula-2.0.3/src/lib/tls.c:419: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `tls_postconnect_verify_host(TLS_Connection*, char const*)':/ Any tricks? Thanks in advance jorge Jorge González escribió: Hi guys! I'm trying to compile check_bacula (nagios) on 2.0.3. I modified autheticate.c and check_bacula.c (http://article.gmane.org/gmane.comp.bacula.user/26619/match=check+bacula) but it doesn't compile: ==Entering directory /usr/local/src/bacula-2.0.2/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c authenticate.c: In function ‘int authenticate_director(BSOCK*, char*, char*)’: authenticate.c:71: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:72: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_storage_daemon(BSOCK*, char*, char*)’: authenticate.c:108: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:109: error: ‘cram_md5_auth’ no se declaró en este ámbito authenticate.c: In function ‘int authenticate_file_daemon(BSOCK*, char*, char*)’: authenticate.c:144: error: ‘cram_md5_get_auth’ no se declaró en este ámbito authenticate.c:145: error: ‘cram_md5_auth’ no se declaró en este ámbito make[1]: *** [authenticate.o] Error 1 make[1]: se sale del directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' Thanks in advance. Jorge - This SF.net email is sponsored by DB2 Express
Re: [Bacula-users] FW: Backup of a mysql dump of the database
Marc a écrit : I have to maintain a server park with 500+ databases, and databases being remove and added every day. So defining a job for each database is not an option. I can't imagine a way to back them up one by one in a single job. Creating a backup of the database files is not what I'm looking for, as I will be unable to restore Inno databases. Inno databases are stored in one file, not separate files / directories as MyISAM. I think I don't understand that. Regards, Ludovic Strappazon. Regards, Marc -Oorspronkelijk bericht- Van: Jerome Massano [mailto:[EMAIL PROTECTED] Verzonden: woensdag 23 mei 2007 11:20 Aan: Marc CC: bacula-users@lists.sourceforge.net Onderwerp: Re: [Bacula-users] FW: Backup of a mysql dump of the database Hi You can do a database by database dump with mysqldump (see man mysqldump). I suppose you could do what you want by setting multiple jobs: First job has : Client Run Before Job = mysqldump database1 file-1 Fileset = file-1-fs Client Run After Job = rm file-1 Second job has : Client Run Before Job = mysqldump database2 file-2 Fileset = file-2-fs Client Run After Job = rm file-2 etc... Of course you will have to configure file-1-fs and file-2-fs to backup file-1 and file-2. I think the syntax is false because I did it without looking at the documentation, but the idea is here. If you are using another database, i think there would be an equivalent to mysqldump. Hope that will help PS : sorry for my really bad english ^^ Le mercredi 23 mai 2007 à 10:53 +0200, Marc a écrit : Hi, I've searched the archives, but I can not find any relevant information. Therefor my question: is it possible to do a database by database dump and backup these dump files? Because of database sizes, it would be very nice if this can be done database by database. I mean first do the dump of database 1, move it to bacula, remove the dump, dump of database 2, move it to bacula, etc... Can this be done? Kind regards, Marc -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] compiling check_bacula
On Wed, 23 May 2007 12:36:34 +0200, Jorge Gonzalez said: Adam C�cile escribi�: On Debian, bacula build depends on libssl-dev. Check your distro packages manager and install ssl headers. openssl and openssl-devel are installed. Anything else? The problem is that check_bacula doesn't link to the openssl libraries. I have not looked at the source code of check_bacula, but my guess is that OPENSSL_LIBS should be added to check_bacula/Makefile.in e.g. like dird/Makefile.in. __Martin thanks Jorge Gonz�lez a �crit : Adam C�cile escribi�: Some SSL headers missing ? I think so but I'm not a programmer :( Jorge Gonz�lez a �crit : hi all! ok, I applied the patchs (http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+bacula) and got new errors (output trunked): ==E/ntering directory /usr/local/src/bacula-2.0.3/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.3/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c /usr/bin/g++ -L../lib -L../cats -o check_bacula check_bacula.o authenticate.o \ -lbac -lm -lpthread -ldl ../lib/libbac.a(tls.o): In function `openssl_bsock_readwrite': /usr/local/src/bacula-2.0.3/src/lib/tls.c:607: undefined reference to `SSL_write' /usr/local/src/bacula-2.0.3/src/lib/tls.c:609: undefined reference to `SSL_read' /usr/local/src/bacula-2.0.3/src/lib/tls.c:613: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `tls_bsock_shutdown(BSOCK*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:562: undefined reference to `SSL_shutdown' /usr/local/src/bacula-2.0.3/src/lib/tls.c:564: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `openssl_bsock_session_start': /usr/local/src/bacula-2.0.3/src/lib/tls.c:457: undefined reference to `SSL_accept' /usr/local/src/bacula-2.0.3/src/lib/tls.c:459: undefined reference to `SSL_connect' /usr/local/src/bacula-2.0.3/src/lib/tls.c:463: undefined reference to `SSL_get_error' ../lib/libbac.a(tls.o): In function `free_tls_connection(TLS_Connection*)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:430: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `new_tls_connection(TLS_Context*, int)': /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_s_socket' /usr/local/src/bacula-2.0.3/src/lib/tls.c:391: undefined reference to `BIO_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:397: undefined reference to `BIO_int_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:403: undefined reference to `SSL_new' /usr/local/src/bacula-2.0.3/src/lib/tls.c:409: undefined reference to `SSL_set_bio' /usr/local/src/bacula-2.0.3/src/lib/tls.c:412: undefined reference to `SSL_ctrl' /usr/local/src/bacula-2.0.3/src/lib/tls.c:418: undefined reference to `BIO_free' /usr/local/src/bacula-2.0.3/src/lib/tls.c:419: undefined reference to `SSL_free' ../lib/libbac.a(tls.o): In function `tls_postconnect_verify_host(TLS_Connection*, char const*)':/ Any tricks? Thanks in advance jorge Jorge Gonz�lez escribi�: Hi guys! I'm trying to compile check_bacula (nagios) on 2.0.3. I modified autheticate.c and check_bacula.c (http://article.gmane.org/gmane.comp.bacula.user/26619/match=check+bacula) but it doesn't compile: ==Entering directory /usr/local/src/bacula-2.0.2/src/check_bacula make[1]: se ingresa al directorio `/usr/local/src/bacula-2.0.2/src/check_bacula' /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti check_bacula.c /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti authenticate.c authenticate.c: In function int authenticate_director(BSOCK*, char*, char*): authenticate.c:71: error: cram_md5_get_auth no se declar� en este �mbito authenticate.c:72: error: cram_md5_auth no se declar� en este �mbito authenticate.c: In function int authenticate_storage_daemon(BSOCK*, char*, char*): authenticate.c:108: error: cram_md5_get_auth no se declar� en este �mbito authenticate.c:109: error: cram_md5_auth no se declar� en este �mbito authenticate.c: In function int authenticate_file_daemon(BSOCK*, char*, char*): authenticate.c:144: error:
Re: [Bacula-users] spooling attributes to the director too slow
Arno Lehmann wrote: the current beta version 2.1.10 has some improvements that should speed up catalog inserts *a lot*. I'd recommend to give it a try if you dare running a beta version on a production system. As far as I know, there is neither a tape format change, nor a catalog schema change between 2.0 and 2.1.10, so if you keep a catalog dump and use new tapes you could revert to your existing installation without any problems. Hi Arno It is a production system, but I'll think about it when I'm back from vacation in about two and a half weeks. Another Idea is to workaround this by splitting the job (and the fileset) in two pieces running at the same time. Thanks a lot Manuel -- View this message in context: http://www.nabble.com/spooling-attributes-to-the-director-too-slow-tf3800623.html#a10762438 Sent from the Bacula - Users mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FW: Backup of a mysql dump of the database
On Wed, 23 May 2007 12:28:20 +0200, Marc said: I have to maintain a server park with 500+ databases, and databases being remove and added every day. So defining a job for each database is not an option. You can probably build a solution based on fifos, but it will still be complicated if you want to restore only 1 of the 500 databases. See: http://www.bacula.org/rel-manual/FileSet_Resource.html#readfifo http://paramount.ind.wpi.edu/wiki/doku.php?id=application_specific_backups#postgresql __Martin Creating a backup of the database files is not what I'm looking for, as I will be unable to restore Inno databases. Inno databases are stored in one file, not separate files / directories as MyISAM. Regards, Marc -Oorspronkelijk bericht- Van: Jerome Massano [mailto:[EMAIL PROTECTED] Verzonden: woensdag 23 mei 2007 11:20 Aan: Marc CC: bacula-users@lists.sourceforge.net Onderwerp: Re: [Bacula-users] FW: Backup of a mysql dump of the database Hi You can do a database by database dump with mysqldump (see man mysqldump). I suppose you could do what you want by setting multiple jobs: First job has : Client Run Before Job = mysqldump database1 file-1 Fileset = file-1-fs Client Run After Job = rm file-1 Second job has : Client Run Before Job = mysqldump database2 file-2 Fileset = file-2-fs Client Run After Job = rm file-2 etc... Of course you will have to configure file-1-fs and file-2-fs to backup file-1 and file-2. I think the syntax is false because I did it without looking at the documentation, but the idea is here. If you are using another database, i think there would be an equivalent to mysqldump. Hope that will help PS : sorry for my really bad english ^^ Le mercredi 23 mai 2007 à 10:53 +0200, Marc a écrit : Hi, I've searched the archives, but I can not find any relevant information. Therefor my question: is it possible to do a database by database dump and backup these dump files? Because of database sizes, it would be very nice if this can be done database by database. I mean first do the dump of database 1, move it to bacula, remove the dump, dump of database 2, move it to bacula, etc... Can this be done? Kind regards, Marc -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem Bacula-Web
Hi, I have installed Bacula 1.38 on a debian etch server. I think Bacula works fine. Now I want to install Bacula-Web. But I think it is a problem to install the Version 2.0.3 in touch with the old version 1.38 of Bacula. If I open the Browser, I get the Error query: 4 message. What can I do to solve this problem??? Or is it possible to get the old version 1-38-x.tar.gz of Bacula-web which is working better with Bacula 1.38??? Daniel _ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071distributionid=0066 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] exchange backup
Hello, I want know if I can do a MS Exchange backup with bacula and what is the procedure to make this. Thank you - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] exchange backup
Hello, I want know if I can do a MS Exchange backup with bacula and what is the procedure to make this. Thank you - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problems to understand bacula's schedules
Hello guys, My name is Marcos, I'm from Brazil. I live in São Pualo. I'm a novice user and my question can be easy for expert users, but I'd like to get help. I've been passing through many problems to understand about bacula's schedules, therefore I resort the bacula mailing list. My environment is: The server for bacula-sd and bacula-dir: - Pentium III 750 Mhz - Hard disk 20 GB - Memory 512 DIMM - Motherbord INTEL - DATA TAPE -- SONY DDS3 / SDT9000 - Operation System is FreeBSD 6.2 STABLE - 20 Cartridges DDS3 Two servers with bacula-fd installed. One it is a mail box server and another one it is a webserver. Both must keep backups about two months. I've been thinking that the backups must be made in the following way: Example: The full backup to run on 1st Saturday of the month; The differential backup to run on 3rd Saturday of the month; The incremental backup to run everyday from Monday to Friday; My doubt begins here. How many cartridges do I need for each server? How do I make the configuration of schedule into the bacula-dir file? The point is I don't understand how to do. I already read his guide but I couldn't understand. Could somebody show me how to make it? Please. I'm very grateful. -- Marcos Francisco Alcântara Silva UNIX System administrator. FUG-BR User #248 Linux user #425822 --- Existem indivíduos que estão consideravelmente adiantados nessa trajetória para o Criador É extremamente importante saber que ninguém ensina nada, mas que existem pessoas que aprendem - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Connection failures, backup failures, restore failures
Joseph Wright wrote: Running 'status jobs' shows that all jobs ended with errors. However, there were no logs to tell me what happened. You certain there are no logs? Normally there is a log file in bacula's working directory (as defined in bacula-dir.conf). The log file should be there... did you look? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backup only modified files question
Hello everyone. I am interested in creating a disk to disk daily backup (at least daily) that will backup up all files that were modified after a certain date. I realize this is possible with a differential backup but what I DONT want is a full backup. I just want the subset of files that have been modified since running job X. Perhaps (hopefully) I am wrong, but the documentation states that for differential backups it is required that the job be the same job, meaning that it is required that a full backup be made. I was wondering if there is another way to do this. Perhaps by using the catalog from a full backup performed on date X. If anyone has any suggestions or tricks for this please let me know. I apologize if I missed this in the documentation or if the answer is trivial. BTW this is done so that I can lose the RAID volume, restore from 2 week old tape to the new RAID, and then update the files with the daily disk backup from the other backup RAID. Thanks Nick - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to unload all loaded tapes to library ?
Hello Adam, that is what I do: I have an admin-Job: Job { Name = unload_tape Type = admin Client = bacula-fd JobDefs = backup FileSet=Catalog RunBeforeJob = /usr/libexec/bacula/unload_tape Schedule = nachts Priority = 99 # } /usr/libexec/bacula/unload_tape: #!/bin/bash /usr/sbin/bconsole -c /etc/bacula/bconsole.conf END_OF_DATA unmount storage=DLT-S4 unmount storage=X unmount storage=Y END_OF_DATA sleep 120 /usr/sbin/bconsole -c /etc/bacula/bconsole.conf END_OF_DATA mount storage=DLT-S4 mount storage=X mount storage=Y END_OF_DATA In the morning, I only have to collect the tapes from the library :-) regards Thomas Am Montag, 14. Mai 2007 09:40 schrieb Adam Cécile: Hi, All weeks I need to unload all tapes from drives to the library, so all tapes can be removed from the Autochanger easily. However, when I do umount, device is marked as BLOCKED and no more jobs run until I mount the drive again. What's the right way to eject all tapes without blocking drives ? Thanks in advance. # bacula-dir.conf # Autochanger Dell PV132T (21x LTO3) Storage { Name = Autochanger Address = srv-mpp-lrs SDPort = 9103 Password = ZK9nC86vuFvW80l28xQ3jaKtEJt89jXM3R31VjdZl Device = Dell-PV132T Media Type = LTO3 Autochanger = yes Maximum Concurrent Jobs = 2 } # bacula-sd.conf # An autochanger device with two drives Autochanger { Name = Dell-PV132T Device = ULTRIUM-TD3-1 Device = ULTRIUM-TD3-2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Device { Name = ULTRIUM-TD3-1 Drive Index = 0 Media Type = LTO3 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; #RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Device { Name = ULTRIUM-TD3-2 Drive Index = 1 Media Type = LTO3 Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; #RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } -- Mit freundlichen Grüßen i.A. Thomas Sturm EDV Abteilung Melle Dachbaustoffe GmbH An der Unteren Söse 36 37520 Osterode Telefon 05522 967-160 Fax 05522 967-149 eMail [EMAIL PROTECTED] Melle Dachbaustoffe GmbH, Registergericht Göttingen, HRB 130676 Sitz der Gesellschaft Osterode am Harz, Ust-ID-Nummer DE115896425 Geschäftsführer: Joel Bravard, Christopher J. Davies, Frank Engelmann Geschäftsführer: Ralf Gehrke, Manfred Marks - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
Next time the output of status storage, show volumes, show jobs, list volumes etc would be useful for debugging the decision making behind such behavior ~BAS On Fri, 2007-05-18 at 09:02 +0200, Adam Cécile wrote: Hi, Today my director was blocked. It was asking for a volume which had inchangler flag set to no while there was 4 purged volume in the right pool. I had to load the volume into the drive manually (with mtx) and then mount it, otherwise bacula keeps asking for the missing volume. How could this happend ? Do I missed something in my configuration ? Thanks in advance, Adam. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backing up authenticated NFS mounts
Hi folks, I'm sure this one's fairly simple but its eluding me at the moment. I'm setting up a service for backing up client data and Bacula seems like quite a good way of doing it as we run a FreeBSD server. I especially like the way you configure the backups server side so noone can fiddle with it as those pesky clients always do :) If it works out, I'm quite happy to incorporate a donation for the project into our billing! Right now though I'm testing it at our own site and I've hit a bit of a snag. We have a NAS box running NFS mounts. I have some data stored on the box which I want to back up. The problem is that the NFS mounts are password protected to stop other people on the network just browsing the sensitive stuff. The machine running the fd has the path mounted as a drive but I imagine that the fd doesn't have access to these credentials as it has to run as the system account. So how do I do it? I don't think there's a way to specify credentials in the FileSet definition on the server, and I'd rather not keep all the passwords there anyway. Is there a proper way to supply credentials? I've tried: fd service running as system fd service running as local user already authenticated to the NAS box I've also tried accessing the box directly (//192.168.x.x/path/to/share) and via a mapped network drive (Y:/path/to/share) Nothing I try seems to get access to the share. I can envisage client situations where the nfs mount is done all sorts of different ways..passwords synched through Active Directory, no AD at all with passwords synched to user accounts, and sometimes no synchronisation at all so without a way to specify credentials then I'm pretty much stuffed! - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula: cannot restore - error wile restoring
Hi, I have a serious problem restoring files and catalog from bacula-tapes. I am using bacula with the wxconsole on Windows. When I click on restore and fill in what I want to do (same result with any option), a window saying building restore tree.. shows up for a second and then closes. I just get the message error while restoring. I suppose the error is in the configuration file. Here are bacula-dir.conf and bacula-sd.conf. Hoping that anybody finds an error. I don't. bacula-dir.conf: == Director {# define myself Name = server-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 1 Password = # Console password Messages = Daemon } JobDefs { Name = DefaultJob Type = Backup Level = Full Client = server-fd FileSet = Full Set Schedule = WeeklyCycle Storage = DAT-72 Messages = Standard Pool = Default Priority = 10 } # # Define the main nightly save backup job # By default, this job will back up to disk in /tmp Job { Name = Client1 JobDefs = DefaultJob Write Bootstrap = /var/lib/bacula/Client1.bsr } # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog JobDefs = DefaultJob Level = Full FileSet=Catalog Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog RunBeforeJob = /etc/bacula/scripts/make_catalog_backup -uuser -ppassword # This deletes the copy of the catalog RunAfterJob = /etc/bacula/scripts/delete_catalog_backup Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr Priority = 11 # run after main backup } # Standard Restore template, to be changed by Console program Job { Name = RestoreFiles Type = Restore Client=server-fd FileSet=Full Set Storage = DAT-72 Pool = Default Messages = Standard Where = /tmp/bacula-restores } # List of files to be backed up FileSet { Name = Full Set Include { Options { signature = MD5 } # # Put your list of files here, preceded by 'File =', one per line #or include an external list with: # #File = file-name # # Note: / backs up everything on the root partition. #if you have other partitons such as /usr or /home #you will probably want to add them too. # # By default this is defined to point to the Bacula build #directory to give a reasonable FileSet to backup to #disk storage during initial testing. # #File = /tmp/buildd/bacula-1.36.2 File = /home/daten } # # If you backup the root directory, the following two excluded # files can be useful # Exclude { File = /home/daten/admin } } # # When to do the backups, full backup on first sunday of the month, # differential (i.e. incremental since full) every other sunday, # and incremental backups other days Schedule { Name = WeeklyCycle Run = Full tue-sat at 1:05 # Run = Differential 2nd-5th sun at 1:05 # Run = Incremental mon-sat at 1:05 } # This schedule does the catalog. It starts after the WeeklyCycle Schedule { Name = WeeklyCycleAfterBackup Run = Full tue-sat at 1:10 } # This is the backup of the catalog FileSet { Name = Catalog Include { Options { signature = MD5 } File = /var/lib/bacula/bacula.sql } } # Client (File Services) to backup Client { Name = server-fd Address = server FDPort = 9102 Catalog = MyCatalog Password = # password for FileDaemon File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files } # Definiton of file storage device #Storage { # Name = File # Do not use localhost here # Address = server# N.B. Use a fully qualified name here # SDPort = 9103 # Password = # Device = FileStorage # Media Type = File #} # Definition of DDS tape storage device Storage { Name = DAT-72 # Do not use localhost here Address = server# N.B. Use a fully qualified name here SDPort = 9103 Password = # password for Storage daemon Device = DAT-72 # must be same as Device in Storage daemon Media Type = DAT-72 # must be same as MediaType in Storage daemon } # Definition of 8mm tape storage device #Storage { # Name = 8mmDrive # Do not use localhost here # Address = server# N.B. Use a fully qualified name here # SDPort = 9103 # Password = # Device = Exabyte 8mm # MediaType = 8mm #} # Generic catalog service Catalog { Name = MyCatalog dbname = bacula; password = @db_pswd@ } # Reasonable message delivery -- send most everything to email address # and to the console Messages { Name = Standard # # NOTE! If you send to two email or more email addresses, you
[Bacula-users] A new GUI were born
Hi folks! An another GUI were born, it's name JavaBacula. If you can spend 7 minutes to see it's features go to the following address: youtube.com/watch?v=BWPFJJ__3wc I think it's worths it. Regards, Pal - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Avoid full backup after the first run
Hi all, I need to set up a daily incremental job with a maximum of one week history (snapshot). To do this I configured a volume pruning period of 8 days: in the first run it will be done a full backup while the following others will be incremental. After the pruning period expires, the first full archive (I set to create 1 archive per job) will be pruned and recycled and so in the next run baculla again will do a full backup. What I want is to avoid full backup every week: I want bacula in its jobs to transfer only the new data created/removed/modified in the last 8 days without the need to retransfer all the host filesystem because of the full archive has been pruned. Please, does anybody know if bacula can do this? Any comment or help will be appreciated. Thank you, Stefano - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Remote ADSL bacula buckup
Hello: I'm working with bacula for doing remotes backups of my delegations. I would like to know how optimize bacula for doing this. My problem is with the connection between my offices. If an initial full backup with 5 Gb takes an error when I have 4 Gb after 2 days, I loss this data because bacula label the job as an error. thanks - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bweb - Update volume doesn't work on Debian etch
Hello, I have upgraded our backup server to Debian etch a few days ago. Before this we were using sarge with hand-made packages of bacula 2.0 Now we are using the packages from sourceforge since they are made for etch. I have noticed that since the upgrade the update media operation doesn't work any more in bweb. I choose Media/All Media, select a tape with the checkbox, hit the edit Icon and a new Window appears with Update media. Now I set the status from Append to Used and hit apply. Then I must wait approx. 30 seconds then the update media window appears again, but the status of the volume is still set to Append. The Apache error log says: print() on closed filehandle GEN0 at /usr/lib/perl/5.8/IO/Handle.pm line 147 What's wrong? In sarge this was working. We are using a Sony Tape changer LIB-162, PostgreSQL as baculas database backend and the folowing packages: ii bacula-client 2.0.0-1 Network backup, recovery and verification (C ii bacula-common 2.0.0-1 Network backup, recovery and verification (C ii bacula-console 2.0.0-1 Network backup, recovery and verification (M ii bacula-director-common 2.0.0-1 Network backup, recovery and verification (D ii bacula-director-pgsql 2.0.0-1 Network backup, recovery and verification (D ii bacula-fd 2.0.0-1 Network backup, recovery and verification (F ii bacula-sd 2.0.0-1 Network backup, recovery and verification (S ii bacula-sd-pgsql2.0.0-1 Network backup, recovery and verification (S ii bweb 2.0.3-3 Bacula restore interface ii bweb-common2.0.3-3 Bacula restore interface uname -a: Linux bs1 2.6.18-4-686 #1 SMP Wed May 9 23:03:12 UTC 2007 i686 GNU/Linux Since bweb worked under sarge I suspect bweb.conf to be correct. Update in bconsole works, so the issue is located in bweb. Please don't say Then use bconsole, because the other admins here are Windows Users who know almost nothing about command line interfaces:-) Regards, Henry - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FW: Backup of a mysql dump of the database
Ludovic Strappazon wrote: Marc a écrit : I have to maintain a server park with 500+ databases, and databases being remove and added every day. So defining a job for each database is not an option. I can't imagine a way to back them up one by one in a single job. Creating a backup of the database files is not what I'm looking for, as I will be unable to restore Inno databases. Inno databases are stored in one file, not separate files / directories as MyISAM. I think I don't understand that. Check out the backup pages on the MySQL web site. They discuss these issues and what the options are. Inno are clearly different than MyISAM. They mention the options and pitfalls for each. --- Chris Hoogendyk - O__ Systems Administrator c/ /'_ --- Biology Geology Departments (*) \(*) -- 140 Morrill Science Center ~~ - University of Massachusetts, Amherst [EMAIL PROTECTED] --- Erdös 4 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Spooling directory management
On Wednesday 23 May 2007 02:20:42 am Ralf Gross wrote: Ivan Adzhubey schrieb: I have Bacula configured to use spooling to disk. I can see a few rather old (timestamped from 6 months to 2 years ago) spool files sitting in the spooling directory. Can I assume these are leftovers from some crashed backup jobs and thus can I safely remove them? They use quite some space. My understanding is that after a full successful backup cycle, Bacula should leave spooling directory empty, right? It first spools, then dumps everything to tape, then deletes spool files, am I correct? That's how it works here, it should be ok to remove these files. Thanks, Ralf. Time for spring cleaning... --Ivan - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] Current version of bat
On Tuesday 15 May 2007 20:12, Ryan Novosielski wrote: Kern Sibbald wrote: Hello, On Thursday 10 May 2007 02:20, Berend Dekens wrote: Arno Lehmann wrote: Hi, On 5/9/2007 10:27 PM, Christopher Schwerdt wrote: What about status icons? Yes, great idea. We would like to use icons but don't have any good ones. For example, our current Status dir and Messages button icons are identical. I'm not a designer and cannot create such icons, and I suspect it is the same for Dirk. Contributions anyone? Silk is a good looking and free icon pack: http://www.famfamfam.com/lab/icons/silk/ No tape icons :-( Or, more general, the focus of bat would probably require more specialized icons. Arno How about specifying what icons would be needed for BAT? I'm sure if you gave a list of icons you would need a designer would much faster take a crack at it... OK, I have included a screen shot of the current Bacula. One could easily start on the tool bar icons. From left to right, the icons are: - Connect (connect to director) -- there is a corresponding disconnected icon as well. - Status dir - Messages - Label - Restore - Run a job - Undock current window (in right pane) Note, Status dir and Messages are the same icon. What I think is most important is the following: 1. To have different Status dir and Messages Icons 2. To have a better Icon for Undock 3. Possibly have a better icon for run 4. Examine the other icons I've included attached a copy of all those icons. Finally, in addition to the up arrow icon, which serves as both the undock tool bar button as well as the up one directly level in the restore point and click, there are mark and unmark buttons, which are not too bad, but blue compared to the green up arrow (also a different style). I've also included a screen dump of the restore window (a bit squeezed to reduce the size). Any help with these or other icons would be very welcome. Hello, I'm not sure why this email was delivered today, but ... I'm not sure how possible this is, but for a layperson it would SEEM likely to be possible -- couldn't the native Qt icon sets for directory listings/file picker be used rather than text? I think it would make the GUI look much more like a GUI than the occasional text-inside-a-graphics-window look that it has in some places now. As far as I know there is no such thing as a native Qt icon set, and I am really not sure what dialog you are referring to. We do not use any directory listings/file picker. We do use a widget tree for file restores. Of course, almost anything is possible, but at the moment as we have explained, we are concentrating on adding functionality rather than beautifying bat. IANA KDE/Qt programmer though. :) -- _ _ _ _ ___ _ _ _ |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 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bacula-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] DVD backup not starting
Arno Lehmann wrote: Running Jobs: JobId Level Name Status == 18 Increme Client1.2007-05-21_12.21.30 is waiting for a mount request (still waiting about 20 minutes after run), and: Ok. Have you tried issuing a mount at this time? Now I have. If the media is blank the mount obviously fails and nothing happens. If the media already has at least one session and its appendable the mount succeeds but in bacula still nothing happens. Also, use trace=1, so you have a bconsle command of 'setdebug level=200 trace=1 sd=server-Emmeti-sd' Then, look at the trace file in the working directory of the SD... IIRC, it would be called server-Emmeti-sd.trace. I post here the parts that I believe can be useful to find the problem (blank DVD media in this case): server-Emmeti-sd: askdir.c:204 do_reqest_vol_info return true slot=0 Volume=Backup-0003 server-Emmeti-sd: reserve.c:159 New Vol=Backup-0003 dev=DVD-Writer (/dev/hdb) server-Emmeti-sd: reserve.c:735 JobId=27 looking for Volume=Backup-0003 server-Emmeti-sd: reserve.c:862 reserve_append device is disk server-Emmeti-sd: reserve.c:893 PrefMnt=1 exact=1 suitable=1 chgronly=0 any=0 server-Emmeti-sd: reserve.c:944 failed: Not exact match have= want=Backup-0003 server-Emmeti-sd: reserve.c:866 can_reserve_drive!=1 server-Emmeti-sd: reserve.c:258 free_unused_volume Backup-0003 server-Emmeti-sd: reserve.c:760 Not OK. server-Emmeti-sd: reserve.c:597 Suitable device found=DVD-Writer, not used: busy [...] server-Emmeti-sd: dircmd.c:206 dird: run server-Emmeti-sd: dircmd.c:220 Do command: run server-Emmeti-sd: job.c:153 Run_cmd: run server-Emmeti-sd: job.c:172 Client1.2007-05-23_14.01.20 waiting 1800 sec for FD to contact SD server-Emmeti-sd: bnet.c:1154 who=client host=127.0.0.1 port=36643 server-Emmeti-sd: dircmd.c:169 Conn: Hello Start Job Client1.2007-05-23_14.01.20 server-Emmeti-sd: job.c:214 Found Job Client1.2007-05-23_14.01.20 [...] server-Emmeti-sd: job.c:190 Running job Client1.2007-05-23_14.01.20 server-Emmeti-sd: fd_cmds.c:122 Start run Job=Client1.2007-05-23_14.01.20 server-Emmeti-sd: fd_cmds.c:160 filed: append open session server-Emmeti-sd: fd_cmds.c:228 Append open session: append open session server-Emmeti-sd: fd_cmds.c:238 filed: 3000 OK open ticket = 1 server-Emmeti-sd: fd_cmds.c:160 filed: append data 1 server-Emmeti-sd: fd_cmds.c:190 Append data: append data 1 server-Emmeti-sd: fd_cmds.c:192 bfiled: append data 1 server-Emmeti-sd: append.c:73 Start append data. res=1 server-Emmeti-sd: acquire.c:318 acquire_append device is DVD server-Emmeti-sd: acquire.c:384 Not in append mode, try mount. server-Emmeti-sd: acquire.c:390 Do mount_next_write_vol server-Emmeti-sd: mount.c:74 Enter mount_next_volume(release=0) dev=DVD-Writer (/dev/hdb) server-Emmeti-sd: mount.c:84 mount_next_vol retry=0 server-Emmeti-sd: mount.c:110 Before dir_find_next_appendable_volume. server-Emmeti-sd: askdir.c:252 dir_find_next_appendable_volume server-Emmeti-sd: askdir.c:266 dird: CatReq Job=Client1.2007-05-23_14.01.20 FindMedia=1 pool_name=Default media_type=DVD server-Emmeti-sd: askdir.c:182 dird 1000 OK VolName=Backup-0003 VolJobs=0 VolFiles=0 VolBlocks=0 VolBytes=0 VolMounts=0 VolErrors=0 VolWrites=0 MaxVolBytes=460800 VolCapacityBytes=0 VolStatus=Append Slot=0 MaxVolJobs=0 MaxVolFiles=0 InChanger=0 VolReadTime=0 VolWriteTime=0 EndFile=0 EndBlock=0 VolParts=0 LabelType=0 MediaId=3 server-Emmeti-sd: askdir.c:204 do_reqest_vol_info return true slot=0 Volume=Backup-0003 server-Emmeti-sd: reserve.c:323 Vol=Backup-0003 not in use. server-Emmeti-sd: reserve.c:159 New Vol=Backup-0003 dev=DVD-Writer (/dev/hdb) server-Emmeti-sd: mount.c:122 After find_next_append. Vol=Backup-0003 Slot=0 Parts=0 server-Emmeti-sd: autochanger.c:121 Device DVD-Writer (/dev/hdb) is not an autochanger server-Emmeti-sd: mount.c:142 autoload_dev returns 0 server-Emmeti-sd: mount.c:158 Ask=0 autochanger=0 server-Emmeti-sd: mount.c:168 want vol=Backup-0003 server-Emmeti-sd: dev.c:295 open dev: type=3 dev_name=DVD-Writer (/dev/hdb) vol=Backup-0003 mode=OPEN_READ_WRITE server-Emmeti-sd: dev.c:302 call open_dvd_device mode=OPEN_READ_WRITE server-Emmeti-sd: dev.c:510 Enter: open_dvd_dev: DVD vol= mode=OPEN_READ_WRITE server-Emmeti-sd: dev.c:521 Volume=Backup-0003 server-Emmeti-sd: dev.c:533 Set part=1 server-Emmeti-sd: dev.c:546 open DVD part=1 num_dvd_parts=0 server-Emmeti-sd: dev.c:563 open_dvd_device: part=1 num_dvd_parts=0, VolCatInfo.VolCatParts=0 server-Emmeti-sd: dev.c:1957 Enter mount server-Emmeti-sd: dev.c:2005 do_mount: cmd=/bin/mount /dev/hdb mounted=0 server-Emmeti-sd: dev.c:2017 do_mount run_prog=/bin/mount /dev/hdb server-Emmeti-sd: dev.c:1996 === mount=0 server-Emmeti-sd: dev.c:2040 Device DVD-Writer (/dev/hdb) cannot be mounted. stat=268435488 result=mount: wrong fs type, bad option, bad superblock on /dev/hdb, missing codepage or other error In
Re: [Bacula-users] [Bacula-devel] feature request : clustered server
Hello, Thanks for your feature request. Unfortunately at the moment no one is collecting these, and so you will probably need to resubmit it later. Concerning the request itself. This is very unlikely to be implemented any time in the near future unless someone contributes the code, because this is a rather high-end feature, and there are a very large number of other missing features that are much higher in priority (IMO). Regards, Kern On Friday 18 May 2007 15:11, Rich wrote: this probably is the worst time to submit a request, but given it's scope it probably won't have huge impact :) i am not currently subscribed to -devel - please, cc me or -users (or force me to subscribe, if the discussion would be limited to that list). ps. page http://www.bacula.org/?page=vote doesn't seem to have the latest results; page http://www.bacula.org/?page=projects has item description Implement a Bacula console, and management tools probably using Qt3 and C++. - from my reading of list archives, it seems qt4 is used ? the projects page also has some typos, that i would have fixed if that was in a wiki :) - Item 41: Clustered bacula server, including director, storage daemon and database Origin: Rihards, [EMAIL PROTECTED] Date: 18 May 2007 Status: What: It would be nice to run two (or more) separate backup servers that would synchronise backups and be able to take over each others clients in case any server dies. Clustered servers would each run a director, storage daemon and each would have a separate database. Why:Disk based backup solutions have become very popular, but proper offsite backups and distributed servers are cumbersome and requires too much of hacking and manual interventions. Currently, failed primary server would require manual reconfiguring of all clients (setting identical director names welcomes mistakes later on), and it also requires syncing data separately from bacula. Configuring and restoring from a secondary system is far from straightforward. In case of geographically distributed servers there also is no way to tell backup jobs to go to a particular server first, so there's increased network traffic as well. For example, if organisation has two locations that both have services to backup, each site could have a separate backup server with simple failover to the remote server. Notes: * File daemons would have access for all servers in the cluster; * It should be possible to set preferred server for each client; * How should sharing of the configuration be implemented ? Would it be enough to configure one server and get the changes propagated to all of them ? * Would it make sense to back up to one server only ? For example, some jobs could be configured to back up, but not sync to other servers. In case of the primary server failure secondary server would take the backup, but move it to the primary when it comes back. -- Rich - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bacula-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] exchange backup
I haven¹t backed-up Exchange, but I think it has it¹s own tool to back-up the mailboxes. You can schedule this back-up to happen before bacula backs-up, or if there is a command line tool for it, create a batch file and call that from Client Run Before Job. Again, I have no experience, this is just an idea. Robert On 5/17/07 4:38 AM, Francisco Garcia Perez [EMAIL PROTECTED] wrote: Hello, I want know if I can do a MS Exchange backup with bacula and what is the procedure to make this. Thank you - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Robert LeBlanc BioAg Computer Support Brigham Young University [EMAIL PROTECTED] (801)422-1882 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Volume errors since update to 2.0.3
Hello, I used bacula-1.38, since I updated it to 2.0.3, it backuped 4 times ok and then it errors with : 23-May 15:53 127.0.0.1-dir: Client1.2007-05-23_15.32.54 Warning: Wanted to create Volume ScribeVolume0109, but it already exists. Trying again. 23-May 15:53 127.0.0.1-dir: Client1.2007-05-23_15.32.54 Error: Too many failures. Giving up creating Volume name. I noticed that that the concerned volumes are not always the same. For example today bacula errors about ScribeVolume0100 to ScribeVolume0109 and on may 20th it errored on ScribeVolume0090 to ScribeVolume0097. Here's part of my SD configuration : Device { Name = FileStorage Media Type = File Archive Device = /var/sauvegardes LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } the DIR conf : Pool { Name = Default Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 100 days LabelFormat = ScribeVolume Recycle Oldest Volume = yes Maximum Volume Bytes = 2 gb Volume Use Duration = 6 days } liste volumes shows all the concerned volumes in database ... what's happening ? K. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] 2.1.10 beta: no appendable volume found problem with multidrive autochanger
With perfer mounted volumes on (default), as you know the algorithm will always select a drive that is currently mounted, however, if I am not mistaken, when no jobs are running and there are two drives with appropriate Volumes mounted, it will attempt to alternate between them, and if there are multiple drives actually writing, the algorithm will attempt to balance the number of jobs on each drive (I didn't look at the code, and this last remark may only apply if prefer mounted volumes is off). I am not sure if this functionality has changed from 1.38.X (as I use the drives directly now) but what I saw was that with prefer mounted volumes on bacula would most of the time use the first drive when I selected the autochanger resource. If a job was running, a second job to a second pool would sometimes block instead of running on the unused tape drive. If no job was running, a job to a different pool than the tape in the first drive would cause the tape to be unloaded from the first drive and sometimes the tape needed was already in the second drive so it too was unloaded to put it into the first drive. If you have prefer mounted volumes off bacula will pick any tape in the pool when running jobs. The algorithm for picking available Volumes from the correct Pool is in the Director, and is totally independent of the state of prefer mounted volumes and anything else that is going on in the SD ... Sorry. My problem here is from time to time I have seen that bacula has 2 or more tapes with the Append status for a single pool which I find a little annoying. A way to avoid this I guess is not to have any unused labeled tapes in a pool and let bacula grab new tapes from either recycling or the scratch pool. I would say that both results are not what a user of a multitape changer would want. Well that is an interesting remark. What does a user of a multiple drive autochanger want? To minimize tape swapping, maximize the use of the drives and to prefer to use tapes with the Append status over grabbing a new tape. One thing that might be different between my needs and others is that I never want to use more than one drive at a time for a single pool. I am not sure that made sense so I will try to say it a different way... I mean that if there are concurrent jobs running for a single pool I want this to only be on a single drive at a time. Thanks, John - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Avoid full backup after the first run
Mandag 21 maj 2007 08:55 skrev Stefano Gridelli: Hi all, I need to set up a daily incremental job with a maximum of one week history (snapshot) What do you mean by snapshot? . To do this I configured a volume pruning period Do you mean retention period? of 8 days: in the first run it will be done a full backup while the following others will be incremental. After the pruning period expires, the first full archive Why do you use archives? (I set to create 1 archive per job) will be pruned and recycled and so in the next run baculla again will do a full backup. Of course - if you haven't got a record of a full backup - Bacula will give you one. What I want is to avoid full backup every week: I want bacula in its jobs to transfer only the new data created/removed/modified in the last 8 days without the need to retransfer all the host filesystem because of the full archive has been pruned. Without one full backup you have no reliable backup at all Please, does anybody know if bacula can do this? Any comment or help will be appreciated. Thank you, Stefano - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- regards Steen - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FW: Backup of a mysql dump of the database
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Seems to me the MySQL backup script on the wiki may do this, but I could be thinking of the svn backup script. Perhaps that one would help, though, as I know it does go through one by one. Seems to me this would be a pretty easy job though -- you first select to see which databases are on the machine and use this list to loop through and back each one up. No problem, right? I'm not sure, myself. =R Ludovic Strappazon wrote: Marc a écrit : I have to maintain a server park with 500+ databases, and databases being remove and added every day. So defining a job for each database is not an option. I can't imagine a way to back them up one by one in a single job. Creating a backup of the database files is not what I'm looking for, as I will be unable to restore Inno databases. Inno databases are stored in one file, not separate files / directories as MyISAM. I think I don't understand that. Regards, Ludovic Strappazon. Regards, Marc -Oorspronkelijk bericht- Van: Jerome Massano [mailto:[EMAIL PROTECTED] Verzonden: woensdag 23 mei 2007 11:20 Aan: Marc CC: bacula-users@lists.sourceforge.net Onderwerp: Re: [Bacula-users] FW: Backup of a mysql dump of the database Hi You can do a database by database dump with mysqldump (see man mysqldump). I suppose you could do what you want by setting multiple jobs: First job has : Client Run Before Job = mysqldump database1 file-1 Fileset = file-1-fs Client Run After Job = rm file-1 Second job has : Client Run Before Job = mysqldump database2 file-2 Fileset = file-2-fs Client Run After Job = rm file-2 etc... Of course you will have to configure file-1-fs and file-2-fs to backup file-1 and file-2. I think the syntax is false because I did it without looking at the documentation, but the idea is here. If you are using another database, i think there would be an equivalent to mysqldump. Hope that will help PS : sorry for my really bad english ^^ Le mercredi 23 mai 2007 à 10:53 +0200, Marc a écrit : Hi, I've searched the archives, but I can not find any relevant information. Therefor my question: is it possible to do a database by database dump and backup these dump files? Because of database sizes, it would be very nice if this can be done database by database. I mean first do the dump of database 1, move it to bacula, remove the dump, dump of database 2, move it to bacula, etc... Can this be done? Kind regards, Marc -- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 iD8DBQFGVFUlmb+gadEcsb4RAsrMAJ9ygTPP7DK4GVf/Tu9p+k/lrDj0dQCfd3Fm 9Z53HvjoyspxQnacDSJkOHc= =RhKL -END PGP SIGNATURE- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list
Re: [Bacula-users] bat connection error messages
What about printed in the bottom line of the window? Mandag 21 maj 2007 14:00 skrev Kern Sibbald: Hello, Currently when bat attempts to connect to the Director (or any other daemon), the error messages if any are most likely lost -- the original code wasn't written for a GUI. I'm working on getting them to properly display, and will probably provide an API feature where error messages can be sent to one place and text received will be sent to another place. However, for bat itself, I'm wondering if anyone has any preferences for error messages. Would you like to see them popped up in dialog boxes? or would you rather see them simply printed on the Console text screen? Best regards, Kern - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- regards Steen - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] A new GUI were born
Il giorno dom, 20/05/2007 alle 16.41 +0200, [EMAIL PROTECTED] ha scritto: Hi folks! An another GUI were born, it's name JavaBacula. If you can spend 7 minutes to see it's features go to the following address: youtube.com/watch?v=BWPFJJ__3wc I think it's worths it. It seems to be nice :) Is it possibile to try it? will it be opensource? -- Davide Coriodavide.corioatredomino.com Redomino S.r.l. Largo Valgioie 14 - 10146 Torino - Italy Tel: +39 011 7499875 - Fax: +39 011 3716911 http://www.redomino.com/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FW: Backup of a mysql dump of the database
Marc wrote: I have to maintain a server park with 500+ databases, and databases being remove and added every day. So defining a job for each database is not an option. Creating a backup of the database files is not what I'm looking for, as I will be unable to restore Inno databases. Inno databases are stored in one file, not separate files / directories as MyISAM. First off, you shouldn't need to define more than one job per machine. Your run-before-job script(s) should be plenty able to determine which databases to dump. Real quickly, this is how my experience has gone with PostgreSQL databases. 1. Higher ups have said no downtime is allowable, so I cannot simply shut down the database server, back up the raw working files, and restart it. I cannot back up these raw files while it is running because I would never get reliable data as it's changing them constantly. 2. There is a bit of a bug in the run-before-job stuff where if your scripting takes more than 30 minutes then the remainder of the job (actual data transfer, run-after-job) stuff does not run and the job is marked as an error. This has to due with certain connection timeouts between the FD and the SD. You could make a source change and recompile Bacula to increase this limit, but I didn't want to do that. 3. My set-up involves a few dozen machines each with anywhere from 50 to 300 databases on them. 4. First I tried using FIFOs, but ran into various issues. I would not recommend them unless you are critically short on disk space on your servers, since they bring their own complications. (If you do decide to try FIFOs, let me know, I have some scripts from then which may be helpful.) Here's what I do currently. I have a DB jobdef and a DBPREP jobdef. The DBPREP stuff uses a client-run-after-job script (to avoid that 30 minute timeout issue) to actually do the dumping of the databases into files on the disk. The DB jobs have a higher Priority= number, so they run after all DBPREP jobs are done. DBPREP scripts change a little file called rval.dat every time they finish and that file stores whether the DBPREP job actually ran OK or not. The DB client-run-before-job scripts check that file before doing the real backup and cancel the DB job if the previous DBPREP didn't work out. On full backups, the scripts I have on each client dump and compress each database into dbname.sql.gz, and then delete the older files. On differential or incremental days, the script dumps each database into dbname.MMDD.gz. Then, it computes a differential between that and the original dbname.sql.gz file. The differential is dbname.MMDD.diff Finally, it dbname.YYYMMDD.gz and keeps the differential. I use xdelta3 for generating diffs since the default diff tool tends to break very badly when handling large files--it uses too much memory. --Darien Hager -- Darien Hager [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] 2.1.10 beta: no appendable volume found problem with multidrive autochanger
On Wednesday 23 May 2007 17:00, John Drescher wrote: With perfer mounted volumes on (default), as you know the algorithm will always select a drive that is currently mounted, however, if I am not mistaken, when no jobs are running and there are two drives with appropriate Volumes mounted, it will attempt to alternate between them, and if there are multiple drives actually writing, the algorithm will attempt to balance the number of jobs on each drive (I didn't look at the code, and this last remark may only apply if prefer mounted volumes is off). I am not sure if this functionality has changed from 1.38.X (as I use the drives directly now) Multiple drive autochanger support has changed enormously since version 1.38. but what I saw was that with prefer mounted volumes on bacula would most of the time use the first drive when I selected the autochanger resource. I think that is typically what happens, if for no other reason than the drive is very likely to have a Volume already in it, and the current algorithm always selects the first drive that is available. If a job was running, a second job to a second pool would sometimes block instead of running on the unused tape drive. I've never seen that happen. What did happen from time to time was that the SD would become confused about what Volumes were actually mounted. This was particularly a problem in 1.38.x, a bit less in 2.0.x and should now be resolved (barring any bugs) in 2.1.x If no job was running, a job to a different pool than the tape in the first drive would cause the tape to be unloaded from the first drive and sometimes the tape needed was already in the second drive so it too was unloaded to put it into the first drive. If the correct tape is already in a drive before the job starts, Bacula will always select that particular drive. However, once Bacula decides to use a particular drive, it will use that drive for the whole job. Thus, if later in a job, it needs a tape that is on another drive, it will move the tape. This is still the case. If you have prefer mounted volumes off bacula will pick any tape in the pool when running jobs. The algorithm for picking available Volumes from the correct Pool is in the Director, and is totally independent of the state of prefer mounted volumes and anything else that is going on in the SD ... Sorry. My problem here is from time to time I have seen that bacula has 2 or more tapes with the Append status for a single pool which I find a little annoying. Unless you specifically created several tapes in the same pool (they are created with Append status), there is no reason for Bacula to have more than one tape with Append status. I have never seen this. Even if this is the case, it shouldn't make any difference since Bacula will only normally write on a single tape unless you tell it to do otherwise, and it will *always* select the same tape *every* time providing that the tape is in the autochanger and marked as such. The biggest problem people have is that they move tapes in and out of the magazine and they do not follow the proceedure in the manual. A way to avoid this I guess is not to have any unused labeled tapes in a pool and let bacula grab new tapes from either recycling or the scratch pool. There is no real need to avoid this, but as I say above, unless there is an operator error, it is not a condition that Bacula will create itself. I would say that both results are not what a user of a multitape changer would want. Well that is an interesting remark. What does a user of a multiple drive autochanger want? To minimize tape swapping, This is not currently possible due to current architecture constraints. maximize the use of the drives The above is not well defined. and to prefer to use tapes with the Append status over grabbing a new tape. This is and has always been the case unless you either don't properly inform Bacula what is in the autochanger or you modify what is in the autochanger. One prior problem that people had is that a tape would be pruned, but not marked purged, and thus not recyceable. This could be considered a bug but was actually a design fault. It was caused because the code would prune but didn't do the exhaustive checks that are necessary to detect that everything has been pruned from the Volume so that it could be marked Purged. As such, users sometimes had to unmount and remount the drive to force Bacula to rescan Volumes and notice that they were fully pruned. This was a real problem, and is now fixed in 2.1.x (barring any bugs). One thing that might be different between my needs and others is that I never want to use more than one drive at a time for a single pool. I am not sure that made sense so I will try to say it a different way... I mean that if there are concurrent jobs running for a single pool I want this to only be
Re: [Bacula-users] FW: Backup of a mysql dump of the database
On Wed, 23 May 2007, Marc wrote: I've searched the archives, but I can not find any relevant information. Therefor my question: is it possible to do a database by database dump and backup these dump files? Because of database sizes, it would be very nice if this can be done database by database. I mean first do the dump of database 1, move it to bacula, remove the dump, dump of database 2, move it to bacula, etc... I would do this in a shell script, instead of just trying to schedule it within bacula. Something like: ---BEGIN--- #! /bin/bash for THING in `mysql -u$USER -p$PASSWORD -e 'show databases;` do mysqldump -u$USER -p$PASSWORD -l $THING /path/to/temp/$THING.sql /etc/bacula/bconsole -c /etc/bacula/bconsole.conf END_OF_DATA run job=database yes END_OF_DATA rm -rf /path/to/temp/$THING.sql done ---END--- That's quick and dirty, and you'd certainly want to test it, but I think it illustrates the point. You'd have to create a job called 'database', with a fileset that pointed to the directory you're dumping the files to, and you might want to think about dumping tables individually through gzip to save space. If there are databases that don't need to be backed up (the 'mysql' and 'lost+found' dbs come to mind), you might need to do some parsing of the 'show databases' output (and I'm not sure how to supress the output of the column name). I have a single 650GB MySQL 4.1 db that I do a full backup of every two weeks. Takes about 19 hours to dump all of the tables and gzip them, and the backups end up around 36GB. -- D - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Labeling volumes
Hello people, I'm using bacula to backup in files, so I created a folder to every job, as well as pool and storage. For example: Pool { Name = Pool_client1_manual Pool Type = Backup LabelFormat = BkpManual- Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 0 day Maximum Volume Jobs = 1 } Storage { Name = Str_client1 Address = server SDPort = 9103 Password = ABIG8hLwV Device = FileStorage_client1 Media Type = File } on bacula-sd: Device { Name = FileStorage_client1 Media Type = File Archive Device = E:\\Backups\\client1 LabelMedia = yes Random Access = Yes AutomaticMount = yes RemovableMedia = no AlwaysOpen = no } I did the same configuration to all jobs (clients). It's working, but when the bacula creates next label, it's coming from a global prune. If I did a backup in client1, the volume is labeled as BackupManual-001. If I make a backup of client2, the volume stay as BackupManual-002... There is a way to tell bacula to automatic label volumes using as base the current filestorage? Thanks for any help! Sandro - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Spooling directory management
On Wednesday 23 May 2007 08:26:43 am Ivan Adzhubey wrote: On Wednesday 23 May 2007 02:20:42 am Ralf Gross wrote: Ivan Adzhubey schrieb: I have Bacula configured to use spooling to disk. I can see a few rather old (timestamped from 6 months to 2 years ago) spool files sitting in the spooling directory. Can I assume these are leftovers from some crashed backup jobs and thus can I safely remove them? They use quite some space. My understanding is that after a full successful backup cycle, Bacula should leave spooling directory empty, right? It first spools, then dumps everything to tape, then deletes spool files, am I correct? That's how it works here, it should be ok to remove these files. Thanks, Ralf. Time for spring cleaning... One more question: currently, the size of my spooling directory is 250GB and I need to add another server to backup list that holds 1.1TB of data. Will that create problems? On a more general note: how do you guys deal with huge datasets? This server is projected to accumulate 12TB of data in the next 18 months and I was asked to have them all backed up on tape, even though disks are in a RAID5 on a hardware controller (3ware). I am wondering, have anybody had any experience with Bacula working on a really large amounts of data? Thanks, Ivan - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] 2.1.10 beta: no appendable volume found problem with multidrive autochanger
I am not sure if this functionality has changed from 1.38.X (as I use the drives directly now) Multiple drive autochanger support has changed enormously since version 1.38. Thank You. I am very sorry to assume that it was the same. I will update my configs as soon as I can. To minimize tape swapping, This is not currently possible due to current architecture constraints. I think what you described above was what I was looking for, I mean if bacula finds a tape in drive2 at the start of a new job there is no good reason to move it to drive1 and run the job there instead. One other feature I would like to see is if there are any empty drives when starting a job and none of the correct pools are loaded choose the empty drive instead of any unloading media. maximize the use of the drives The above is not well defined. I meant to not block on a second job from a different pool when there was a job running on the first and there is a free drive. You explained that this should not happen. and to prefer to use tapes with the Append status over grabbing a new tape. This was again a result of me seeing more than one tape from a pool in my list media with the Append status. I think what you and others have been seeing is problems associated with the evolution of Bacula. There have been a whole series of problems to be resolved that are particularly complicated when you are dealing with multi-threaded programs, pruning/purging/recyling algorithms, and multiple drive autochangers. It is extremely complicated and difficult to debug, and rather than sitting down and developing it in one shot requiring two years, I have implemented it in little steps, each time Bacula has gotten smarter. Being that I am a software developer I understand how complex this type of problem is. And then when you factor in the different hardware and different operating systems the problem becomes much harder especially when the developer does not have these systems to test. I am very sorry for complaining about 1.38 problems I experienced assuming that they are still 2.X problems. My intent on entering this thread was to actually tone down the idea that the multidrive autochager code was buggy but that in my opinion with the experience that I had with bacula was the reported ill behavior was more a cause of complexity and the interaction of different configuration settings and several different scheduling rules that were probably not designed specifically for multidrive autochangers. Thanks, John - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Spooling directory management
On May 23, 2007, at 11:59 AM, Ivan Adzhubey wrote: One more question: currently, the size of my spooling directory is 250GB and I need to add another server to backup list that holds 1.1TB of data. Will that create problems? On a more general note: how do you guys deal with huge datasets? This server is projected to accumulate 12TB of data in the next 18 months and I was asked to have them all backed up on tape, even though disks are in a RAID5 on a hardware controller (3ware). I am wondering, have anybody had any experience with Bacula working on a really large amounts of data? 12TB hasn't been a really large amount of data in a long, long time now ;-) You will however have to purchase a tape library which can get the data down to tape in a reasonable time frame. You may want to discuss using disk for daily backups and only spool monthly backups to tape or something like that. -- Jo Rhett senior geek Silicon Valley Colocation Support Phone: 408-400-0550 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] 2.1.10 beta: no appendable volume found problem with multidrive autochanger
On Wednesday 23 May 2007 21:13, John Drescher wrote: I am not sure if this functionality has changed from 1.38.X (as I use the drives directly now) Multiple drive autochanger support has changed enormously since version 1.38. Thank You. I am very sorry to assume that it was the same. I will update my configs as soon as I can. Hopefully things will work better on a later version. In particular once we shake any bugs out of 2.1.x, everything should work much better. To minimize tape swapping, This is not currently possible due to current architecture constraints. I think what you described above was what I was looking for, I mean if bacula finds a tape in drive2 at the start of a new job there is no good reason to move it to drive1 and run the job there instead. I don't think it will do what you describe above. However, it can be a bit tricky, because the tape can be in use when a job starts, then free up after it is scheduled but before it has a chance to open a drive. So, there is a small window when a tape may be free and need to be moved from one drive to another. Hopefully, in the near future, Bacula will simply close the first drive and open the second one. That is relatively high on my list of priorities. One other feature I would like to see is if there are any empty drives when starting a job and none of the correct pools are loaded choose the empty drive instead of any unloading media. I believe this is how it currently functions but am not 100% sure. maximize the use of the drives The above is not well defined. I meant to not block on a second job from a different pool when there was a job running on the first and there is a free drive. You explained that this should not happen. No, it shouldn't. In 1.38.x it was possible that Bacula would get into a race condition and block a job (and possibly a drive) forever. This happened to Arno, because there were two mutexes, and in one place they were acquired in a different order than elsewhere. That was fixed a long time ago, and in 2.1.x there is only one mutex in general. and to prefer to use tapes with the Append status over grabbing a new tape. This was again a result of me seeing more than one tape from a pool in my list media with the Append status. I much prefer such a condition, particularly over one where there are no volumes with Append status :-) I think what you and others have been seeing is problems associated with the evolution of Bacula. There have been a whole series of problems to be resolved that are particularly complicated when you are dealing with multi-threaded programs, pruning/purging/recyling algorithms, and multiple drive autochangers. It is extremely complicated and difficult to debug, and rather than sitting down and developing it in one shot requiring two years, I have implemented it in little steps, each time Bacula has gotten smarter. Being that I am a software developer I understand how complex this type of problem is. And then when you factor in the different hardware and different operating systems the problem becomes much harder especially when the developer does not have these systems to test. Yes, not only do I not have a different systems (though I do have access to FreeBSD and Solaris systems), but I no longer have the time :-( I am very sorry for complaining about 1.38 problems I experienced assuming that they are still 2.X problems. There was no harm done, and I didn't take offense because I realize that not everyone knows all the technical details. In any case, I wanted to clarify a few points where a number of people on the lists seem to have some misconceptions -- in particular, that if it does something that seems wrong, you need to be able to reproduce it and clearly explain how I can reproduce it, or there is little chance of fixing it. In addition, one needs to supply sufficient information. In general job output is a good start, but that alone is inadequate for diagnosing these types of problems (described by you very well below). At a minimum, I need listings of the Volume states before and after the problem, output from status storage=xxx, and quite possibly SD debug output (typically levels 100-400 are good). My intent on entering this thread was to actually tone down the idea that the multidrive autochager code was buggy but that in my opinion with the experience that I had with bacula was the reported ill behavior was more a cause of complexity and the interaction of different configuration settings and several different scheduling rules that were probably not designed specifically for multidrive autochangers. Well, unfortunately there are probably a few bugs still left, but I think your analysis of the situation is very accurate. Thanks. Regards, Kern - This SF.net email is
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
Hi, On 5/23/2007 11:24 AM, Adam Cécile wrote: I may have found my problem : Here is my old setup : ### SD config: Autochanger { Name = Dell-PV132T Device = ULTRIUM-TD3-1 Device = ULTRIUM-TD3-2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Device { Name = ULTRIUM-TD3-1 Drive Index = 0 Media Type = LTO3 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; AutoChanger = yes } Device { Name = ULTRIUM-TD3-2 Drive Index = 1 Media Type = LTO3 Archive Device = /dev/nst1 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; Offline On Unmount = no; AutoChanger = yes } ### Director config Storage { Name = Autochanger Address = srv-mpp-lrs SDPort = 9103 Password = xxx Device = Dell-PV132T Media Type = LTO3 Autochanger = yes Maximum Concurrent Jobs = 2 } Storage { Name = ULTRIUM-TD3-1 Address = srv-mpp-lrs SDPort = 9103 Password = xxx Device = ULTRIUM-TD3-1 Media Type = LTO3 Autochanger = yes Maximum Concurrent Jobs = 1 } As you can see, in my director config ULTRIUM-TD3-1 is defined. The aim of this trick is to be able to run jobs on one drive only. Ok, that's understandable. I encountered a related problem myself, once... However, ULTRIUM-TD3-1 in director refers to a Device entry in sd, not an autochanger one. So I guessed, bacula ignore inchanger flag. Do you think I'm right ? Yes. So I decided to define a second Autochanger ressources, with only on device associated on it. I hope this would fix the problem. Uh... when you use both devices simultaneously, I'm not sure Bacula will lock them as necessary. I can only recommend to test this setup thoroughly. Regards, Adam. I'm not sure there is an obvious solution to your demands. Setting Autoselect=No in the SD device will keep the SD from automatically using this tape drive, thus allowing you to use it for manual jobs. This will, unfortunately, have the side effect that this drive will not be used for concurrent jobs to the Autochanger :-( I guess this problems needs another feature in Bacula :-) What I imagine - without thorougly thinking this through - is that it should be possible to address unique drives in an autochanger for jobs, so that you can specify a drive to use but Bacula handles volume loading etc. This would be especially useful for manually starting jobs, I suppose, but could also be used for scheduled ones. A directive to use in the job resource, manual setup, and schedule like Use Drive = Drive number would be helpful. I suppose this would require another major rework of the reservation system, so I cold imagine that Kern won't be too enthusiastic about implementing it soon :-) Perhaps someone else can offer more ideas or experience - I don't have a multi-drive autochanger here for testing purposes. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
Hi, well, I think this problem is understood now :-) On 5/23/2007 9:00 AM, Adam Cécile wrote: Hi, Here is what happens : Blogs are scheduled on the first appendable volume, without looking at the inchanger flag. If I mark this volume as Used or Full, jobs gets scheduled on the next appendable volume, instead of the next one appendable and inchanger. Scheduled jobs Scheduled Jobs: Level Type Pri Scheduled Name Volume === Full Backup 5 23-mai-07 12:00Backup-srv-mpp-archi-dwh 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-treso 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-totem 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-filemaker 000121 Full Backup 5 23-mai-07 12:00 Backup-srv-mpp-archi-equilibre 000121 Full Backup 5 23-mai-07 20:00 Backup-srv-mpp-exchang-daily 000121 ### List volumes (on this Pool) Pool: Daily +-++---+-+---+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+---+--+--+-+--+---+---+-+ | 59 | 000143 | Purged| 1 | 394,391,772,372 | 422 |1,209,600 | 1 |1 | 1 | LTO3 | 2007-04-05 08:44:03 | | 60 | 000115 | Purged| 1 | 152,609,505,455 | 163 |1,209,600 | 1 |8 | 0 | LTO3 | 2007-04-19 13:29:21 | | 61 | 000116 | Purged| 1 | 1,278,772,008,661 | 1,409 |1,209,600 | 1 |9 | 0 | LTO3 | 2007-04-23 13:30:52 | | 62 | 000117 | Purged| 1 | 742,127,695,846 | 789 |1,209,600 | 1 | 10 | 0 | LTO3 | 2007-04-26 21:10:42 | | 63 | 000118 | Full | 1 | 824,915,470,096 | 894 |1,209,600 | 1 | 11 | 0 | LTO3 | 2007-05-09 15:38:16 | | 64 | 000119 | Purged| 1 |25,754,213,310 | 31 |1,209,600 | 1 | 12 | 0 | LTO3 | 2007-04-27 08:48:46 | | 65 | 000120 | Full | 1 | 553,103,626,001 | 577 |1,209,600 | 1 | 13 | 0 | LTO3 | 2007-05-11 13:59:48 | | 66 | 000121 | Append| 1 | 1 |0 |1,209,600 | 1 | 14 | 0 | LTO3 | -00-00 00:00:00 | | 91 | 000103 | Purged| 1 | 227,552,907,045 | 250 |1,209,600 | 1 | 10 | 0 | LTO3 | 2007-05-04 13:58:14 | | 92 | 000104 | Purged| 1 | 1 |0 |1,209,600 | 1 | 11 | 0 | LTO3 | -00-00 00:00:00 | | 93 | 000105 | Append| 1 | 1 |0 |1,209,600 | 1 | 12 | 0 | LTO3 | -00-00 00:00:00 | | 94 | 000106 | Append| 1 | 1 |0 |1,209,600 | 1 | 13 | 0 | LTO3 | -00-00 00:00:00 | | 95 | 000107 | Append| 1 | 1 |0 |1,209,600 | 1 | 14 | 0 | LTO3 | -00-00 00:00:00 | | 96 | 000101 | Append| 1 | 1 |0 |1,209,600 | 1 |8 | 0 | LTO3 | -00-00 00:00:00 | | 97 | 000102 | Append| 1 | 1 |0 |1,209,600 | 1 |9 | 0 | LTO3 | -00-00 00:00:00 | | 98 | 000129 | Used | 1 | 407,865,033,101 | 427 |1,209,600 | 1 |8 | 0 | LTO3 | 2007-05-16 13:26:57 | | 99 | 000130 | Used | 1 | 210,849,249,755 | 233 |1,209,600 | 1 |9 | 0 | LTO3 | 2007-05-17 13:22:21 | | 100 | 000131 | Used | 1 | 202,314,381,696 | 224 |1,209,600 | 1 | 10 | 0 | LTO3 | 2007-05-18 13:59:23 | | 101 | 000132 | Append| 1 | 1 |0 |1,209,600 | 1 | 11 | 0 | LTO3 | -00-00 00:00:00 | | 102 | 000133 | Append| 1 | 1 |0 |1,209,600 | 1 | 12 | 0 | LTO3 | -00-00 00:00:00 | | 103 | 000134 | Append| 1 | 1 |0 |1,209,600 | 1 | 13 | 0 | LTO3 | -00-00 00:00:00 | | 104 | 000135 | Append| 1 |
Re: [Bacula-users] DVD backup not starting
On Wed, 2007-05-23 at 15:11 +0200, Lucio wrote: Arno Lehmann wrote: Running Jobs: JobId Level Name Status == 18 Increme Client1.2007-05-21_12.21.30 is waiting for a mount request (still waiting about 20 minutes after run), and: Ok. Have you tried issuing a mount at this time? Now I have. If the media is blank the mount obviously fails and nothing happens. If the media already has at least one session and its appendable the mount succeeds but in bacula still nothing happens. Also, use trace=1, so you have a bconsle command of 'setdebug level=200 trace=1 sd=server-Emmeti-sd' Then, look at the trace file in the working directory of the SD... IIRC, it would be called server-Emmeti-sd.trace. I post here the parts that I believe can be useful to find the problem (blank DVD media in this case): server-Emmeti-sd: askdir.c:204 do_reqest_vol_info return true slot=0 Volume=Backup-0003 server-Emmeti-sd: reserve.c:159 New Vol=Backup-0003 dev=DVD-Writer (/dev/hdb) server-Emmeti-sd: reserve.c:735 JobId=27 looking for Volume=Backup-0003 server-Emmeti-sd: reserve.c:862 reserve_append device is disk server-Emmeti-sd: reserve.c:893 PrefMnt=1 exact=1 suitable=1 chgronly=0 any=0 server-Emmeti-sd: reserve.c:944 failed: Not exact match have= want=Backup-0003 server-Emmeti-sd: reserve.c:866 can_reserve_drive!=1 server-Emmeti-sd: reserve.c:258 free_unused_volume Backup-0003 server-Emmeti-sd: reserve.c:760 Not OK. server-Emmeti-sd: reserve.c:597 Suitable device found=DVD-Writer, not used: busy The last line does not look good. It says not used: busy. Are you sure that you do not have any automount or other automatic mounter running. [...] server-Emmeti-sd: dircmd.c:206 dird: run server-Emmeti-sd: dircmd.c:220 Do command: run server-Emmeti-sd: job.c:153 Run_cmd: run server-Emmeti-sd: job.c:172 Client1.2007-05-23_14.01.20 waiting 1800 sec for FD to contact SD server-Emmeti-sd: bnet.c:1154 who=client host=127.0.0.1 port=36643 server-Emmeti-sd: dircmd.c:169 Conn: Hello Start Job Client1.2007-05-23_14.01.20 server-Emmeti-sd: job.c:214 Found Job Client1.2007-05-23_14.01.20 [...] server-Emmeti-sd: job.c:190 Running job Client1.2007-05-23_14.01.20 server-Emmeti-sd: fd_cmds.c:122 Start run Job=Client1.2007-05-23_14.01.20 server-Emmeti-sd: fd_cmds.c:160 filed: append open session server-Emmeti-sd: fd_cmds.c:228 Append open session: append open session server-Emmeti-sd: fd_cmds.c:238 filed: 3000 OK open ticket = 1 server-Emmeti-sd: fd_cmds.c:160 filed: append data 1 server-Emmeti-sd: fd_cmds.c:190 Append data: append data 1 server-Emmeti-sd: fd_cmds.c:192 bfiled: append data 1 server-Emmeti-sd: append.c:73 Start append data. res=1 server-Emmeti-sd: acquire.c:318 acquire_append device is DVD server-Emmeti-sd: acquire.c:384 Not in append mode, try mount. server-Emmeti-sd: acquire.c:390 Do mount_next_write_vol server-Emmeti-sd: mount.c:74 Enter mount_next_volume(release=0) dev=DVD-Writer (/dev/hdb) server-Emmeti-sd: mount.c:84 mount_next_vol retry=0 server-Emmeti-sd: mount.c:110 Before dir_find_next_appendable_volume. server-Emmeti-sd: askdir.c:252 dir_find_next_appendable_volume server-Emmeti-sd: askdir.c:266 dird: CatReq Job=Client1.2007-05-23_14.01.20 FindMedia=1 pool_name=Default media_type=DVD server-Emmeti-sd: askdir.c:182 dird 1000 OK VolName=Backup-0003 VolJobs=0 VolFiles=0 VolBlocks=0 VolBytes=0 VolMounts=0 VolErrors=0 VolWrites=0 MaxVolBytes=460800 VolCapacityBytes=0 VolStatus=Append Slot=0 MaxVolJobs=0 MaxVolFiles=0 InChanger=0 VolReadTime=0 VolWriteTime=0 EndFile=0 EndBlock=0 VolParts=0 LabelType=0 MediaId=3 server-Emmeti-sd: askdir.c:204 do_reqest_vol_info return true slot=0 Volume=Backup-0003 server-Emmeti-sd: reserve.c:323 Vol=Backup-0003 not in use. server-Emmeti-sd: reserve.c:159 New Vol=Backup-0003 dev=DVD-Writer (/dev/hdb) server-Emmeti-sd: mount.c:122 After find_next_append. Vol=Backup-0003 Slot=0 Parts=0 server-Emmeti-sd: autochanger.c:121 Device DVD-Writer (/dev/hdb) is not an autochanger server-Emmeti-sd: mount.c:142 autoload_dev returns 0 server-Emmeti-sd: mount.c:158 Ask=0 autochanger=0 server-Emmeti-sd: mount.c:168 want vol=Backup-0003 server-Emmeti-sd: dev.c:295 open dev: type=3 dev_name=DVD-Writer (/dev/hdb) vol=Backup-0003 mode=OPEN_READ_WRITE server-Emmeti-sd: dev.c:302 call open_dvd_device mode=OPEN_READ_WRITE server-Emmeti-sd: dev.c:510 Enter: open_dvd_dev: DVD vol= mode=OPEN_READ_WRITE server-Emmeti-sd: dev.c:521 Volume=Backup-0003 server-Emmeti-sd: dev.c:533 Set part=1 server-Emmeti-sd: dev.c:546 open DVD part=1 num_dvd_parts=0 server-Emmeti-sd: dev.c:563 open_dvd_device: part=1 num_dvd_parts=0, VolCatInfo.VolCatParts=0 server-Emmeti-sd: dev.c:1957 Enter mount server-Emmeti-sd: dev.c:2005 do_mount: cmd=/bin/mount /dev/hdb mounted=0 server-Emmeti-sd:
Re: [Bacula-users] Antw: Re: problems with Autochanger
Hi, On 5/23/2007 12:16 PM, Andreas Helmcke wrote: On 23.05.2007 10:28, Christoph Buchli wrote: Now the empirical things: - I have to _stop_ bacula to do certain test, otherwise mtx, tar etc always tell me - as an error - that the device is busy. Sure. While the sd is running it normally keeps the tape devices open. Right... we should have mentioned that previously :-) - The device could be working. I attached some command-outputs that are my reasons to believe so: ... which looks perfectly Ok. Tape block size should not be fixed. It should be set to 0 (variable block size). Right. Or, if that's not possible for whatever reason, it should be set to a multiple of the drives native block size (which I'm not sure of, now, but usually a block size of 32, 64, or 128k should work. I would have to look that up...) Soft error count since last status=0 General status bits on (4101): BOT ONLINE IM_REP_EN # tar -cf /dev/nst0 /tmp/ tar: Removing leading `/' from member names (This works, I guess.) Yes. This is tars way of ensuring you can restore to different locations, even when giving absolute path names. Well now, the less funny part: # mtx -f /dev/sg3 status mtx: Request Sense: 70 00 02 00 00 00 00 1E 00 00 00 00 04 03 00 00 00 00 00 00 READ ELEMENT STATUS Command Failed That *is* strange. As Arno already wrote this message is very unusual for mtx. At least, i have never seen something alike. Please check which version of mtx you have (mtx --version). Maybe using a new version could help. Take a look at: http://sourceforge.net/projects/mtx (I am using version 1.3.10) If I recall correctly, mtx is now maintained by Robert Nelson, who took that project over when involved with Bacula. I found him to be quite helpful when you can give him the information he needs to debug a problem. # /usr/pack/bacula_mysql-2.0.3-rp/amd64-debian-linux3.1/scripts/mtx-changer /dev/sg3 load 1 /dev/nst0 0 mtx: Request Sense: 70 00 02 00 00 00 00 1E 00 00 00 00 04 03 00 00 00 00 00 00 READ ELEMENT STATUS Command Failed As long as the mtx status command does not work there is no need to bother with mtx-changer because mtx-changer just depends on mtx working correctly. # mt -f /dev/sg3 eject /dev/sg3: Operation not permitted That's normal. A changer does not know how to eject a tape. Eject is used for tape drives. And even there, I think that it is not used with LTO drives. For your drive it should be sufficient to use mt -f /dev/nst0 offline Just to make sure, I usually use rewoffline, which should not really be necessary with todays drives, but it doesn't hurt, too... BTW _after_ you have got mtx status working you should check whether your changer needs the drive to be offline before it could do an unload. If it does, you have to change the mtx-changer script or you'll get obscure errors when doing an unmount. The necessary modification is simple, by the way. # dmesg | tail [168322.441562] NFSD: starting 90-second grace period [1188266.284746] st0: Write not multiple of tape block size. [1188301.160942] st0: Write not multiple of tape block size. [1189175.640945] st0: Write not multiple of tape block size. [1189249.930203] st0: Write not multiple of tape block size. [1206329.081616] st0: Write not multiple of tape block size. [1206335.525053] st0: Write not multiple of tape block size. [1206359.269428] st0: Write not multiple of tape block size. [1207514.104233] st0: Write not multiple of tape block size. [1791080.401660] st0: Write not multiple of tape block size. This might be related to the lines: Minimum block size = 1024 Maximum blocksize = 1024 Yes I think so. in your bacula-sd config. And/or the fact that your tape and/or drive set to blocksize 512. Hmm... probably not, because 1024 *is* a multiple of 512 :-) But I am relative sure, this doesn't stop mtx status from working. If it would that would be news to me, too. By the way - I'm quite sure that a Superloader3 can work with Bacula, but I have no configuration or device setup details available. I could ask, perhaps, but first you should check your mtx. Perhaps you could even try another distribution as a live system. Arno Andreas - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C -
Re: [Bacula-users] Maximum Pool number/quantity ?
Hi, On 5/23/2007 11:21 AM, viashino wrote: Hi, I'm trying to setup a pretty complex configuration. I will be using 2 pools (Full and Incremental) for different dipartments so to be able to split-up files. Basically what I'm gonna do is define a sales-Full, sales-Incremental, marketing-Full, marketing-Incremenal etc... My question is how many Pools can I create, I mean, i would like to know if there is some limit to the number of Pools bacula can manage. No real-life limit... the pool id is stores as an integer in the catalog and, as far as I know, you can use 64 bits although the default is 32 bits. Obviously, you'll want volumes in each pool, which are also identified by an integer of the same size. With signed 32-bit integers (31 bits usable), and 8 volumes per pool, you could create up to 2^(31-3) pools... 268435456 pools should be enough even if you have many departments :-) I think the answer is no, but I want to be sure, before starting deploying. Just create all the pools you need... when you encounter limits (not by database size, disk space, etc.) ask how to make sure 64 bits are used for ID values :-) Arno Thanks - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] feature request : clustered server
Hi, On 5/23/2007 3:12 PM, Kern Sibbald wrote: Hello, Thanks for your feature request. Unfortunately at the moment no one is collecting these, and so you will probably need to resubmit it later. Not exactly... I'm still thinking about how to do this properly, but in the meantime, I hope I won't forget any new feature requests. I noticed this one, at least :-) Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] DVD backup not starting
Richard wrote: server-Emmeti-sd: reserve.c:760 Not OK. server-Emmeti-sd: reserve.c:597 Suitable device found=DVD-Writer, not used: busy The last line does not look good. It says not used: busy. Are you sure that you do not have any automount or other automatic mounter running. I'm not sure and I can't check just now, but it's a blank media anyway, so even if I had hundreds of automounters none of them could mount anything. Shouldn't SD format (label) the media before trying to mount it? Only if you have set automatic label up. From memory your -sd Device config needs LabelMedia = Yes I do not remember if you need to set anything in the -dir.conf. At a minimum you probably need a LabelFormat=xxx in the Pool definition I have both variables set. Does the label command work against blank media? Do you mean the label command available in bconsole? I've not tried that because it's being described as label a tape, so I've assumed it's of no use for DVDs... I'll try asap. Lucio. -- Virtual Bit di Lucio Crusca via Isonzo, 5 10069 - Villar Perosa (TO) http://virtualbit.sulweb.org - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] DVD backup not starting
Hi, On 5/24/2007 1:48 AM, Lucio Crusca wrote: Richard wrote: server-Emmeti-sd: reserve.c:760 Not OK. server-Emmeti-sd: reserve.c:597 Suitable device found=DVD-Writer, not used: busy The last line does not look good. It says not used: busy. Are you sure that you do not have any automount or other automatic mounter running. I'm not sure and I can't check just now, but it's a blank media anyway, so even if I had hundreds of automounters none of them could mount anything. You should ensure that no autmounting mechanism is active for that device anyway... I found that writes to DVD would work without problems, but the data could not be accessed when I had udev/hal automounting a DVD I used for Bacula. Shouldn't SD format (label) the media before trying to mount it? Only if you have set automatic label up. From memory your -sd Device config needs LabelMedia = Yes I do not remember if you need to set anything in the -dir.conf. At a minimum you probably need a LabelFormat=xxx in the Pool definition I have both variables set. Hmm... at least in your log excerpt I didn't see the DIR and SD deciding to create a new volume. These two settings should be enough. Does the label command work against blank media? Do you mean the label command available in bconsole? I've not tried that because it's being described as label a tape, so I've assumed it's of no use for DVDs... I'll try asap. That's a bug in the manual, then... it should be described as labeling a volume. As all volumes Bacula uses have to be labeled, that command applies to tapes, disk files, and DVDs. Arno Lucio. -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] 2.1.10 beta: no appendable volumefound problem with multidrive autochanger
One thing that might be different between my needs and others is that I never want to use more than one drive at a time for a single pool. I am not sure that made sense so I will try to say it a different way... I mean that if there are concurrent jobs running for a single pool I want this to only be on a single drive at a time. So, a more generalized version of this statement might be that you want to be able to set a maximum number of drives used for referencing volumes in a pool on a pool-by-pool basis (from 0 to the maximum available for that library). Would it also be useful to be able to distinguish between drives used for backups and drives used for migration jobs? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula database comparison and pitfallsbacula database comparison
Hello, I'm about to create a new bacula server and given the issues i've had with mysql5 i do not believe i will be using it. Does anyone have a comparison of the various databases, sqlite, postgresql, and mysql, specifically with bacula? I'm looking for issues with database interaction as well as issues with the database size, i'm not sure how large this new box will get. Thanks. Dave. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] A new GUI were born
On Wednesday 23 May 2007 19:03, Davide Corio wrote: Il giorno dom, 20/05/2007 alle 16.41 +0200, [EMAIL PROTECTED] ha scritto: Hi folks! An another GUI were born, it's name JavaBacula. If you can spend 7 minutes to see it's features go to the following address: youtube.com/watch?v=BWPFJJ__3wc I think it's worths it. It seems to be nice :) Is it possibile to try it? will it be opensource? The project was also submitted into sourceforge, so you can download it from there. -- Silver - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users