Re: [Bacula-users] How to send a mail after a Job ?
Silver Salonen a écrit : On Wednesday 10 June 2009 16:25:42 Willians Vivanco wrote: Tolj Mario wrote: Hello, Sorry if my english isn't very well. I'm trying to configure Bacula to send me a mail after a Job (Succes or Error, etc...). but i'm not sure how to configure that. My Linux server is in my windows Active Directory, so i try to send a mail to two of my Active Directory users (us...@test.ch and us...@test.ch) In the bacula-dir.conf i'have try to only put the email addresses in the Message ressource separated by a ; but it doesn't work. I think it's a little bit more complicated than that :) Messages { Name = Standard mailcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch* \ -f \\(Bacula\) \%r\\ -s \Bacula: %t %e of %c %l\ %r operatorcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch \* -f \\(Bacula\) \%r\\ -s \Bacula: Intervention needed for %j\ %r console = all, !skipped, !saved append = /var/lib/bacula/log = all, !skipped } As simple as create an script that send the emails and call it from the job resource using the runAfterJob attribute... This was my solution and it works... Maybe isn't the best one. But it results for me. Regards Willians I think the right way to do it would be to use the correct Messages resource, so let's try to fix it :) bsmtp's -h specifies host to use for sending mail, eg. localhost. If you want to send the e-mail to multiple adresses, specify them in mail parameter, eg: Messages { mail = us...@test.ch, us...@test.ch = all, !skipped } I have try your solution, but it doesn't work, this message appears: /11-jun 07:54 localhost-dir JobId 55: message.c:482 Mail prog: bsmtp: bsmtp.c:435 Fatal connect error to localhost: ERR=Connexion refusée/ ( in english : Connexion refused) -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to send a mail after a Job ?
On Thursday 11 June 2009 09:00:18 Tolj Mario wrote: Silver Salonen a écrit : On Wednesday 10 June 2009 16:25:42 Willians Vivanco wrote: Tolj Mario wrote: Hello, Sorry if my english isn't very well. I'm trying to configure Bacula to send me a mail after a Job (Succes or Error, etc...). but i'm not sure how to configure that. My Linux server is in my windows Active Directory, so i try to send a mail to two of my Active Directory users (us...@test.ch and us...@test.ch) In the bacula-dir.conf i'have try to only put the email addresses in the Message ressource separated by a ; but it doesn't work. I think it's a little bit more complicated than that :) Messages { Name = Standard mailcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch* \ -f \\(Bacula\) \%r\\ -s \Bacula: %t %e of %c %l\ %r operatorcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch \* -f \\(Bacula\) \%r\\ -s \Bacula: Intervention needed for %j\ %r console = all, !skipped, !saved append = /var/lib/bacula/log = all, !skipped } As simple as create an script that send the emails and call it from the job resource using the runAfterJob attribute... This was my solution and it works... Maybe isn't the best one. But it results for me. Regards Willians I think the right way to do it would be to use the correct Messages resource, so let's try to fix it :) bsmtp's -h specifies host to use for sending mail, eg. localhost. If you want to send the e-mail to multiple adresses, specify them in mail parameter, eg: Messages { mail = us...@test.ch, us...@test.ch = all, !skipped } I have try your solution, but it doesn't work, this message appears: /11-jun 07:54 localhost-dir JobId 55: message.c:482 Mail prog: bsmtp: bsmtp.c:435 Fatal connect error to localhost: ERR=Connexion refusée/ ( in english : Connexion refused) This means that your server does not deliver e-mails by itself, so you have to use some other server, eg: -h your.smtp.server.ch -- Silver -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to send a mail after a Job ?
use /bacula/examples/reports/report.pl with crontab Regards, François Mehault Netplus Communication -Message d'origine- De : Tolj Mario [mailto:mario.t...@champittet.ch] Envoyé : mercredi 10 juin 2009 11:56 À : bacula-users@lists.sourceforge.net Objet : [Bacula-users] How to send a mail after a Job ? Hello, Sorry if my english isn't very well. I'm trying to configure Bacula to send me a mail after a Job (Succes or Error, etc...). but i'm not sure how to configure that. My Linux server is in my windows Active Directory, so i try to send a mail to two of my Active Directory users (us...@test.ch and us...@test.ch) In the bacula-dir.conf i'have try to only put the email addresses in the Message ressource separated by a ; but it doesn't work. I think it's a little bit more complicated than that :) Messages { Name = Standard mailcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch* \ -f \\(Bacula\) \%r\\ -s \Bacula: %t %e of %c %l\ %r operatorcommand = /usr/sbin/bsmtp -h *us...@test.ch;us...@test.ch \* -f \\(Bacula\) \%r\\ -s \Bacula: Intervention needed for %j\ %r console = all, !skipped, !saved append = /var/lib/bacula/log = all, !skipped } -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Dell TL2000 library control
Hi all, I'm currently trying to setup a backup system with bacula and a Dell TL2000 LTO4 library. My Bacula server is a Debian Lenny install with 2.6.26-2-amd64 Debian stock kernel. I backported Bacula 3.0.1 to Lenny from the Experimental Debian repository. The library is correctly recognized : burp:/etc/bacula# dmesg|grep 6:0 | cut -c 16- scsi 6:0:0:0: Sequential-Access IBM ULT3580-HH489B1 PQ: 0 ANSI: 3 scsi 6:0:0:1: Medium ChangerIBM 3573-TL7.40 PQ: 0 ANSI: 5 scsi 6:0:1:0: Sequential-Access IBM ULT3580-HH489B1 PQ: 0 ANSI: 3 scsi 6:0:1:1: Medium ChangerIBM 3573-TL7.40 PQ: 0 ANSI: 5 st 6:0:0:0: Attached scsi tape st0 st 6:0:0:0: st0: try direct i/o: yes (alignment 4 B) st 6:0:1:0: Attached scsi tape st1 st 6:0:1:0: st1: try direct i/o: yes (alignment 4 B) ch 6:0:0:1: Attached scsi changer ch0 ch 6:0:1:1: Attached scsi changer ch1 st 6:0:0:0: Attached scsi generic sg3 type 1 ch 6:0:0:1: Attached scsi generic sg4 type 8 st 6:0:1:0: Attached scsi generic sg5 type 1 ch 6:0:1:1: Attached scsi generic sg6 type 8 The mtx script works well : burp:/etc/bacula# /etc/bacula/scripts/mtx-changer /dev/sg4 list 0 /dev/nst0 0 1:BK0001L4 2:BK0004L4 5:BK0002L4 9:BK0003L4 12:CL0001L4 I setted-up bacula-sd as bellow : Autochanger { Name = lib-tl2000-1 Device = tape-burp-LTO4-1 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg4 } Device { Name = tape-burp-LTO4-1 Drive Index = 0 Media Type = LTO4 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Alert Command = sh -c '/usr/sbin/smartctl -H -l error %c' } Autochanger { Name = lib-tl2000-2 Device = tape-burp-LTO4-2 Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg6 } Device { Name = tape-burp-LTO4-2 Drive Index = 0 Media Type = LTO4 Archive Device = /dev/nst1 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Alert Command = sh -c '/usr/sbin/smartctl -H -l error %c' } but I can't handle the lib from bconsole : *update slots Automatically selected Catalog: MyCatalog Using Catalog MyCatalog The defined Storage resources are: 1: filer-burp-storage 2: tape-burp-lto4-1-storage 3: tape-burp-lto4-2-storage Select Storage resource (1-3): 2 Connecting to Storage daemon tape-burp-lto4-1-storage at burp.eve:9103 ... 3306 Issuing autochanger slots command. Device tape-burp-LTO4-1 has 0 slots. No slots in changer to scan. So What's wrong in my config ??? This worked with bacula 2.4 ! The final idea is to handle backups with one drive, and duplicate tapes with the other drive. If possible, I would do that in only one job, but I don't know how to do that... I guess it is possible with bacula 3 ? Note that I can configure the TL2000 to handle 1 or 2 logical libraries : - on 1 logical library mode, the library reports 2 drives an 1 autochanger lib, - on 1 logical library mode, the library reports 2 autochangers, each has one drive I wondered the 2 logical lib is better suited for what I intend to do, but maybe am I wrong ? Thanks, -- Rico smime.p7s Description: S/MIME cryptographic signature -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Dell TL2000 library control
Le jeudi 11 juin 2009 à 11:15 +0200, Eric Belhomme a écrit : *update slots Automatically selected Catalog: MyCatalog Using Catalog MyCatalog The defined Storage resources are: 1: filer-burp-storage 2: tape-burp-lto4-1-storage 3: tape-burp-lto4-2-storage Select Storage resource (1-3): 2 Connecting to Storage daemon tape-burp-lto4-1-storage at burp.eve:9103 ... 3306 Issuing autochanger slots command. Device tape-burp-LTO4-1 has 0 slots. No slots in changer to scan. So What's wrong in my config ??? This worked with bacula 2.4 ! I missed to precise : it seems that mtx-change script is not executed by sd daemon ! I added some quick'n dirty echoes in it to check some variables on a log file, and the file is even not created ! I really don't know why ? file perms seems ok : burp:/etc/bacula# ll scripts/mtx-changer* -rwxr-xr-x 1 root root 5269 jun 11 09:28 scripts/mtx-changer -rw-r--r-- 1 root root 54 jun 11 07:46 scripts/mtx-changer.conf Thanks, -- Eric Belhomme - EVE SA - www.eve-team.com 2bis, voie la cardon, 91120 PALAISEAU, FRANCE Tel: +33 1 64 53 27 30,Fax: +33 1 64 53 27 40 smime.p7s Description: S/MIME cryptographic signature -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Dell TL2000 library control
Hi, 11.06.2009 12:32, Eric Belhomme wrote: Le jeudi 11 juin 2009 à 11:15 +0200, Eric Belhomme a écrit : *update slots Automatically selected Catalog: MyCatalog Using Catalog MyCatalog The defined Storage resources are: 1: filer-burp-storage 2: tape-burp-lto4-1-storage 3: tape-burp-lto4-2-storage Select Storage resource (1-3): 2 Connecting to Storage daemon tape-burp-lto4-1-storage at burp.eve:9103 ... 3306 Issuing autochanger slots command. Device tape-burp-LTO4-1 has 0 slots. No slots in changer to scan. So What's wrong in my config ??? This worked with bacula 2.4 ! Which user does the SD run as? I missed to precise : it seems that mtx-change script is not executed by sd daemon ! I added some quick'n dirty echoes in it to check some variables on a log file, and the file is even not created ! I really don't know why ? file perms seems ok : burp:/etc/bacula# ll scripts/mtx-changer* -rwxr-xr-x 1 root root 5269 jun 11 09:28 scripts/mtx-changer -rw-r--r-- 1 root root 54 jun 11 07:46 scripts/mtx-changer.conf Also do a 'ls -l /dev/nst0 /dev/sg4' to see if the user the SD runs as has permissions on those devices. (udev rules - a fun thing :-) Arno Thanks, -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ***SPAM*** Re: Dell TL2000 library control
Le jeudi 11 juin 2009 à 13:04 +0200, Arno Lehmann a écrit : Which user does the SD run as? bacula-sd runs as 'bacula' user : burp:/etc/bacula# ps x aux|grep sd bacula 19313 0.0 0.0 89768 2292 ?Ssl 06:17 0:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape Also do a 'ls -l /dev/nst0 /dev/sg4' to see if the user the SD runs as has permissions on those devices. (udev rules - a fun thing :-) looks ok for me : owner is root:tape, and bacula is tape member : burp:/etc/bacula# ll /dev/sg* /dev/nst* crw-rw 1 root tape 9, 128 jun 10 11:46 /dev/nst0 crw-rw 1 root tape 9, 224 jun 10 11:46 /dev/nst0a crw-rw 1 root tape 9, 160 jun 10 11:46 /dev/nst0l crw-rw 1 root tape 9, 192 jun 10 11:46 /dev/nst0m crw-rw 1 root tape 9, 129 jun 10 11:46 /dev/nst1 crw-rw 1 root tape 9, 225 jun 10 11:46 /dev/nst1a crw-rw 1 root tape 9, 161 jun 10 11:46 /dev/nst1l crw-rw 1 root tape 9, 193 jun 10 11:46 /dev/nst1m crw-rw 1 root root 21, 0 jun 10 11:46 /dev/sg0 crw-rw 1 root root 21, 1 jun 10 11:46 /dev/sg1 crw-rw 1 root root 21, 10 jun 10 11:46 /dev/sg10 crw-rw 1 root root 21, 11 jun 10 11:46 /dev/sg11 crw-rw 1 root root 21, 12 jun 10 11:46 /dev/sg12 crw-rw 1 root root 21, 13 jun 10 11:46 /dev/sg13 crw-rw 1 root root 21, 14 jun 10 11:46 /dev/sg14 crw-rw 1 root root 21, 2 jun 10 11:46 /dev/sg2 crw-rw 1 root tape 21, 3 jun 10 11:46 /dev/sg3 crw-rw 1 root tape 21, 4 jun 10 11:46 /dev/sg4 crw-rw 1 root tape 21, 5 jun 10 11:46 /dev/sg5 crw-rw 1 root tape 21, 6 jun 10 11:46 /dev/sg6 crw-rw 1 root root 21, 7 jun 10 11:46 /dev/sg7 crw-rw 1 root root 21, 8 jun 10 11:46 /dev/sg8 crw-rw 1 root root 21, 9 jun 10 11:46 /dev/sg9 burp:/etc/bacula# grep bacula /etc/group tape:x:26:bacula bacula:x:108: Anyway you made me on the right way : burp:/etc/bacula# sudo -u bacula /etc/bacula/scripts/mtx-changer /dev/sg4 list 10 /dev/nst0 0 touch: ne peut faire un touch sur `/var/lib/bacula/mtx.log': Permission non accordée /etc/bacula/scripts/mtx-changer: line 62: /var/lib/bacula/mtx.log: Permission non accordée /etc/bacula/scripts/mtx-changer: line 62: /var/lib/bacula/mtx.log: Permission non accordée 1:BK0001L4 2:BK0004L4 5:BK0002L4 9:BK0003L4 12:CL0001L4 As I launched the script as root, it created logfile owned by root, so it wrote garbage when launched as bacula ! Now it works well :) Thanks ! -- Eric Belhomme - EVE SA - www.eve-team.com 2bis, voie la cardon, 91120 PALAISEAU, FRANCE Tel: +33 1 64 53 27 30,Fax: +33 1 64 53 27 40 smime.p7s Description: S/MIME cryptographic signature -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem with Fileset
Hi, We have getting some problems with "File = \\file.txt" option of the "fileset.conf" file. We have configured "fileset.conf" with followiong option: File = "\\C:/lista.txt" With this option, within a fileset definition, Bacula would "take" C:\lista.txt file in the client system and read all lines defined them. Each lines is a folder o file to backup. However, sometimes, backup starts and saves folder C:\windows and hibernate file and windows subfolders, when these folders ARE NOT defined in "c:\lista.txt" Any suggestion?? Thanks. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Inserting Dir Attrib Taking Forever
Present Setup: Bacula Version 2.4.4 (28 Dec 2008) Debian lenny/sid Postgresql 8.3 During Full Backup's there are cases where the backup will finish spooling and have to wait on the Dir Insert Attributes which takes several hours latter to complete and after reading a few bacula-user posts this seems to be contributed to the need for postgres tweak. I need insight on how to better tweak my postgres configs to allow for faster processing of Attribute Inserts. --enable-batch-insert=no was a suggesting but could take longer and the default is yes I also see where it has been suggested to configure and compile from source, of which I apt get my Bacula Dir setup. Any suggestions would be greatly appreciated. Michael G. Halfhill -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Copy Job Problem: Bacula tries to write while reading from the same device(?)
Hi All! I'm trying to create a Copy Job, but some copies ending in error. The CJ reads from Tape0 (/dev/nst0) of ChangerA and write on Tape0 of ChangerB (/dev/nst6). All Chenger are Virtual one on FC (I have no phisical device). Looking in /var/log/messages i found the following msg that is very strage: Jun 11 15:40:06 bckam101 kernel: st0: Current: sense key: Medium Error Jun 11 15:40:06 bckam101 kernel: Add. Sense: Write error Jun 11 15:40:06 bckam101 kernel: Jun 11 15:40:06 bckam101 kernel: Info fld=0x0 It seems Bacula tries to write on the device from where it's reading! Is it true? Any idea? I also tried updating FC driver, but with no success. Thx! Fabio -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Running jobs doesn't start
The first client can't connect with Storage. Other client are waiting the first one. Did you try to debug the SD? Fabio -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] to-disk differentials now using multiple volumes?
Bumping my own note here.. Does anyone know why things might be different under 3.0 with this end of media thing? Jeff Dickens wrote: I'm using pretty much the same configuration for my differential backups as I did under Bacula 2.2.8, but for some reason under 3.0.1 it's getting end of media on a disk volume and moving to a new volume. There seems to be some kind of new behavior here.. It's possible the storage disk could have run out of space. Could anyone explain what is happening here? 05-Jun 22:34 packrat-dir JobId 31991: Start Backup JobId 31991, Job=ted2.2009-06-05_22.20.01_15 05-Jun 22:34 packrat-dir JobId 31991: Purging oldest volume ted2-diff-0003 05-Jun 22:34 packrat-dir JobId 31991: 1 File on Volume ted2-diff-0003 purged from catalog. 05-Jun 22:34 packrat-dir JobId 31991: There are no more Jobs associated with Volume ted2-diff-0003. Marking it purged. 05-Jun 22:34 packrat-dir JobId 31991: All records pruned from Volume ted2-diff-0003; marking it Purged 05-Jun 22:34 packrat-dir JobId 31991: Using Device ted2-filedev 05-Jun 22:34 ted2-fd JobId 31991: DIR and FD clocks differ by -39 seconds, FD automatically compensating. 05-Jun 22:34 packrat-sd JobId 31991: Recycled volume ted2-diff-0003 on device ted2-filedev (/bacula/ted2), all previous data lost. 05-Jun 22:34 packrat-dir JobId 31991: Volume used once. Marking Volume ted2-diff-0003 as Used. 05-Jun 22:34 ted2-fd JobId 31991: Generate VSS snapshots. Driver=VSS WinXP, Drive(s)=C 05-Jun 22:40 packrat-sd JobId 31991: End of Volume ted2-diff-0003 at 0:2111477919 on device ted2-filedev (/bacula/ted2). Write of 64512 bytes got 1888. 05-Jun 22:40 packrat-sd JobId 31991: End of medium on Volume ted2-diff-0003 Bytes=2,111,477,920 Blocks=32,730 at 05-Jun-2009 22:40. 05-Jun 22:40 packrat-dir JobId 31991: There are no more Jobs associated with Volume ted2-diff-0448. Marking it purged. 05-Jun 22:40 packrat-dir JobId 31991: All records pruned from Volume ted2-diff-0448; marking it Purged 05-Jun 22:40 packrat-dir JobId 31991: Recycled volume ted2-diff-0448 05-Jun 22:40 packrat-sd JobId 31991: Recycled volume ted2-diff-0448 on device ted2-filedev (/bacula/ted2), all previous data lost. 05-Jun 22:40 packrat-dir JobId 31991: Volume used once. Marking Volume ted2-diff-0448 as Used. 05-Jun 22:40 packrat-sd JobId 31991: New volume ted2-diff-0448 mounted on device ted2-filedev (/bacula/ted2) at 05-Jun-2009 22:40. 05-Jun 22:48 packrat-sd JobId 31991: End of Volume ted2-diff-0448 at 1:152619127 on device ted2-filedev (/bacula/ted2). Write of 64512 bytes got 1928. 05-Jun 22:48 packrat-sd JobId 31991: End of medium on Volume ted2-diff-0448 Bytes=4,447,586,424 Blocks=68,942 at 05-Jun-2009 22:48. 05-Jun 22:48 packrat-dir JobId 31991: There are no more Jobs associated with Volume ted2-diff-0449. Marking it purged. 05-Jun 22:48 packrat-dir JobId 31991: All records pruned from Volume ted2-diff-0449; marking it Purged 05-Jun 22:48 packrat-dir JobId 31991: Recycled volume ted2-diff-0449 05-Jun 22:49 packrat-sd JobId 31991: Recycled volume ted2-diff-0449 on device ted2-filedev (/bacula/ted2), all previous data lost. 05-Jun 22:49 packrat-dir JobId 31991: Volume used once. Marking Volume ted2-diff-0449 as Used. 05-Jun 22:49 packrat-sd JobId 31991: New volume ted2-diff-0449 mounted on device ted2-filedev (/bacula/ted2) at 05-Jun-2009 22:49. 05-Jun 22:52 ted2-fd JobId 31991: VSS Writer (BackupComplete): MSDEWriter, State: 0x1 (VSS_WS_STABLE) 05-Jun 22:52 ted2-fd JobId 31991: VSS Writer (BackupComplete): Microsoft Writer (Bootable State), State: 0x1 (VSS_WS_STABLE) 05-Jun 22:52 ted2-fd JobId 31991: VSS Writer (BackupComplete): Microsoft Writer (Service State), State: 0x1 (VSS_WS_STABLE) 05-Jun 22:52 ted2-fd JobId 31991: VSS Writer (BackupComplete): WMI Writer, State: 0x1 (VSS_WS_STABLE) 05-Jun 22:53 packrat-sd JobId 31991: Job write elapsed time = 00:18:24, Transfer rate = 7.030 M bytes/second 05-Jun 22:53 packrat-dir JobId 31991: Bacula packrat-dir 3.0.1 (30Apr09): 05-Jun-2009 22:53:26 Build OS: i686-redhat-linux-gnu redhat JobId: 31991 Job:ted2.2009-06-05_22.20.01_15 Backup Level: Differential, since=2009-05-21 04:00:04 Client: ted2-fd 2.2.6 (10Nov07) Linux,Cross-compile,Win32 FileSet:XP_WS_OL 2009-05-17 17:18:47 Pool: ted2-pool-diff (From Job DiffPool override) Catalog:MyCatalog (From Client resource) Storage:ted2-filestore (From Job resource) Scheduled time: 05-Jun-2009 22:20:01 Start time: 05-Jun-2009 22:34:39 End time: 05-Jun-2009 22:53:26 Elapsed time: 18 mins 47 secs Priority: 10 FD Files Written: 384 SD Files Written: 384 FD Bytes Written: 7,761,168,229 (7.761 GB) SD Bytes Written: 7,761,250,761 (7.761 GB) Rate: 6886.6 KB/s Software Compression: 38.7 % VSS:
[Bacula-users] Access to Bacula configuration from Webmin
Hello, I try to access to the bacula configuration page with Webmin, but i have the error message /Failed to connect to the Bacula database : Failed to load the database DBI driver SQLite at ./bacula-backup-lib.pl line 44. Maybe it is not set up, or the module configuration https://leman2:1/config.cgi?bacula-backup is incorrect./ I have the latest version of Webmin. Someone have already have the same message and have a solution ? Thanks. Mario. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] CentOS 5 RPM spec file
There are also binary RPMs in the fschwartz directory on sourceforge. (Thanks again, Felix). But no BAT.. let me know if you come up with a Centos5 BAT binary rpm. Michael Hall wrote: Brand new Bacula user here. I'm having trouble finding up to date Bacula RPMs/SRPMs for CentOS 5, and have decided I may as well build my own. Does anyone know of the location of recent spec files to get me started? I see there are Fedora 9 RPMs available, presumably there are spec files somewhere? Thanks Mick -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users __ Scanned by Google Message Security - Leaving Seaman Paper begin:vcard fn:Jeff Dickens n:Dickens;Jeff org:Seaman Paper Company email;internet:j...@seamanpaper.com title:IT Manager tel;work:978-632-1513 x269 version:2.1 end:vcard -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Migration status (checking)...
When I'm running a backup job I can check the status of the backup job (with statistics) through bconsole, using the command 'status client=clientname', which gives results like: Connecting to Client clientname at clientname.si.umich.edu:9102 clientname-fd Version: 3.0.1 (30 April 2009) x86_64-unknown-linux-gnu redhat Enterprise release Daemon started 20-May-09 16:35, 19 Jobs run since started. Heap: heap=1,466,368 smbytes=501,107 max_bytes=978,476 bufs=155 max_bufs=778 Sizeof: boffset_t=8 size_t=4 debug=0 trace=0 Running Jobs: JobId 4623 Job Clientname-Data0.2009-06-10_05.15.00_17 is running. Backup Job started: 10-Jun-09 05:15 Files=372,250 Bytes=15,584,784,902 Bytes/sec=142,614 Errors=0 Files Examined=34,997,833 Processing file: /data0/users/kumud SDReadSeqNo=5 fd=6 Director connected at: 11-Jun-09 11:36 With a migrate job, how can I get equivalent statistics? If I do the same command and use either my director, storage daemon, file daemon or the client of the job being migrated I don't seem to be getting that information anywhere. Thanks, -John -- Don't stop that dripping I prefer the old tortures - Wire --- John M. Lockard | U of Michigan - School of Information Unix and Security Admin | 1214 SI North - 1075 Beal Ave. jlock...@umich.edu |Ann Arbor, MI 48109-2112 www.umich.edu/~jlockard | 734-615-8776 | 734-647-8045 FAX --- -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] method to keep minimum # of backups?
Is there a configuration method to specify that a minimum number of backups should always be retained, overriding all retention and purging? Do you think you can guess the scenario that's prompting this question? :) For example, the normal backup schedule for my_important_server is a monthly full backup, with a retention period of 6 months. I'd like to specify that there must always be at least 1 full backup of my_important_server, which would supercede the retention settings. In this case, if seven consecutive full backups (over 7 months) failed, with old backups being purged each month as their retention periods are reached, the most recent full backup would still not be purged, leaving the most recent successful backup on tape. Thanks, Mark Mark Bergman voice: 215-662-7310 mark.berg...@uphs.upenn.edu fax: 215-614-0266 System Administrator Section of Biomedical Image Analysis Department of RadiologyUniversity of Pennsylvania PGP Key: https://www.rad.upenn.edu/sbia/bergman The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] btape fill test generates fatal error warning
On Wednesday 10 June 2009 14:33:53 Hayden Katzenellenbogen wrote: John I have tried that already made no difference other than waiting longer between the swaps. Same error. I would be interested to see if Lars has a different Result. -Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: Wednesday, June 10, 2009 11:21 AM Try a load_sleep of 2 minutes. John I have tried several things but I still get the same error. First, I tried John's suggestion of increasing load_sleep - I set it at 150, so 2.5 minutes, and I got the same error. Next, I tried using a generic v3.0.1 bacula-sd.conf file and not the original one from a crashed FreeBSD box and modified, (I also reset the load_sleep back to 0). I get the same error but the test runs faster now. I thought may be it could be something with v3.0.1 or because I compiled it, so I installed stock bacula from Ubuntu - version 2.4.4-1ubuntu5 for Jaunty (v.9.04). I still get the same error. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] btape fill test generates fatal error warning
I have tried 2.4.4, 3.0.0 and 3.0.1. They all give the same error. I have tried both compiling from source and using precompiled (Ubuntu) versions. All give the same errors. -Original Message- From: Lars Nordin [mailto:lars_nor...@mcafee.com] Sent: Thursday, June 11, 2009 12:13 PM To: bacula-users Subject: Re: [Bacula-users] btape fill test generates fatal error warning On Wednesday 10 June 2009 14:33:53 Hayden Katzenellenbogen wrote: John I have tried that already made no difference other than waiting longer between the swaps. Same error. I would be interested to see if Lars has a different Result. -Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: Wednesday, June 10, 2009 11:21 AM Try a load_sleep of 2 minutes. John I have tried several things but I still get the same error. First, I tried John's suggestion of increasing load_sleep - I set it at 150, so 2.5 minutes, and I got the same error. Next, I tried using a generic v3.0.1 bacula-sd.conf file and not the original one from a crashed FreeBSD box and modified, (I also reset the load_sleep back to 0). I get the same error but the test runs faster now. I thought may be it could be something with v3.0.1 or because I compiled it, so I installed stock bacula from Ubuntu - version 2.4.4-1ubuntu5 for Jaunty (v.9.04). I still get the same error. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users