[Bacula-users] Mac OS X and readline disabled requirement (deprecated information in the documentation?)
Hello, According to the documentation for Bacula 1.38.11 (24 July 2006), on page 61 of the PDF document, it says this about Mac OS X client: MacOS X 10.3 is reported to work with the Client only as long as readline support is disabled. This may be true for 10.3, but I'm not so sure its true for 10.4 (and Leopard -- 10.5 is just around the corner). The reason I mention this is that the MacPorts (formerly Darwin Ports) Bacula Portfile has configuration arguments as follows (copied and pasted) and there is no explicit disabling of the readline option (although its also not explicitly enabled either): configure.args --mandir=${prefix}/share/man --with-pid-dir=${prefix}/var/run \ --with-subsys-dir=${prefix}/var/run/subsys \ --sysconfdir=${prefix}/etc/${name} \ --with-libintl-prefix=${prefix} --with-openssl=${prefix} \ --with-libiconv-prefix=${prefix} --with-sqlite3=${prefix} \ --without-postgresql --without-mysql \ --disable-gnome --disable-wx-console --disable-tray-monitor Any ideas what the reality is for Mac OS X 10.4? Maybe a documenation update is in order? Cheers. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autochanger advice
christian zimmermann said: mount The defined Storage resources are: 1: File 2: Overland Select Storage resource (1-2): 2 Enter autochanger drive[0]: 0 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3902 Cannot mount Volume on Storage Device Drive-1 (/dev/st0) because: Couldn't rewind device Drive-1 (/dev/st0): ERR=dev.c:678 Rewind error on Drive-1 (/dev/st0). ERR=No medium found. 3905 Device Drive-1 (/dev/st0) open but no Bacula volume is mounted. If this is not a blank tape, try unmounting and remounting the Volume. I can mount the tape with mtx and label it without a problem I can even umount the tape with the bconsole. But I´m not able to mount it. Can someone point me in the right direction? I think I have a config error but not sure. Did you run the btape tests? Maybe you have to enabel the offline option in the mtx-changer script. # enable the following line if you need to eject the cartridge mt -f $device offline sleep 10 Ralf - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autochanger advice
Hi, I'm not familiar with this particular autochanger but does it really have 12 DRIVES or does it have 12 tape SLOTS? If it's the later, your config is wrong as you only need to configure a device per tape drive, not slot AFAIK. Also, I dont think you should be specifying 'AutoChanger = Yes' in your Device definition. You're defining a tape drive there, not the autochanger (which is defined in the AutoChanger definition above it) Hope this helps in some way, Cheers, Troy Daniels Systems Administrator iTouch Australia (pty) ltd. christian zimmermann wrote: Hi folks, I need some help with my autochanger config. I have an overland arcvault 12 autochanger, I can mount all tapes with the mtx command no problem. But when I try to mount a tape with bconsole so I can label it I allways get an error like this. mount The defined Storage resources are: 1: File 2: Overland Select Storage resource (1-2): 2 Enter autochanger drive[0]: 0 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3902 Cannot mount Volume on Storage Device Drive-1 (/dev/st0) because: Couldn't rewind device Drive-1 (/dev/st0): ERR=dev.c:678 Rewind error on Drive-1 (/dev/st0). ERR=No medium found. 3905 Device Drive-1 (/dev/st0) open but no Bacula volume is mounted. If this is not a blank tape, try unmounting and remounting the Volume. I can mount the tape with mtx and label it without a problem I can even umount the tape with the bconsole. But I´m not able to mount it. Can someone point me in the right direction? I think I have a config error but not sure. This is my bacula-sd.conf --- Autochanger { Name = Overland Device = Drive-1, Drive-2, Drive-3, Drive-4, Drive-5, Drive-6, Drive-7, Drive-8, Drive-9, Drive-10, Drive-11, Drive-12 Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d Changer Device = /dev/sg1 } Device { Name = Drive-1 # Drive Index = 0 Media Type = LTO-2 Archive Device = /dev/st0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; 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 = Drive-2 . . } The bacula-dir.conf --- Storage { Name = Overland Address = 10.2.0.43 SDPort = 9103 Password = test Device = Drive-1 Device = Drive-2 Device = Drive-3 Device = Drive-4 Device = Drive-5 Device = Drive-6 Device = Drive-7 Device = Drive-8 Device = Drive-9 Device = Drive-10 Device = Drive-11 Device = Drive-12 Media Type = LTO-2 Autochanger = yes } - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autochanger advice
Am Freitag, den 24.11.2006, 10:30 +0100 schrieb Ralf Gross: I think I have a config error but not sure. Did you run the btape tests? Maybe you have to enabel the offline option in the mtx-changer script. # enable the following line if you need to eject the cartridge mt -f $device offline sleep 10 Ralf Hi Ralf, yes all the btape tests are succeded. Thanks for the hint, but the umount with the bconsole works I can not mount a tape here the output from bconsole. *mount The defined Storage resources are: 1: File 2: Overland Select Storage resource (1-2): 2 Connecting to Storage daemon Overland at dmgr.vitanet.de:9103 ... Enter autochanger drive[0]: 3905 Device Drive-1 (/dev/st0) open but no Bacula volume is mounted. If this is not a blank tape, try unmounting and remounting the Volume. am I right that the autochanger drive[0] is my pysical lto-2 drive and Drive-1 is my first slot in the autochanger? TIA Christian - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autochanger advice
Troy Daniels wrote: Hi, I'm not familiar with this particular autochanger but does it really have 12 DRIVES or does it have 12 tape SLOTS? If it's the later, your config is wrong as you only need to configure a device per tape drive, not slot AFAIK. Also, I dont think you should be specifying 'AutoChanger = Yes' in your Device definition. You're defining a tape drive there, not the autochanger (which is defined in the AutoChanger definition above it) Hope this helps in some way, You are correct, unless you think they managed to cram 12 drives in a 2U form factor or the first email mis-quoted the model of the tape library ;) It seems to be a 2U, 1 Drive, 12 Slot loader So your bacula-dir.conf should contain something like: Storage { Name = Overland Address = whatever SDPort = 9103 Password = you must be kidding me Device = Overland Media Type = Something else important here Autochanger = yes Maximum Concurrent Jobs = 8 } Then your -sd.conf should have something like: Autochanger { Name = Overland Device = Overland.0 Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d Changer Device = The changer device here, /dev/sg1 maybe? } Device { Name = Overland.0 Drive Index = 0 Media Type = Something else important here Archive Device = where ever your tape dev is, /dev/nst0 maybe; AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; Autochanger = yes; Maximum Network Buffer Size = 65536 } The mtx-changer script may need changing of course, but this -should- work. Cheers, Troy Daniels Systems Administrator iTouch Australia (pty) ltd. christian zimmermann wrote: Hi folks, I need some help with my autochanger config. I have an overland arcvault 12 autochanger, I can mount all tapes with the mtx command no problem. But when I try to mount a tape with bconsole so I can label it I allways get an error like this. mount The defined Storage resources are: 1: File 2: Overland Select Storage resource (1-2): 2 Enter autochanger drive[0]: 0 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3902 Cannot mount Volume on Storage Device Drive-1 (/dev/st0) because: Couldn't rewind device Drive-1 (/dev/st0): ERR=dev.c:678 Rewind error on Drive-1 (/dev/st0). ERR=No medium found. 3905 Device Drive-1 (/dev/st0) open but no Bacula volume is mounted. If this is not a blank tape, try unmounting and remounting the Volume. I can mount the tape with mtx and label it without a problem I can even umount the tape with the bconsole. But I´m not able to mount it. Can someone point me in the right direction? I think I have a config error but not sure. This is my bacula-sd.conf --- Autochanger { Name = Overland Device = Drive-1, Drive-2, Drive-3, Drive-4, Drive-5, Drive-6, Drive-7, Drive-8, Drive-9, Drive-10, Drive-11, Drive-12 Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d Changer Device = /dev/sg1 } Device { Name = Drive-1 # Drive Index = 0 Media Type = LTO-2 Archive Device = /dev/st0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; 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 = Drive-2 . . } The bacula-dir.conf --- Storage { Name = Overland Address = 10.2.0.43 SDPort = 9103 Password = test Device = Drive-1 Device = Drive-2 Device = Drive-3 Device = Drive-4 Device = Drive-5 Device = Drive-6 Device = Drive-7 Device = Drive-8 Device = Drive-9 Device = Drive-10 Device = Drive-11 Device = Drive-12 Media Type = LTO-2 Autochanger = yes } - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Take Surveys. Earn Cash. Influence the
Re: [Bacula-users] Autochanger advice
Hello, Your bacula-dir.conf is messed up. Delete all the Device = Drive-x statements, and replace them with: Device = Overland Then read the manual to understand why. On Friday 24 November 2006 10:21, christian zimmermann wrote: Hi folks, I need some help with my autochanger config. I have an overland arcvault 12 autochanger, I can mount all tapes with the mtx command no problem. But when I try to mount a tape with bconsole so I can label it I allways get an error like this. mount The defined Storage resources are: 1: File 2: Overland Select Storage resource (1-2): 2 Enter autochanger drive[0]: 0 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3902 Cannot mount Volume on Storage Device Drive-1 (/dev/st0) because: Couldn't rewind device Drive-1 (/dev/st0): ERR=dev.c:678 Rewind error on Drive-1 (/dev/st0). ERR=No medium found. 3905 Device Drive-1 (/dev/st0) open but no Bacula volume is mounted. If this is not a blank tape, try unmounting and remounting the Volume. I can mount the tape with mtx and label it without a problem I can even umount the tape with the bconsole. But I´m not able to mount it. Can someone point me in the right direction? I think I have a config error but not sure. This is my bacula-sd.conf --- Autochanger { Name = Overland Device = Drive-1, Drive-2, Drive-3, Drive-4, Drive-5, Drive-6, Drive-7, Drive-8, Drive-9, Drive-10, Drive-11, Drive-12 Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d Changer Device = /dev/sg1 } Device { Name = Drive-1 # Drive Index = 0 Media Type = LTO-2 Archive Device = /dev/st0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; 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 = Drive-2 . . } The bacula-dir.conf --- Storage { Name = Overland Address = 10.2.0.43 SDPort = 9103 Password = test Device = Drive-1 Device = Drive-2 Device = Drive-3 Device = Drive-4 Device = Drive-5 Device = Drive-6 Device = Drive-7 Device = Drive-8 Device = Drive-9 Device = Drive-10 Device = Drive-11 Device = Drive-12 Media Type = LTO-2 Autochanger = yes } - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula compatible with Sony SDX-520C AIT2?
Hi All I'm still having problems with my Sony AIT2 device. Been trying different avenues for help but to no avail. I accidentally typo-ed the wrong device in my previous message and I know that my tape device is indeed on /dev/nst0 and not the generic scsi device /dev/sg2. However Bacula is still giving me the same error message from /dev/nst0 as originally listed (below). I might have a hardware configuration problem (maybe at BIOS level even) as someone has hinted to remove (or add the appropriate) idescsi driver for the tape drive such that the drive itself is on dev/st0 (instead of dev/sgX). Unfortunately I did not build the server and my Linux knowledge is very limited. Something about the scsi driver used being a serial-tape device and not a direct-access hard-drive? I know it is not directly Bacula related, but I would be very grateful if the community could help me to resolve my problem. I also know that it has worked in the past, as I have a First Full Backup tape written using Bacula many months ago. -- Regards Alan To BCo From: Robert Nelson [mailto:[EMAIL PROTECTED] Sent: 14 November 2006 18:43 To: 'Alan To';bacula-users@lists.sourceforge.net Subject: RE: [Bacula-users] Bacula compatible with Sony SDX-520C AIT2? You need to use the tape device /dev/nstX not the generic scsi device /dev/sgX for tape software like tar, Bacula, btape, etc. If /dev/nst0 isn't the right device then try /dev/nst1, etc. Anyways this is an OS problem not a Bacula problem. From: Alan To [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 14, 2006 9:29 AM To: Robert Nelson; bacula-users@lists.sourceforge.net Subject: RE: [Bacula-users] Bacula compatible with Sony SDX-520C AIT2? This was the problem... ...tar, bacula and btape all don't like /dev/sg2! Anyway, while the Sony TapeTool happily checks/tests and read/write tapes, using tar/bacula/bconsole etc. still give me the error (this is via bconsole's label command): Connecting to Storage daemon SonyAIT at localhost:9103 ... Sending label command for Volume Tue-A Slot 0 ... block.c:782 Read error at file:blk 0:0 on device /dev/nst0. ERR=Invalid argument. block.c:552 Write error at 0:0 on device /dev/nst0. ERR=Invalid argument. askdir.c:219 NULL Volume name. This shouldn't happen!!! 3912 Failed to label Volume: ERR=block.c:782 Read error at file:blk 0:0 on device /dev/nst0. ERR=Invalid argument. Label command failed for Volume Tue-A. Do not forget to mount the drive!!! Does this suggest a hardware fault, a linux kernal fault (somewhere) and/or a Bacula fault? Remember I have also been using other brand new (unopened) AIT-2 Tapes as well as the cleaning tape quite a few times too. -- Many Thanks Alan To BCo From: Robert Nelson [mailto:[EMAIL PROTECTED] Sent: 14 November 2006 17:18 To: 'Alan To';bacula-users@lists.sourceforge.net Subject: RE: [Bacula-users] Bacula compatible with Sony SDX-520C AIT2? What is the problem? From: Alan To [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 14, 2006 9:14 AM To: Robert Nelson; bacula-users@lists.sourceforge.net Subject: RE: [Bacula-users] Bacula compatible with Sony SDX-520C AIT2? That's good to know. In that case, is there anything wrong with my following Bacula configurations? (Only listed relevant bits from configs.) - bacula-sd.conf Director { Name = Server-dir Password = } Device { Name = SonyAIT MediaType = DDS ArchiveDevice = /dev/nst0 LabelMedia = yes RandomAccess = no AutomaticMount = yes RemovableMedia = yes AlwaysOpen = yes MaximumVolumeSize = 130GB } - bacula-dir.conf Storage { Name = SonyAIT Address = localhost SDport = 9103 Password = Device = SonyAIT MediaType = DDS } Job { Name = 2006_BCo_Scheduled_Backup Type = Backup Level = Full Client = Server-fd FileSet = BCo_All_Files Storage = USB2 Messages = Standard Pool = Default Priority = 10 Schedule = 2006BCoCycle RunBeforeJob = /usr/bacula/backup_script-Catalog.sh RunAfterJob = rm -f /var/bacula/BCo_Scheduled_Backup.sql } Schedule { Name = 2006BCoCycle Run = Level=Full Storage=USB2 FullPool=FullPool mon at 21:30 Run = Level=Differential Storage=SonyAIT DifferentialPool=DiffPool tue-fri at 21:30 } -- Regards Alan To BCo From: Robert Nelson [mailto:[EMAIL PROTECTED] Sent: 14 November 2006 16:44 To: 'Alan To'; Subject: RE: [Bacula-users] Bacula compatible with Sony SDX-520C AIT2? Yes Bacula works great with all the AIT drives. I have tested it with AIT1, AIT2, and AIT3 based changers. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan To Sent: Tuesday, November 14, 2006 8:10 AM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Bacula compatible with Sony SDX-520C AIT2? Hi All Just a quickie concerning my Bacula mishaps: Is Bacula compatible with my Sony SDX-520C AIT2 Tape Drive? I'm running Bacula 1.36 that comes with ClarkConnect Office Edition 3.2r1, Kernal Version 2.6.9-28.ccsmp (SMP). (Server-dir Version: 1.36.2 (28
Re: [Bacula-users] Autochanger advice
Am Freitag, den 24.11.2006, 09:56 + schrieb James Ray: Troy Daniels wrote: It seems to be a 2U, 1 Drive, 12 Slot loader So your bacula-dir.conf should contain something like: Storage { Name = Overland Address = whatever SDPort = 9103 Password = you must be kidding me Device = Overland Media Type = Something else important here Autochanger = yes Maximum Concurrent Jobs = 8 } Then your -sd.conf should have something like: Autochanger { Name = Overland Device = Overland.0 Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d Changer Device = The changer device here, /dev/sg1 maybe? } Device { Name = Overland.0 Drive Index = 0 Media Type = Something else important here Archive Device = where ever your tape dev is, /dev/nst0 maybe; AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; Autochanger = yes; Maximum Network Buffer Size = 65536 } The mtx-changer script may need changing of course, but this -should- work. Cheers, Troy Daniels Systems Administrator iTouch Australia (pty) ltd. Hello Troy, thanks for your reply and you´re right I messed up drives with slots. I´ve corrected my bacula config, but it´s still the same. I can´t mount a tape with bconsole. When no tape is in the first slot an I issue the command mount, following will hapen. *mount Using default Catalog name=MyCatalog DB=bacula The defined Storage resources are: 1: File 2: Overland Select Storage resource (1-2): 2 Connecting to Storage daemon Overland at 10.2.0.43:9103 ... 3905 Device Overland-LTO2 (/dev/st0) open but no Bacula volume is mounted. If this is not a blank tape, try unmounting and remounting the Volume. I mountet a tape with the mtx command returned to the bconsole and tried to umount and then to mount a tape. *umoun The defined Storage resources are: 1: File 2: Overland Select Storage resource (1-2): 2 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result is Slot 1. 3307 Issuing autochanger unload slot 1, drive 0 command. 3002 Device Overland-LTO2 (/dev/st0) unmounted. * * * * *mount The defined Storage resources are: 1: File 2: Overland Select Storage resource (1-2): 2 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3902 Cannot mount Volume on Storage Device Overland-LTO2 (/dev/st0) because: Couldn't rewind device Overland-LTO2 (/dev/st0): ERR=dev.c:678 Rewind error on Overland.0 (/dev/st0). ERR=No medium found. Any hints? TIA Christian - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] Restoring to a PC running XP
Hello, You will probably have better luck emailing the bacula-users list, which I have just copied for you. On Friday 24 November 2006 04:33, Robert Thomas wrote: Hi, Please forgive me if this is the wrong place to post this. I didn't see it online anyplace. See the Support page on www.bacula.org I'm running Bacula on Fedora Core 5 with DLT 7000 tape drives. Two of the clients are Windows machines. One of them was destroyed, fatal shock to the system when the power supply burned up. The good news is I had it all backed up with Bacula just the day before. I tried to restore a simple case the first time. It worked fine. I restored about 20 gig worth of files. Since that time I cannot restore a darn thing. Not even a single file. I keep getting the following error: Job started. JobId=79 23-Nov 19:10 localhost-dir: Start Restore Job RestoreFiles-Dadspc.2006-11-23_19.10.22 23-Nov 22:12 Dadspc-fd: RestoreFiles-Dadspc.2006-11-23_19.10.22 Fatal error: c:\cygwin\home\kern\bacula\k\src\win32\filed \../../filed/job.c:1614 Comm error with SD. bad response to Bootstrap. ERR=Broken pipe 23-Nov 19:10 localhost-dir: RestoreFiles-Dadspc.2006-11-23_19.10.22 Error: Bacula 1.38.11 (28Jun06): 23-Nov-2006 19:10:58 JobId: 79 Job:RestoreFiles-Dadspc.2006-11-23_19.10.22 Client: Dadspc-fd Start time: 23-Nov-2006 19:10:25 End time: 23-Nov-2006 19:10:58 Files Expected: 73 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 0 FD termination status: Error SD termination status: Error Termination:*** Restore Error *** 23-Nov 19:10 localhost-dir: Begin pruning Jobs. 23-Nov 19:10 localhost-dir: No Jobs found to prune. 23-Nov 19:10 localhost-dir: Begin pruning Files. 23-Nov 19:10 localhost-dir: No Files found to prune. 23-Nov 19:10 localhost-dir: End auto prune. Much to my surprise I get the same error if I try to restore to my Linux machine: Job started. JobId=81 23-Nov 19:15 localhost-dir: Start Restore Job RestoreFiles-local.2006-11-23_19.15.06 23-Nov 22:17 Dadspc-fd: RestoreFiles-local.2006-11-23_19.15.06 Fatal error: c:\cygwin\home\kern\bacula\k\src\win32\filed \../../filed/job.c:1614 Comm error with SD. bad response to Bootstrap. ERR=Broken pipe 23-Nov 19:15 localhost-dir: RestoreFiles-local.2006-11-23_19.15.06 Error: Bacula 1.38.11 (28Jun06): 23-Nov-2006 19:15:41 Of course local is the local Linux machine. Looks like it still tried to go through the PC. Any ideas what is wrong? I blew the PC bacula stuff clean away (with the uninstall script) and restored, then downloaded the bacula stuff again and restored. I have the .conf files on the linux host so I know they are right. I had stored them on the Linux machine once I got them right originally. What I can tell you is that on the PC, if I click on the tape icon it shows the director connecting and the job failing. I didn't see where to find any log files or look at what it thought was wrong. At least it is a very reproducible error. Let me know if you need stuff from the PC. I loaded Flight Simulator on it and the video files, other than that it is up to date with Microsoft updates and I applied the motherboard stuff with the video drivers. Other than that, it is stock. I don't even have any anti-virus stuff on it yet. Thanks, Rob - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bacula-devel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Listing jobs and volumes...
Thank you for your reply. I knew about the list jobmedia command. But I wanted both results(job media and jobs) merged using just one command. Once again, thanks. Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url:www.isep.ipp.pt http://www.isep.ipp.pt Georg Altmann wrote: --On Donnerstag, 23. November 2006 17:36 + Jaime Ventura [EMAIL PROTECTED] wrote: Hello, Is it possible to get a list jobs having also listed the volume(s) related to them? This is in the manual: http://www.bacula.org/rel-manual/Bacula_Console.html#SECTION000206000 Use list jobmedia jobid=thejobid Regards, Georg - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autochanger advice
christian zimmermann wrote: Am Freitag, den 24.11.2006, 09:56 + schrieb James Ray: Troy Daniels wrote: It seems to be a 2U, 1 Drive, 12 Slot loader So your bacula-dir.conf should contain something like: Storage { Name = Overland Address = whatever SDPort = 9103 Password = you must be kidding me Device = Overland Media Type = Something else important here Autochanger = yes Maximum Concurrent Jobs = 8 } Then your -sd.conf should have something like: Autochanger { Name = Overland Device = Overland.0 Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d Changer Device = The changer device here, /dev/sg1 maybe? } Device { Name = Overland.0 Drive Index = 0 Media Type = Something else important here Archive Device = where ever your tape dev is, /dev/nst0 maybe; AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; Autochanger = yes; Maximum Network Buffer Size = 65536 } The mtx-changer script may need changing of course, but this -should- work. Cheers, Troy Daniels Systems Administrator iTouch Australia (pty) ltd. Hello Troy, thanks for your reply and you´re right I messed up drives with slots. I´ve corrected my bacula config, but it´s still the same. I can´t mount a tape with bconsole. When no tape is in the first slot an I issue the command mount, following will hapen. *mount Using default Catalog name=MyCatalog DB=bacula The defined Storage resources are: 1: File 2: Overland Select Storage resource (1-2): 2 Connecting to Storage daemon Overland at 10.2.0.43:9103 ... 3905 Device Overland-LTO2 (/dev/st0) open but no Bacula volume is mounted. If this is not a blank tape, try unmounting and remounting the Volume. I mountet a tape with the mtx command returned to the bconsole and tried to umount and then to mount a tape. *umoun The defined Storage resources are: 1: File 2: Overland Select Storage resource (1-2): 2 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result is Slot 1. 3307 Issuing autochanger unload slot 1, drive 0 command. 3002 Device Overland-LTO2 (/dev/st0) unmounted. * * * * *mount The defined Storage resources are: 1: File 2: Overland Select Storage resource (1-2): 2 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3902 Cannot mount Volume on Storage Device Overland-LTO2 (/dev/st0) because: Couldn't rewind device Overland-LTO2 (/dev/st0): ERR=dev.c:678 Rewind error on Overland.0 (/dev/st0). ERR=No medium found. Any hints? Can you show the list volumes output? I'm guessing you haven't run update slots or something to pick up any tapes are actually in the autoloader. -- James Ray. [EMAIL PROTECTED] Computing Services Queen Mary, University of London - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] advance required volumes
Sorry if this is obvious, but I can't see it anywhere. I'm using tape drives that are not in an autochanger. How can I find out (preferably be email) what volumes are required for the coming nights backup? Cheers, Bill -- Bill Hillw: http://www.hgu.mrc.ac.uk/Users/Bill.Hill MRC Human Genetics Unit e: [EMAIL PROTECTED] Crewe Road t: +44-131-3322471x2130 Edinburgh EH4 2XU, UK. f: +44-131-4678456 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Listing jobs and volumes...
Fredag 24 november 2006 12:40 skrev Jaime Ventura: Thank you for your reply. I knew about the list jobmedia command. But I wanted both results(job media and jobs) merged using just one command. I have made this query addition: 18: List Volumes by Jobs: 19: List Volumes for a jobname: Choose a query (1-19): 18 +---+---+--+-+---+--+ | jobname | jobid | volumename | start | files | bytes| +---+---+--+-+---+--+ | adm-backup| 1,031 | Arch-0128| 2006-06-10 10:05:02 | 599,346 | 10703086842 | | adm-backup| 1,031 | Arch-0127| 2006-06-10 10:05:02 | 399,564 | 7135391228 | | adm-backup| 1,031 | Arch-0129| 2006-06-10 10:05:02 | 199,782 | 3567695614 | | adm-backup| 1,313 | Arch-0131| 2006-07-29 10:05:03 | 199,825 | 3669803318 | | adm-backup| 1,313 | Arch-0130| 2006-07-29 10:05:03 | 599,475 | 11009409954 | Is it something like this you are looking for? Steen Once again, thanks. Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url: www.isep.ipp.pt http://www.isep.ipp.pt Georg Altmann wrote: --On Donnerstag, 23. November 2006 17:36 + Jaime Ventura [EMAIL PROTECTED] wrote: Hello, Is it possible to get a list jobs having also listed the volume(s) related to them? This is in the manual: http://www.bacula.org/rel-manual/Bacula_Console.html#SECTION00020600 0 Use list jobmedia jobid=thejobid Regards, Georg - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Regards Steen - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] advance required volumes
--On Freitag, 24. November 2006 12:13 + Bill Hill [EMAIL PROTECTED] wrote: Sorry if this is obvious, but I can't see it anywhere. I'm using tape drives that are not in an autochanger. How can I find out (preferably be email) what volumes are required for the coming nights backup? My suggestion would be to make a cron job. Something like echo list volumes | bconsole | mail -s Volume Listing [EMAIL PROTECTED] Then you can choose which volumes to use. Any writable (i.e. not {full, readonly, etc.}) volumes from the correct pool will do fine. Depending on your setup, you could query only a specific pool: list volumes pool=Full Regards, Georg - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Creating filesets on-the-fly
Thanks for all the suggestions. This one seems to be the most usefull for what I want to do. Anyway, it will be a bit tricky to get some day to work and have to program one new backup for next Tuesdey and another new one for next Friday. Does your first approach read the local-filelist when the scheduled date comes and bacula starts backuping files or when I program the backup and set a schedule for it? The second solution would allow me to handle any backup not planned. The first solution forces me to have an array of '' filesets and keep track of which of them are being used and which ones are free. The problem is that here we have to do a lot of 'once' backups. Each time that one artist ends one sub-project we must backup his work and delete it from the server disks. This happens at least twice a week, and each backup is a new one. I thought that it was more common in other places having to do final backups for projects when they are done and must be deleted from hard drives. Or maybe other bacula users leave these kind of backups out from bacula control? We also have periodical backups that can be handled without any problem with bacula, but these once/final backups happen too frequently to leave them out from bacula control :( By the way, is there any way of schedule a backup to run only once? I didn't see how to specify the year... Regards and thanks for your help. Thomas Glatthor wrote: Hi, maybe this will help: Any file-list item preceded by a less-than sign () will be taken to be a file. This file will be read on the Director's machine at the time the Job starts, and the data will be assumed to be a list of directories or files, one per line, to be included. The names should start in column 1 and should not be quoted even if they contain spaces. This feature allows you to modify the external file and change what will be saved without stopping and restarting Bacula as would be necessary if using the @ modifier noted above. For example: Include { Options { signature = SHA1 } File = /home/files/local-filelist } If you precede the less-than sign () with a backslash as in \, the file-list will be read on the Client machine instead of on the Director's machine. Please note that if the filename is given within quotes, you will need to use two slashes. Include { Options { signature = SHA1 } File = \\/home/xxx/filelist-on-client } Regards Thomas Ruben Lopez schrieb: Hi, I'm new to bacula, and after reading the documentation I couldn't find a way of creating filesets from the consoles. It seems that the only way of creating them is by modifying the configuration file of the director, but this would involve restarting the bacula server to have the new fileset into account, right? Sometimes I need to schedule a backup of some new folder that wasn't backed up previously. Is there another way of doing this remotely from a console? Thanks in advance, Ruben - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Mac OS X and readline disabled requirement (deprecated information in the documentation?)
For what it is worth, here is the client configure for the client. I believe you have to explicitly enable readline support in the conf arguments. ./configure \ --enable-smartalloc \ --sbindir=/usr/sbin \ --with-pid-dir=/var/run \ --with-subsys-dir=/var/run/subsys \ --with-mysql=/usr/local/mysql \ --with-working-dir=/etc/bacula/working \ --with-dir-password=*** \ --with-sd-password=*** \ --with-fd-password= \ [EMAIL PROTECTED] \ --with-smtp-host=mymailserver.mydomain.com \ --with-baseport=9101 E On Nov 24, 2006, at 2:36 AM, Hydro Meteor wrote: Hello, According to the documentation for Bacula 1.38.11 (24 July 2006), on page 61 of the PDF document, it says this about Mac OS X client: MacOS X 10.3 is reported to work with the Client only as long as readline support is disabled. This may be true for 10.3, but I'm not so sure its true for 10.4 (and Leopard -- 10.5 is just around the corner). The reason I mention this is that the MacPorts (formerly Darwin Ports) Bacula Portfile has configuration arguments as follows (copied and pasted) and there is no explicit disabling of the readline option (although its also not explicitly enabled either): configure.args --mandir=${prefix}/share/man --with-pid-dir=$ {prefix}/var/run \ --with-subsys-dir=${prefix}/var/run/ subsys \ --sysconfdir=${prefix}/etc/${name} \ --with-libintl-prefix=${prefix} -- with-openssl=${prefix} \ --with-libiconv-prefix=${prefix} -- with-sqlite3=${prefix} \ --without-postgresql --without-mysql \ --disable-gnome --disable-wx- console --disable-tray-monitor Any ideas what the reality is for Mac OS X 10.4? Maybe a documenation update is in order? Cheers. -- --- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Creating filesets on-the-fly
On 24 Nov 2006 at 16:24, Ruben Lopez wrote: By the way, is there any way of schedule a backup to run only once? I didn't see how to specify the year... For jobs that you don't want on a schedule, do this: Schedule { Name = Never } Job { Name= laptop JobDefs = DefaultJob Schedule= Never Client = laptop-fd FileSet = laptop files Write Bootstrap = /home/bacula/working/laptop-fd.bsr Reschedule On Error = yes Reschedule Interval = 12 hours } Then you can run the job from bconsole: run job=laptop - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] Storage definitions
Hello David, Thanks for your thoughts. I think there are several points that you have minimized or overlooked in your response: 1. Bacula currently permits specifying multiple Media Types in a Pool. 2. Bacula currently permits Storage devices to be specified in the Job resource 3. Bacula currently permits both Pool and Storage overrides in Run resources. None of the above can be removed or changed without causing total disaster to a very large Bacula community. My question was about the order of what takes precedence over what, not in is better or worse than other options. For version 1.39.x, you can run Bacula exactly as you want using Storage resources in Pools and in the Next Pool. Both methodologies cooexist in Bacula (though they probably don't function very well together). See below for more comments ... On Wednesday 22 November 2006 19:35, David Boyes wrote: Defining and figuring out what storage device is going to be used has become a bit too complicated in version 1.39.x. This is mainly due to the fact that we have two different storage devices for each job and three possible places to specify them: My 2 cents worth: This can be simplified dramatically by specifying the Storage resource only in the Pool definition, and then specifying only the Pool in all other places. Since (IMHO) pools are highly unlikely to span multiple SDs, identifying what SD to use is selectable from the devices available in the Storage resource associated with the pool. Some notes below: Yes agreed. Migration job: read storage: job storage resource Shouldn't the migration job always be using the Pool resource being migrated One can do that, but it is not the only way of doing things. The read part remains compatible with the existing code. and feeding to the NextPool, or overriding the NextPool resource, not the storage resource? That is how it is done for the writing side. For migration, we're looking at volumes in pools, not individual volumes (other than the case where we have deliberately limited the selection criteria to a specific volume within a pool via the selection keyword), No, that is not really correct. For migration, as it is currently implemented, we are looking at Jobs. Everything breaks down to a Job. This has certain constraints, but I could see no other way of implementing Migration in the current Bacula otherwise. so there should be no reason to specify individual devices for migration jobs. You have to be able to properly get to the original data, and I don't think it would be wise to have one syntax for restores and a different one to find the read side of a Migration. read storage: pool storage resource Correct. read storage: run override resource See above. Migration is about pools, not devices. No, it is about Jobs, with the caveat that Next Pool does define what set of devices it can be migrated to. If you need to migrate to volumes that are not in a pool then you set up a temporary pool and draw it's volumes from the scratch pool. All Volumes by definition are in one and only one pool, and as I said, we are migrating jobs not volumes and not pools. read storage: command line??? Not sure what you mean by this. Sorry that was not very clear. I meant that the read storage could be overriden by the command line (i.e. in manually starting a Migration job), but I was not sure of what order it was applied ... write storage: pool next pool storage resource (yea, try to figure out the above in C it is job-pool-next_pool-storage Correct as I understand the implementation. See comments above. Yes, but it is terribly complicated, and IMO the average user doesn't understand Pools so is going to break his brain on this. Backup Job: write storage: job storage resource See above for discussion of pools. If pools drive the selection of volumes, the pool definition will clearly define what SD should be used, unambiguously and consistently across all actions in Bacula. Unfortunately the above, however good it may be, is not compatible with the existing Bacula (if you force it on the user), and probably more than 50% of beginning users will not understand how pools work. Any big enterprise backup expert will, but not the majority of Bacula users, IMO. write storage: pool storage resource Ditto. write storage: run override resource Ditto. write storage: command line??? Not sure again. Restore Job: read storage: who knows, probably the same as Migration. To be checked. In a normal case, the pool definition of the pool containing the volume should determine the SD to use. This is now possible, but it is not *enforced* so you just need to use a little discipline in writing your .conf file. In the nasty case of full disaster, you could temporarily override the pool storage resource from the
Re: [Bacula-users] Retaining Job information
On Wednesday 22 November 2006 17:07, Martin Simmons wrote: On Tue, 21 Nov 2006 23:30:00 +0100, Kern Sibbald said: Yes, and what people tend to forget and thus claim that pruning does not work is that the Volume Retention interval must also expire before the volume will be recycled. Maybe there should be an explain mode that would print all the decisions about recycling in a particular job? Good idea. I've tried to enhance the manual to do so, but if someone would submit a patch to add an explain mode, I would be happy to accept it. __Martin - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Corrupted Tape Label
All, I think I have a nasty problem with a tape label: *read label btape: btape.c:385 Volume has no label. Volume Label: Id: **error**VerNo : 0 VolName : PrevVolName : VolFile : 0 LabelType : Unknown 0 LabelSize : 0 PoolName : MediaType : PoolType : HostName : Date label written: -4712-01-01 at 00:00 Looks like some how its been ruined in some way, not quite sure how yet. Is there any way to see if there is any valid bacula data on the tape still? -- James Ray. [EMAIL PROTECTED] Computing Services Queen Mary, University of London - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Corrupted Tape Label
On Friday 24 November 2006 17:57, James Ray wrote: All, I think I have a nasty problem with a tape label: *read label btape: btape.c:385 Volume has no label. Volume Label: Id: **error**VerNo : 0 VolName : PrevVolName : VolFile : 0 LabelType : Unknown 0 LabelSize : 0 PoolName : MediaType : PoolType : HostName : Date label written: -4712-01-01 at 00:00 Looks like some how its been ruined in some way, not quite sure how yet. Is there any way to see if there is any valid bacula data on the tape still? Run almost any of the SD utility programs such as bls or even bacula-sd and add the -p option. It will *try* to ignore ugly things like missing labels, but your chance of success is pretty small ... Regards, Kern -- James Ray. [EMAIL PROTECTED] Computing Services Queen Mary, University of London - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Corrupted Tape Label
Kern Sibbald wrote: On Friday 24 November 2006 17:57, James Ray wrote: All, I think I have a nasty problem with a tape label: *read label btape: btape.c:385 Volume has no label. Volume Label: Id: **error**VerNo : 0 VolName : PrevVolName : VolFile : 0 LabelType : Unknown 0 LabelSize : 0 PoolName : MediaType : PoolType : HostName : Date label written: -4712-01-01 at 00:00 Looks like some how its been ruined in some way, not quite sure how yet. Is there any way to see if there is any valid bacula data on the tape still? Run almost any of the SD utility programs such as bls or even bacula-sd and add the -p option. It will *try* to ignore ugly things like missing labels, but your chance of success is pretty small ... Thanks for the suggestions Kern, tried and failed ;( Here is what I think has happened, I have been experiancing nasty hard hangs for unrelated reasons on my tape library (it hard hangs on the mis-read of a barcode!). 1) Tape Library hard hangs 2) I restart the library 3) Bacula starts writing to the tape from where it thinks it is, un-known to bacula the library re-winds tapes when it restarts 4) bacula over writes from file:block 0:0 Is that possible do you think Kern? -- James Ray. [EMAIL PROTECTED] Computing Services Queen Mary, University of London - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Creating filesets on-the-fly
Can't you also just pull the schedule line from the job def? -Original Message- From: Dan Langille [EMAIL PROTECTED] Subj: Re: [Bacula-users] Creating filesets on-the-fly Date: Fri Nov 24, 2006 10:25 am Size: 1K To: Ruben Lopez [EMAIL PROTECTED] cc: bacula-users@lists.sourceforge.net On 24 Nov 2006 at 16:24, Ruben Lopez wrote: By the way, is there any way of schedule a backup to run only once? I didn't see how to specify the year... For jobs that you don't want on a schedule, do this: Schedule { Name = Never } Job { Name= laptop JobDefs = DefaultJob Schedule= Never Client = laptop-fd FileSet = laptop files Write Bootstrap = /home/bacula/working/laptop-fd.bsr Reschedule On Error = yes Reschedule Interval = 12 hours } Then you can run the job from bconsole: run job=laptop - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- message truncated --- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Update clients FileRetention JobRetention Period?
Hi people. I Update my Pool Volume RetentionPeriod, now i need to update my Clients FileRetention JobRetention period but i didn't see any command to help with..? I change my values in bacula-dir.conf them reload bacula-dir.conf but didn't work.I restart my clients but didn't work. This can be possible...? I need to increase this values, i have been searching about but still don't find anything about, any info about will be apreciated, thanks all for your time!!! Bacula Server 1.38.11 FreeBSD 6.1-p10. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Update clients FileRetention JobRetention Period?
Hi, Use the update command in bacula console. Check this: http://www.bacula.org/rel-manual/Bacula_Console.html#_ConsoleChapter Andras -Original Message- From: [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Date: Friday Friday, November 24, 2006 6:50:15 PM Subject: [Bacula-users] Update clients FileRetention JobRetention Period? Hi people. I Update my Pool Volume RetentionPeriod, now i need to update my Clients FileRetention JobRetention period but i didn't see any command to help with..? I change my values in bacula-dir.conf them reload bacula-dir.conf but didn't work.I restart my clients but didn't work. This can be possible...? I need to increase this values, i have been searching about but still don't find anything about, any info about will be apreciated, thanks all for your time!!! Bacula Server 1.38.11 FreeBSD 6.1-p10. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Travan tape - very slow
I now have found btape so I set my tape testing on fill this morning. After 12 hours it's only managed 3GB. It is reporting about 70kb/s, which is consistent with the rate it's reporting. With other programs (Windows 98/Veritas backup and Linux/Amanda) it can fill a 10GB tape in that time (it's spec is 60MB/min and as I recall but didn't note Amanda was not far off - from memory I think it was a about 40MB/min). I have had to set 512 byte blocks (it didn't work with variable size and mt reports that it has 512 byte blocks). Others have also reported this requirement. The drive is on an IDE cable shared with the CDROM (not in use) so it should have full access to the IDE port. With other programs when writing data the tape whirrs continuously in one direction. With btape it is winding one way then silent the rewinding then going forward (that's what it sounds like anyway). That will clearly hit the performance if it doesn't write continuously. The drive is a Travan 20 (10GB native, 20GB compressed) Seagate STT22A. Clearly the performance is much reduced from what the drive is capable of. Has anyone suggestions (ideally first hand experience of this or a very similar model, e.g the STT28000A 8GB/4GB version) that could help? The drive may be a few years old, but it's capacity and speed (when it's going at it's flat out speed) suits my requirements, plus I have a second drive in another machine which gives me some redundancy in the event of a failure). This is the definition that I added to bacula-sd.conf: Device { Name = Travan Description = Travan 10/20GB Media Type = TR-5 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes Offline On Unmount = no Fast Forward Space File = no Hardware End of Medium = no Minimum Block Size = 512 Maximum Block Size = 512 } -- Peter Crighton - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] Storage definitions
Thanks for your thoughts. I think there are several points that you have minimized or overlooked in your response: 1. Bacula currently permits specifying multiple Media Types in a Pool. 2. Bacula currently permits Storage devices to be specified in the Job resource 3. Bacula currently permits both Pool and Storage overrides in Run resources. None of the above can be removed or changed without causing total disaster to a very large Bacula community. All understood. I'm still thinking about how to get to that future state where these things are controlled by Bacula, and the user doesn't have to concern themselves with it. Since migration is a significant new feature, it strikes me as a very good opportunity to start heading in that direction. For version 1.39.x, you can run Bacula exactly as you want using Storage resources in Pools and in the Next Pool. Both methodologies cooexist in Bacula (though they probably don't function very well together). Yes. It's a tradeoff of one-time setup complexity for pain-free normal operation. The bigger problem (as you pointed out) is how to get there from here. Migration job: read storage: job storage resource Shouldn't the migration job always be using the Pool resource being migrated One can do that, but it is not the only way of doing things. The read part remains compatible with the existing code. I guess I'm not seeing why it's useful to override device selection for reads from pooled volumes -- I'm sure there's a reason, but I can't figure it out. The volumes (and thus the jobs you are migrating) are in a pool and are in a changer -- otherwise they wouldn't be eligible for migration -- thus they are associated implicitly with a SD managing that pool. Other than academic completeness, why complicate operations by allowing/encouraging the user to mix into Bacula's device selection and management process outside of real total disaster? That seems to be the core of the problem -- Bacula having to cope with things outside it's control or users doing things that are dumb. Should we use the opportunity to try to remedy the possibility of that? Migration is a *major* change in capability -- I guess I'm thinking that it's also the beginning of the kinds of changes I suggested in order to scale up. I know we can't break the world as it is now. It might be worth breaking migration to work this way and start things in the direction we want to go in the future. For migration, we're looking at volumes in pools, not individual volumes (other than the case where we have deliberately limited the selection criteria to a specific volume within a pool via the selection keyword), No, that is not really correct. For migration, as it is currently implemented, we are looking at Jobs. Everything breaks down to a Job. This has certain constraints, but I could see no other way of implementing Migration in the current Bacula otherwise. I think this is one of those which-perspective-do-you-start-from issues. At the lowest level, that's true - jobs are the most granular thing in Bacula, and that's the units that the migration code deals with. From the larger-scale storage manager's perspective, jobs are the *contents* of a volume, and what they're interested is managing the availability of volumes (empty, partially-full, full). The migration code identifies and moves the jobs contained on volumes or the volumes contained within a pool, but what I care about is if I have enough available space on volumes to meet the requirements. so there should be no reason to specify individual devices for migration jobs. You have to be able to properly get to the original data, and I don't think it would be wise to have one syntax for restores and a different one to find the read side of a Migration. I probably didn't explain this point well. I intend the syntax to be the same in both cases, but in the case of a total disaster (where the bacula configuration and/or database is lost or otherwise unavailable), you would have to ADD parameters identifying the SD and device to the normal syntax. In a normal case, the job would get that data from the Pool definitions (and their associated Storage definitions), and the user should let Bacula do it's job and select appropriate devices. read storage: pool storage resource Correct. read storage: run override resource See above. Migration is about pools, not devices. No, it is about Jobs, with the caveat that Next Pool does define what set of devices it can be migrated to. See above discussion on perspective. The mechanics in the code are about jobs, but that's more detail than the average storage manager cares about. If you need to migrate to volumes that are not in a pool then you set up a temporary pool and draw it's volumes from the scratch pool. All Volumes by definition are in one and only one pool, and as I said, we are migrating jobs not
Re: [Bacula-users] Update clients FileRetention JobRetention Period?
On 11/24/06, Andras Horvai [EMAIL PROTECTED] wrote: Hi, Use the update command in bacula console. Check this: http://www.bacula.org/rel-manual/Bacula_Console.html#_ConsoleChapter Andras -Original Message- From:[EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Date:Friday Friday, November 24, 2006 6:50:15 PM Subject: [Bacula-users] Update clients FileRetention JobRetention Period? Hi people. I Update my Pool Volume RetentionPeriod, now i need to update my Clients FileRetention JobRetention period but i didn't see any command to help with..? I change my values in bacula-dir.conf them reload bacula-dir.conf but didn't work.I restart my clients but didn't work. This can be possible...? I need to increase this values, i have been searching about but still don't find anything about, any info about will be apreciated, thanks all for your time!!! Bacula Server 1.38.11 FreeBSD 6.1-p10. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Andras, the update command doesn't have any argument about clients resource: Update choice: 1: Volume parameters 2: Pool from resource 3: Slots from autochanger Could you please point me where...? Thanks for your time!!! - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Error with Bacula web
hello, I'm using bacula with postgres, which works fine. However, the web interface does not work. When running is, I received a page indicating: Fatal error: Call to undefined function: fetchrow() in /var/www/bacula-web/index.php on line 50 I'm using php4 under Ubuntu, and I installed php4-pgsql. Does anyone have an idea ? Thank you, Guy. Guy Corbaz ch. du Châtaignier 2 1052 Le Mont Switzerland phone:+41 21 652 26 05 mobile: +41 79 420 26 06 freeworld dialup: 785844 iaxtel: 17005530690 e-mail: [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Travan tape - very slow
Hello, It generally helps to read the manual in cases like this. Here is a short except from the manual that should pretty much explain it: Bacula's preferred method of working with tape drives (sequential devices) is to run in variable block mode, and this is what is set by default. You should first ensure that your tape drive is set for variable block mode (see below). If your tape drive is in fixed block mode and you have told Bacula to use different fixed block sizes or variable block sizes (default), you will get errors when Bacula attempts to forward space to the correct block (the kernel driver's idea of tape blocks will not correspond to Bacula's). All modern tape drives support variable tape blocks, but some older drives (in particular the QIC drives) as well as the ATAPI ide-scsi driver run only in fixed block mode. The Travan tape drives also apparently must run in fixed block mode (to be confirmed). Even in variable block mode, with the exception of the first record on the second or subsequent volume of a multi-volume backup, Bacula will write blocks of a fixed size. However, in reading a tape, Bacula will assume that for each read request, exactly one block from the tape will be transferred. This the most common way that tape drives work and is well supported by Bacula. Drives that run in fixed block mode can cause serious problems for Bacula if the drive's block size does not correspond exactly to Bacula's block size. In fixed block size mode, drivers may transmit a partial block or multiple blocks for a single read request. From Bacula's point of view, this destroys the concept of tape blocks. It is much better to run in variable block mode, and almost all modern drives (the OnStream is an exception) run in variable block mode. In order for Bacula to run in fixed block mode, you must include the following records in the Storage daemon's Device resource definition: Minimum Block Size = nnn Maximum Block Size = nnn where nnn must be the same for both records and must be identical to the driver's fixed block size. We recommend that you avoid this configuration if at all possible by using variable block sizes. If you must run with fixed size blocks, make sure they are not 512 bytes. This is too small and the overhead that Bacula has with each record will become excessive. If at all possible set any fixed block size to something like 64,512 bytes or possibly 32,768 if 64,512 is too large for your drive. See below for the details on checking and setting the default drive block size. To recover files from tapes written in fixed block mode, see below. On Friday 24 November 2006 21:06, Peter Crighton wrote: I now have found btape so I set my tape testing on fill this morning. After 12 hours it's only managed 3GB. It is reporting about 70kb/s, which is consistent with the rate it's reporting. With other programs (Windows 98/Veritas backup and Linux/Amanda) it can fill a 10GB tape in that time (it's spec is 60MB/min and as I recall but didn't note Amanda was not far off - from memory I think it was a about 40MB/min). I have had to set 512 byte blocks (it didn't work with variable size and mt reports that it has 512 byte blocks). Others have also reported this requirement. The drive is on an IDE cable shared with the CDROM (not in use) so it should have full access to the IDE port. With other programs when writing data the tape whirrs continuously in one direction. With btape it is winding one way then silent the rewinding then going forward (that's what it sounds like anyway). That will clearly hit the performance if it doesn't write continuously. The drive is a Travan 20 (10GB native, 20GB compressed) Seagate STT22A. Clearly the performance is much reduced from what the drive is capable of. Has anyone suggestions (ideally first hand experience of this or a very similar model, e.g the STT28000A 8GB/4GB version) that could help? The drive may be a few years old, but it's capacity and speed (when it's going at it's flat out speed) suits my requirements, plus I have a second drive in another machine which gives me some redundancy in the event of a failure). This is the definition that I added to bacula-sd.conf: Device { Name = Travan Description = Travan 10/20GB Media Type = TR-5 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes Offline On Unmount = no Fast Forward Space File = no Hardware End of Medium = no Minimum Block Size = 512 Maximum Block Size = 512 } -- Peter Crighton - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
Re: [Bacula-users] Update clients FileRetention JobRetention Period?
On 11/24/06, pedro moreno [EMAIL PROTECTED] wrote: On 11/24/06, Andras Horvai [EMAIL PROTECTED] wrote: Hi, Use the update command in bacula console. Check this: http://www.bacula.org/rel-manual/Bacula_Console.html#_ConsoleChapter Andras -Original Message- From:[EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Date:Friday Friday, November 24, 2006 6:50:15 PM Subject: [Bacula-users] Update clients FileRetention JobRetention Period? Hi people. I Update my Pool Volume RetentionPeriod, now i need to update my Clients FileRetention JobRetention period but i didn't see any command to help with..? I change my values in bacula-dir.conf them reload bacula-dir.conf but didn't work.I restart my clients but didn't work. This can be possible...? I need to increase this values, i have been searching about but still don't find anything about, any info about will be apreciated, thanks all for your time!!! Bacula Server 1.38.11 FreeBSD 6.1-p10. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Andras, the update command doesn't have any argument about clients resource: Update choice: 1: Volume parameters 2: Pool from resource 3: Slots from autochanger Could you please point me where...? Thanks for your time!!! Maybe i wasn't clear, the values that i want to update are from the Client Resource in bacula-dir.conf Client { Name = Client1 Address = 192.168.2.251 FDPort = 9102 Catalog = MyCatalog Password = mypassword File Retention = 26 days Job Retention = 27 days AutoPrune = yes } This are the values i want to update. Sorry for this mistake, greetings!!! - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] Storage definitions
On Friday 24 November 2006 21:06, David Boyes wrote: Thanks for your thoughts. I think there are several points that you have minimized or overlooked in your response: 1. Bacula currently permits specifying multiple Media Types in a Pool. 2. Bacula currently permits Storage devices to be specified in the Job resource 3. Bacula currently permits both Pool and Storage overrides in Run resources. None of the above can be removed or changed without causing total disaster to a very large Bacula community. All understood. I'm still thinking about how to get to that future state where these things are controlled by Bacula, and the user doesn't have to concern themselves with it. Since migration is a significant new feature, it strikes me as a very good opportunity to start heading in that direction. Yes, that is a good point that I probably did not consider enough. For version 1.39.x, you can run Bacula exactly as you want using Storage resources in Pools and in the Next Pool. Both methodologies cooexist in Bacula (though they probably don't function very well together). Yes. It's a tradeoff of one-time setup complexity for pain-free normal operation. The bigger problem (as you pointed out) is how to get there from here. Migration job: read storage: job storage resource Shouldn't the migration job always be using the Pool resource being migrated One can do that, but it is not the only way of doing things. The read part remains compatible with the existing code. I guess I'm not seeing why it's useful to override device selection for reads from pooled volumes -- I'm sure there's a reason, but I can't figure it out. The volumes (and thus the jobs you are migrating) are in a pool and are in a changer -- otherwise they wouldn't be eligible for migration -- thus they are associated implicitly with a SD managing that pool. Other than academic completeness, why complicate operations by allowing/encouraging the user to mix into Bacula's device selection and management process outside of real total disaster? That seems to be the core of the problem -- Bacula having to cope with things outside it's control or users doing things that are dumb. Should we use the opportunity to try to remedy the possibility of that? Migration is a *major* change in capability -- I guess I'm thinking that it's also the beginning of the kinds of changes I suggested in order to scale up. Yes, on second thought we probably could do Migration a bit differently. However, unless one wants to overly complicate the existing complicated code, it would either be all or nothing -- that is either accept all possible existing ways of setting the storage device, or do it only from the Pool. If it is done only from the Pool, then modification from the command line would be out, and all flexibility would be lost. Though it is possible, I find adding even more code to restrict devices only for Migration to be a bit of overkill. Maybe I am wrong ... I know we can't break the world as it is now. It might be worth breaking migration to work this way and start things in the direction we want to go in the future. As alluded to above, it is not so easy to break migration and still maintain some flexibility. It is much easier to just let Bacula do its thing. Migration has been the hardest project I have worked on in Bacula, and it is sort of limping along, but I am not really very happy about it. At the moment I don't see any way to improve it, but I am unhappy because it is rather complicated -- try figuring out what happens when Pools, SQL statements, and Regexes are involved to determine what gets migrated -- it is a brain buster. What worries me more though is that the current implementation is not very scalable. I mentioned this some months ago -- I shudder to think of what will happen when some poor guy fires off a Migration job that spawns 1000 child jobs :-) As I think you said, it will be interesting to see how Bacula stands up to the stress test. :-) I'm a bit tired of working on it, but at the same time would really like to see it working well, and even more, I would really like to see about adding a copy feature, and even more than that a consolidation feature (or what some people call a synthetic Full backup -- I think) where the current state of the system will be created from existing backups, but written to one set of tapes ... For migration, we're looking at volumes in pools, not individual volumes (other than the case where we have deliberately limited the selection criteria to a specific volume within a pool via the selection keyword), No, that is not really correct. For migration, as it is currently implemented, we are looking at Jobs. Everything breaks down to a Job. This has certain constraints, but I could see no other way of implementing Migration in the current
Re: [Bacula-users] Update clients FileRetention JobRetention Period?
Hi, You are right. My answer was wrong. I did some research in the manual and I found this: (page 292 in the pdf): - File Retention = time-period-specification The File Retention record defines the length of time that Bacula will keep File records in the Catalog database. When this time period expires, and if Au- toPrune is set to yes, Bacula will prune (remove) File records that are older than the specified File Retention period. The pruning will occur at the end of a backup Job for the given Client. Note that the Client database record contains a copy of the File and Job retention periods, but Bacula uses the current values found in the Directors Client resource to do the pruning. - So regarding the documentation you don't need to do anything else. You have already restarted the director daemon. Andras -Original Message- From: [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Date: Friday Friday, November 24, 2006 10:50:00 PM Subject: [Bacula-users] Update clients FileRetention JobRetention Period? On 11/24/06,pedro moreno[EMAIL PROTECTED] wrote: On 11/24/06,Andras Horvai[EMAIL PROTECTED] wrote: Hi, Use the update command in bacula console. Check this: http://www.bacula.org/rel-manual/Bacula_Console.html#_ConsoleChapter Andras -Original Message- From: [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Date: Friday Friday, November 24, 2006 6:50:15 PM Subject: [Bacula-users] Update clients FileRetention JobRetention Period? Hi people. I Update my Pool Volume RetentionPeriod, now i need to update my Clients FileRetention JobRetention period but i didn't see any command to help with..? I change my values in bacula-dir.conf them reload bacula-dir.conf but didn't work.I restart my clients but didn't work. This can be possible...? I need to increase this values, i have been searching about but still don't find anything about, any info about will be apreciated, thanks all for your time!!! Bacula Server 1.38.11 FreeBSD 6.1-p10. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Andras, the update command doesn't have any argument about clients resource: Update choice: 1: Volume parameters 2: Pool from resource 3: Slots from autochanger Could you please point me where...? Thanks for your time!!! Maybe i wasn't clear, the values that i want to update are from the Client Resource in bacula-dir.conf Client { Name = Client1 Address =192.168.2.251 FDPort = 9102 Catalog = MyCatalog Password = "mypassword" File Retention = 26 days Job Retention = 27 days AutoPrune = yes } This are the values i want to update. Sorry for this mistake, greetings!!! - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Windows client and TLS
Hi, I've been running Bacula in Linux/Solaris environment for a long time. Couple of days ago, I've attempted to install Bacula file daemon on Windows box and get it to work with TLS. However, if I have TLS Require = yes in bacula-fd.conf, the file daemon crashes. If I remove it and use plaintext connections, it works. Is TLS supported in Windows version at all? Is there a minimum version of file daemon or directory/storage daemon required for Windows TLS? I've found one email in list archives where Pozdrawiam Leszek asked preaty much the same question about a month ago. However, it doesn't seem he ever got any answer. Thanks, Aleksandar Milivojevic - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error with Bacula web
Hi, What is the output of the test.php (http://your_location_to_bacula_web/test.php) ? Do you have php4-pear installed? Bacula-web works me although I'm using Debian Sarge. Andras -Original Message- From: [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Date: Friday Friday, November 24, 2006 9:14:50 PM Subject: [Bacula-users] Error with Bacula web hello, I'm using bacula with postgres, which works fine. However, the web interface does not work. When running is, I received a page indicating: Fatal error: Call to undefined function: fetchrow() in/var/www/bacula-web/index.phpon line50 I'm using php4 under Ubuntu, and I installed php4-pgsql. Does anyone have an idea ? Thank you, Guy. Guy Corbaz ch. du Châtaignier 2 1052 Le Mont Switzerland phone:+41 21 652 26 05 mobile: +41 79 420 26 06 freeworld dialup: 785844 iaxtel: 17005530690 e-mail: [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Travan tape - very slow
On Fri, 24 Nov 2006 22:42:30 +0100, you wrote: Hello, It generally helps to read the manual in cases like this. Here is a short except from the manual that should pretty much explain it: Hi, I did read that and yes I understand it says don't use 512 byte blocks, but that is the only way that I've managed to get it to work. Variable blocks didn't work (as I said). It says that Travan must run in fixed block mode. The issue is that the Travan tape is very slow. Now maybe one of my settings is wrong, but I don't know what and was looking for some help as I'd like to get it working. Alternatively, maybe someone who has this going well can help me. [I looked at using Amanda. I got it going but it requires a new tape for every backup. Bacula overcomes that limitation but at a price of very slow tape writing at the moment for me.]] -- Peter Crighton - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Travan tape - very slow
On 11/24/06, Peter Crighton [EMAIL PROTECTED] wrote: On Fri, 24 Nov 2006 22:42:30 +0100, you wrote: Hello, It generally helps to read the manual in cases like this. Here is a short except from the manual that should pretty much explain it: Hi, I did read that and yes I understand it says don't use 512 byte blocks, but that is the only way that I've managed to get it to work. Did you use a blank tape when you tested bacula for the first time? If not this is your problem. I do not believe the block size can be changed once there is data on the tape. you can fix this by rewinding the tape and writing an eof at the beginning of the tape using mt -f /dev/nst0 rewind mt -f /dev/nst0 weof then I believe bacula can use the tape and set the block size. John - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error with Bacula web
On Friday 24 November 2006 21:14, Guy Corbaz wrote: hello, I'm using bacula with postgres, which works fine. However, the web interface does not work. When running is, I received a page indicating: Fatal error: Call to undefined function: fetchrow() in /var/www/bacula-web/index.php on line 50 I'm using php4 under Ubuntu, and I installed php4-pgsql. Was any Backup-Job run so that the DB contains any information? If not, try running a job and try bweb again. Does anyone have an idea ? Thank you, Guy. Greetings, Benni -- Benjamin Zeller Ing.-Büro Hohmann Bahnhofstr. 34 D-82515 Wolfratshausen Tel.: +49 (0)8171 347 88 12 Mobil: +49 (0)160 99 11 55 23 Fax: +49 (0)8171 910 778 mailto: [EMAIL PROTECTED] www.ibh-wor.de pgpLruQTFMkSI.pgp Description: PGP signature - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users