Re: [Bacula-users] PATCH: Allow Copy Jobs to work within one tape library.
Hello, 18.11.2009 06:52, Jim Barber wrote: Hi. A while ago I tried to set up a backup strategy where I defined three pools. An incremental pool; a full backup pool; and a copy pool. The idea was to run incremental backups forever (except for the first one that would be promoted to a full). Then at the end each week consolidate the incremental backups into a full backup using a VirtualFull job. Then take a copy of the full backup for off-site storage. When using a tape library, I could achieve incremental and virtual full backups okay. But I could not run the Copy job because it refused to run, complaining that the read storage is the same as the write storage. I looked at the code for migrate.c and compared it to vbackup.c since both have similar concepts. I wanted to see why the virtual backup works and the copy won't. I found identical code in both, except in the vbackup.c the particular check that fails for migrate.c has been wrapped in #ifdef to remove it. Also a FIXME comment is there saying that instead it should just verify that the pools are different. Below is a patch to migrate.c to do the same thing as vbackup.c does. Is this a feasible patch? Looks like it - if you tested it, and it works correctly. Don't forget to test with only one drive available, in that case the job should fail with a reasonable error message... and it might be better to patch against the most current git version. Would there be any chance of this working its way into the official Bacula source? Or will it cause problems? I suppose so. You should present the patch (which is *really* simply) to bacula-devel, so the regular developers can think about it. Actually, given the comments and the #ifdef situation, I assume the idea was considered, tested, and then disabled for good reasons, but with some discussion, and even a regression test (hint :-) Kern et al might reconsider it. I guess there might be some more work needed, but that's a discussion for -devel. Cheers, Arno --- bacula-3.0.3.orig/src/dird/migrate.c +++ bacula-3.0.3/src/dird/migrate.c @@ -350,11 +350,14 @@ Dmsg2(dbglevel, Read store=%s, write store=%s\n, ((STORE *)jcr-rstorage-first())-name(), ((STORE *)jcr-wstorage-first())-name()); + /* ***FIXME*** we really should simply verify that the pools are different */ +#ifdef xxx if (((STORE *)jcr-rstorage-first())-name() == ((STORE *)jcr-wstorage-first())-name()) { Jmsg(jcr, M_FATAL, 0, _(Read storage \%s\ same as write storage.\n), ((STORE *)jcr-rstorage-first())-name()); return false; } +#endif if (!start_storage_daemon_job(jcr, jcr-rstorage, jcr-wstorage, /*send_bsr*/true)) { return false; } At the moment I have a really badly hacked up configuration to try and achieve what I want by using each drive in the library independently. It is complicated and messy with lots of work arounds for various scenarios. If the above patch is okay then things become much simpler. Regards, -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Feature Request: Allow schedule to override Next Pool.
Hello, 18.11.2009 07:32, Jim Barber wrote: Hi. When defining backup strategies, I've wanted to be able to define the 'Next Pool' in the Schedule to override the value defined against a pool. An interesting and valuable feature request. Can you reformat it to the shape found at http://www.bacula.org/en/?page=feature-request and re-submit it then? Kern will probably not even read through it in this form, and definitely not reformat it himself for inclusion into the feature request list. Cheers, Arno An example of one usage of such a feature follows: I have an incremental pool that each week gets consolidated into a full pool via a VirtualFull job. The 'Next Pool' directive of the incremental pool defines the location of the full pool. The following week, the next VirtualFull backup will run. It will read the previous full backups and incremental backups since then, to create new full backups. It is important that the VirtualFull backup does not try to write to the same tape that the previous weeks full backup wrote to and left in Append status. Otherwise you could end up with the one tape trying to be read and written and dead-lock. At the moment I have a hack to get around this. An admin job calls an external command that runs a SQL update to find any tapes in the full pool with an APPEND status and change it to USED. This runs after the full backups have been done. Instead I'd like to create two full pools. One for even weeks and one for odd weeks of the year. That way, even week virtual full backups could consolidate odd week virtual full backups with the latest incremental backups. And the odd week virtual full backups could consolidate the even week full backups with the latest incremental backups. The trouble is that the Incremental pool can only define one Next Pool. I can't have it toggle the Next Pool directive from odd to even, week to week. Unless I could override it from the schedule. Doing that would mean I could ditch my SQL hack to manipulate the tape status. It will also be less wasteful of tapes, since I won't have partially filled USED tapes throughout my library. Regards, -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] virtuafull and verify
On Fri, Nov 13, 2009 at 09:02:11AM +0100, Fahrer, Julian wrote: Hey guys, I am currently trying to implement verify jobs at a customer's site. At that site I am running fulls and incrementals to disk and virtual fulls to tape. I want to verify that the data on tape is ok. So tried a verify job after the virtual full has finished. But instead of using the virtual full (which is the last backup for that job) the last backup to disk is choosen. Here is an Example: 13-Nov 08:23 backup01_dir JobId 3039: Verifying against JobId=3017 Job=server2_KHK.2009-11-12_21.00.00_06 13-Nov 08:23 backup01_dir JobId 3039: Bootstrap records written to /var/bacula/working/backup01_dir.restore.1.bsr 13-Nov 08:23 backup01_dir JobId 3039: Start Verify JobId=3039 Level=VolumeToCatalog Job=server2_KHK_verify.2009-11-13_08.23.43_03 13-Nov 08:23 backup01_dir JobId 3039: Using Device LTO2 13-Nov 08:23 backup01_sd JobId 3039: acquire.c:116 Changing read device. Want Media Type=File have=LTO2 device=LTO2 (/dev/nst0) 13-Nov 08:23 backup01_sd JobId 3039: Media Type change. New read device FileStorage_data2 (/data2/b2d_2) chosen. 13-Nov 08:23 backup01_sd JobId 3039: Ready to read from volume KHK_0030 on device FileStorage_data2 (/data2/b2d_2). Also there is another Job: | 3,017 | server2_KHK | 2009-11-12 21:00:01 | B| F | 19,243 | 14,399,178,034 | T | | 3,033 | server2_KHK | 2009-11-12 21:00:01 | B| F | 19,243 | 14,402,307,154 | T | Jobid 3033 is the Virtual Full. Can the same value in the date column cause this problem? Let me know if you need any parts of the config. This looks to me like the same problem that I was complaining about in the thread starting here: http://www.mail-archive.com/bacula-de...@lists.sourceforge.net/msg05013.html Basically, bacula fuzzily selects things based on date, rather than specific JobIds. :( I've just sent a new message to the bacula-devel list, which includes your message above. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Feature Request: Allow schedule to override Next Pool.
Thanks Arno. Is this better? If so I'll clean out all other text except the feature request and submit it to bacula-devel -- Item ?: Allow Schedule Resource to override 'Next Pool' Date: 18 November 2009 Origin: Jim Barber. jim.bar...@ddihealth.com Status: New request What: Allow the Schedule resource to define a NextPool= statement to override the NextPool statement of the pool defined in the job. Why:I have an incremental pool that each week gets consolidated into a full pool via a VirtualFull job. The 'Next Pool' directive of the incremental pool defines the location of the full pool. The following week, the next VirtualFull backup will run. It will read the previous full backups and incremental backups since then, to create new full backups. It is important that the VirtualFull backup does not try to write to the same tape that the previous weeks full backup wrote to and left in Append status. Otherwise you could end up with the one tape trying to be read and written and dead-lock. At the moment I have a hack to get around this. An Admin job calls an external command that runs a SQL update to find any tapes in the full pool with an APPEND status and change it to USED. This runs after the full backups have been done. Instead I'd like to create two full pools. One for even weeks and one for odd weeks of the year. That way, even week virtual full backups could consolidate odd week virtual full backups with the latest incremental backups. And the odd week virtual full backups could consolidate the even week full backups with the latest incremental backups. The trouble is that the Incremental pool can only define one Next Pool. I can't have it toggle the Next Pool directive from odd to even, week to week. Unless I could override it from the schedule. Doing that would mean I could ditch my SQL hack to manipulate the tape status. It will also be less wasteful of tapes, since I won't have partially filled USED tapes throughout my library. There are possibly many uses for such an override that I haven't thought about. Regards, -- Jim Barber DDI Health -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] PATCH: Allow Copy Jobs to work within one tape library.
Arno Lehmann wrote: Below is a patch to migrate.c to do the same thing as vbackup.c does. Is this a feasible patch? Looks like it - if you tested it, and it works correctly. Don't forget to test with only one drive available, in that case the job should fail with a reasonable error message... and it might be better to patch against the most current git version. Thanks Arno. At the moment I am using Debian packages. If I can get the Debian patches to apply okay to the git version of Bacula I can give it a try. Failing that though I might have to stick with my 3.0.3 which is a download from the Bacula site with the Debian patches applied. Assuming I can't get the git version to compile as a Debian package, I could test my version with various scenarios. Then download the git source and look at migrate.c, make my changes and generate the patch from that. If it works in 3.0.3 then I guess it is likely to work in the git version as well... I'll test various scenarios over the next week or two as I get time and if all works for me I'll re-submit to bacula-devel with my findings. Thanks. -- Jim Barber DDI Health -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] virtuafull and verify
Hey, yes it seems tob e the same problem. The sql statement in the sub db_find_last_jobid is: SELECT JobId FROM Job WHERE Type='B' AND JobStatus IN ('T','W') AND Name='%s' ORDER BY StartTime DESC LIMIT 1, Name); I think changing it to something like SELECT JobId FROM Job WHERE Type='B' AND JobStatus IN ('T','W') AND Name='%s' ORDER BY StartTime DESC, JobId DESC LIMIT 1, Name); would fix the problem for me right now. But I am not sure what problems would occure then... Thanks for submitting my mail to the devil list Kind Regards Julian -Ursprüngliche Nachricht- Von: Graham Keeling [mailto:gra...@equiinet.com] Gesendet: Mittwoch, 18. November 2009 10:10 An: bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] virtuafull and verify On Fri, Nov 13, 2009 at 09:02:11AM +0100, Fahrer, Julian wrote: Hey guys, I am currently trying to implement verify jobs at a customer's site. At that site I am running fulls and incrementals to disk and virtual fulls to tape. I want to verify that the data on tape is ok. So tried a verify job after the virtual full has finished. But instead of using the virtual full (which is the last backup for that job) the last backup to disk is choosen. Here is an Example: 13-Nov 08:23 backup01_dir JobId 3039: Verifying against JobId=3017 Job=server2_KHK.2009-11-12_21.00.00_06 13-Nov 08:23 backup01_dir JobId 3039: Bootstrap records written to /var/bacula/working/backup01_dir.restore.1.bsr 13-Nov 08:23 backup01_dir JobId 3039: Start Verify JobId=3039 Level=VolumeToCatalog Job=server2_KHK_verify.2009-11-13_08.23.43_03 13-Nov 08:23 backup01_dir JobId 3039: Using Device LTO2 13-Nov 08:23 backup01_sd JobId 3039: acquire.c:116 Changing read device. Want Media Type=File have=LTO2 device=LTO2 (/dev/nst0) 13-Nov 08:23 backup01_sd JobId 3039: Media Type change. New read device FileStorage_data2 (/data2/b2d_2) chosen. 13-Nov 08:23 backup01_sd JobId 3039: Ready to read from volume KHK_0030 on device FileStorage_data2 (/data2/b2d_2). Also there is another Job: | 3,017 | server2_KHK | 2009-11-12 21:00:01 | B| F | 19,243 | 14,399,178,034 | T | | 3,033 | server2_KHK | 2009-11-12 21:00:01 | B| F | 19,243 | 14,402,307,154 | T | Jobid 3033 is the Virtual Full. Can the same value in the date column cause this problem? Let me know if you need any parts of the config. This looks to me like the same problem that I was complaining about in the thread starting here: http://www.mail-archive.com/bacula-de...@lists.sourceforge.net/msg05013.html Basically, bacula fuzzily selects things based on date, rather than specific JobIds. :( I've just sent a new message to the bacula-devel list, which includes your message above. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] virtuafull and verify
On Wed, Nov 18, 2009 at 11:29:38AM +0100, Fahrer, Julian wrote: Hey, yes it seems tob e the same problem. The sql statement in the sub db_find_last_jobid is: SELECT JobId FROM Job WHERE Type='B' AND JobStatus IN ('T','W') AND Name='%s' ORDER BY StartTime DESC LIMIT 1, Name); I think changing it to something like SELECT JobId FROM Job WHERE Type='B' AND JobStatus IN ('T','W') AND Name='%s' ORDER BY StartTime DESC, JobId DESC LIMIT 1, Name); would fix the problem for me right now. But I am not sure what problems would occure then... The obvious problem is that you wouldn't be able to verify the original job. :) Thanks for submitting my mail to the devil list -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] virtuafull and verify
What would be ok, since the idea behind the verify job is to verify the last job... Running a verify before the virtualfull would check the original job. I just compiled it with the sql statement below. The verify just selected the right jobid... -Ursprüngliche Nachricht- Von: Graham Keeling [mailto:gra...@equiinet.com] Gesendet: Mittwoch, 18. November 2009 11:42 An: bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] virtuafull and verify On Wed, Nov 18, 2009 at 11:29:38AM +0100, Fahrer, Julian wrote: Hey, yes it seems tob e the same problem. The sql statement in the sub db_find_last_jobid is: SELECT JobId FROM Job WHERE Type='B' AND JobStatus IN ('T','W') AND Name='%s' ORDER BY StartTime DESC LIMIT 1, Name); I think changing it to something like SELECT JobId FROM Job WHERE Type='B' AND JobStatus IN ('T','W') AND Name='%s' ORDER BY StartTime DESC, JobId DESC LIMIT 1, Name); would fix the problem for me right now. But I am not sure what problems would occure then... The obvious problem is that you wouldn't be able to verify the original job. :) Thanks for submitting my mail to the devil list -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error with DR backups
Martin Simmons wrote: On Mon, 16 Nov 2009 09:29:07 -0500, DAve said: 16-Nov 08:25 director-dir: Allied-ex3.2009-11-16_01.00.02 Warning: Error updating job record. sql_update.c:194 Update problem: affected_rows=0 16-Nov 08:25 director-dir: Allied-ex3.2009-11-16_01.00.02 Warning: Error getting job record for stats: sql_get.c:293 No Job found for JobId 20947 I am at a loss to understand why. The volumes can be pruned almost immediately as the backup is only for DR purposes and each volume will be recycled each night. The only problem I see is that the client is paying for 60GB and the backups have begun using more than that amount, so volumes are being reused within the current backup. That seems a very likely reason, especially if you have set Purge Oldest Volume = yes. When Bacula purges a volume, it removes whole jobs, not just the info for that volume. __Martin Added ten more volumes to the pool. Two days complete, no errors... DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.org -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problema with Bscan in Bacula Bersion 3
Dear friends, I try import volume to catalog and show me a error in query, see below: backup:/mnt/bacula/bacula/pc91# /etc/bacula3/bin/bscan -s -m -n bacula -u bacula -P cine798 -c bacula-sd.conf -v -V Vol-pc91-full-dados0035 pc91-dev bscan: butil.c:282 Using device: pc91-dev for reading. 18-Nov 10:03 bscan JobId 0: Ready to read from volume Vol-pc91-full-dados0035 on device pc91-dev (/mnt/bacula/bacula/pc91). bscan: bscan.c:309 Using Database: bacula, User: bacula bscan: bscan.c:451 Pool record for pc91-full-dados found in DB. bscan: bscan.c:465 Pool type Backup is OK. bscan: bscan.c:475 Media record for Vol-pc91-full-dados0035 found in DB. bscan: bscan.c:493 Media type pc91-dev is OK. bscan: bscan.c:503 VOL_LABEL: OK for Volume: Vol-pc91-full-dados0035 bscan: bscan.c:521 SOS_LABEL: Found Job record for JobId: 33 bscan: bscan.c:1037 Fileset pc91-dados already exists. bscan: bscan.c:1152 Could not update JobId=1429 record. ERR=sql_update.c:196 Update failed: affected_rows=0 for UPDATE Job SET JobStatus='f',EndTime='2009-11-05 16:38:20',ClientId=2,JobBytes=24454341747,ReadBytes=0,JobFiles=19267,JobErrors=0,VolSessionId=107,VolSessionTime=1255442472,PoolId=10,FileSetId=8,JobTDate=1257446300,RealEndTime='2009-11-05 16:38:20',PriorJobId=0 WHERE JobId=1429 bscan: bscan.c:1250 Created JobMedia record JobId 1429, MediaId 31 18-Nov 10:08 bscan JobId 0: End of Volume at file 5 on device pc91-dev (/mnt/bacula/bacula/pc91), Volume Vol-pc91-full-dados0035 bscan: bscan.c:338-1429 == JobId=0 bscan: bscan.c:970 Updated Media record at end of Volume: Vol-pc91-full-dados0035 18-Nov 10:08 bscan JobId 0: End of all volumes. bscan: bscan.c:970 Updated Media record at end of Volume: Vol-pc91-full-dados0035 bscan: bscan.c:638 End of all Volumes. VolFiles=5 VolBlocks=0 VolBytes=24,459,634,488 Records added or updated in the catalog: 1 Media 1 Pool 1 Job 19267 File The problem is that volume is not imported, any idea ? Thanks Mauricio -- ** Mauricio Bertholino mauri...@bertholino.com.br Fone: 11-7616-0777 ** -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] introducción a bacula / introduct ion to bacula
== Hola Maestros En este enlace http://vimeo.com/7648923 Hay una pequeña introducción a una de las presentaciones que hice de bacula hace poco (en el Encuentro Linux 2009). en la siguiente semana, pienso que ya tendré listo la siguiente parte (la parte formal de la presentación). (Nota.: Perdón por los errores de ortografía y pronunciación) salu2 y atento a comentarios == Hello Masters in this link http://vimeo.com/7649344 I have a small introduction to presentation about bacula (shown on Encuentro Linux 2009) On next week, I think that I'll have the next part of bacula's presentation (the part more formal of presentation) (Nota.: Sorry for the errors of translate) bye == -- -- Victor Hugo dos Santos Linux Counter #224399 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Comments about HP Ultrium Drive on Bacula
Hello people! We're thinking about buy a LTO Ultrium HP external drive. To me more specific, this one: http://h71016.www7.hp.com/dstore/MiddleFrame.asp?page=configProductLineId=450FamilyId=1249BaseId=23116oi=E9CEDBEID=19701SBLID= Is there any person on this list, who have experience with this drive on bacula? It works well? Thank you! -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula 3.0 RPMs for SuSE?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2009-11-04 11:16 schrieb Kevin M. Keane: I am currently using version 2.4.2 on OpenSUSE 11.1 (x86_64), and would like to upgrade to 3.0, but I don’t want to recompile from source. OpenSUSE 11.1 still only includes bacula 2.4. Are there any 3.0 RPMs? The OpenSUSE build service usually has newer RPMs, but even there I only found the bacula 3.0 client but no binary RPMs for the server. Distributions tend to be slow on 3rd party applications, so if you want the latest releases, go to the applications' own repositories. Indeed, you can find openSUSE RPMs for Bacula 3 on the Sourceforge download page, which can be reached from the Bacula homepage via the Downloads - All Files link. Look for the rpms-contrib-psheaffer section. For some reason, they haven't appeared on the Current Files page yet, but I'm sure they will, eventually. HTH T. - -- Tilman Schmidt Abteilungsleiter Technik - Phoenix Software GmbH Tel. +49 228 97199 0 Adolf-Hombitzer-Str. 12Fax +49 228 97199 99 53227 Bonn, Germany www.phoenixsoftware.de Geschäftsführer: W. Grießl Amtsgericht Bonn HRB 2934 - -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLBCQh780oymN0g8MRAjNeAKDt/TaRhgMmL/PRbNj3+EEW69MM/QCguA+w ISTsJ3fT3LD1SpzABmfokUM= =zB/7 -END PGP SIGNATURE- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Comments about HP Ultrium Drive on Bacula
Eduardo Sieber wrote: Hello people! We're thinking about buy a LTO Ultrium HP external drive. To me more specific, this one: http://h71016.www7.hp.com/dstore/MiddleFrame.asp?page=configProductLineId=450FamilyId=1249BaseId=23116oi=E9CEDBEID=19701SBLID= Is there any person on this list, who have experience with this drive on bacula? It works well? I would be very surprised if it didn't work. I have two LTO4 drives sitting on Fibre Channel in a tape-library, but except from the changer-device and another connnection interface everything is excactly the same to Linux/Bacula. -- Jesper -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bit to bit
Hi buddies I have a doubt. A new client ask me if bacula do backup bit to bit or not... I don't know what exactly this mean, but whatever: bacula do this or not?? Thanks Regards Gilberto Nunes -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Comments about HP Ultrium Drive on Bacula
We're thinking about buy a LTO Ultrium HP external drive. FWIW, I have had very bad luck w/ HP branded LTO's, for several years they had low MTBF and not last long for me... -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Comments about HP Ultrium Drive on Bacula
On Wed, 18 Nov 2009, Joseph L. Casale wrote: We're thinking about buy a LTO Ultrium HP external drive. FWIW, I have had very bad luck w/ HP branded LTO's, for several years they had low MTBF and not last long for me... Ditto on HP drives. HP LTO tapes seem to be pretty reliable. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula 3.0 RPMs for SuSE?
Tilman Schmidt wrote: Am 2009-11-04 11:16 schrieb Kevin M. Keane: I am currently using version 2.4.2 on OpenSUSE 11.1 (x86_64), and would like to upgrade to 3.0, but I dont want to recompile from source. OpenSUSE 11.1 still only includes bacula 2.4. Are there any 3.0 RPMs? The OpenSUSE build service usually has newer RPMs, but even there I only found the bacula 3.0 client but no binary RPMs for the server. Distributions tend to be slow on 3rd party applications, so if you want the latest releases, go to the applications' own repositories. Indeed, you can find openSUSE RPMs for Bacula 3 on the Sourceforge download page, which can be reached from the Bacula homepage via the Downloads - All Files link. Look for the rpms-contrib-psheaffer section. For some reason, they haven't appeared on the Current Files page yet, but I'm sure they will, eventually. HTH T. All 3.0.3 rpm are also visible in the rpm tab subsection. -- Bruno Friedmann -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Comments about HP Ultrium Drive on Bacula
Joseph L. Casale wrote: We're thinking about buy a LTO Ultrium HP external drive. FWIW, I have had very bad luck w/ HP branded LTO's, for several years they had low MTBF and not last long for me... What do you use insted.. our former Quantum changer was equipped with HP tape-drives, ditto is our current StorageTec SL500. From my limited view HP is inside everything.. -- Jesper -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] MTEOM Erros
The following is a message sent to the group on Wed, 26 Sep 2007 (I'm getting this via the web since this was sent before I joined the list, and started keeping my own copies of everything): Kern, I think I have found the cause of the MTEOM errors that I have been experiencing from time to time. These MTEOM errors are not caused by Bacula. In the past few months, I have rebooted my Quantum PX502 library a few times (once every two months or so) while a tape was mounted in the drive. This caused the HP (LTO-3 nFC) tape drive in the library to write an MTEOM marker to the mounted tape, which made it impossible for Bacula to write beyond that point (although reading was possible). Basically, Quantum told me to unmount the tape before I ever powercycle/reboot the library again. The tapes can be recovered by backing them up and reformatting them (to get rid of the MTEOM marker). Basically, my tapes that I thought were bad are actually recoverable. I was wondering how I format the tape. Was using mt -f /dev/nst0 erase supposed to be used? There was a reply to this from Kern mentioning that this would be added to the manual as a potential gotcha, but I have searched through them, and not found anything. Can anyone shed the missing piece of information? Thanks, Craig -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] after building bat, location of binary varies
On Tue, 17 Nov 2009 22:45:51 -0500, Dan Langille said: Martin Simmons wrote: On Mon, 16 Nov 2009 22:32:56 -0500, Dan Langille said: Martin Simmons wrote: On Sun, 15 Nov 2009 23:45:43 -0500, Dan Langille said: Folks, I am finding that the location of the executable binary varies from one system to another. I am trying to find out why. The answer will help to improve the build and install process. Sometimes the binary is at: src/qt-console/bat If not there, it is at: src/qt-console/.libs/bat Within a given system, the location is always consistent. It is one of the above. Why the location varies, I do not know. The .libs directory is the default location when building with libtool (for Bacula shared libraries). This is interesting. Please, can you elaborate? The libtool utility is a wrapper around compiling/linking/install to deal with portability for shared library naming. In the build tree, it puts all shared libraries and executables into subdirectories which are called .libs by default. It also creates a shell script for each executable, which sets LD_LIBRARY_PATH appropriately to make it work in the build tree. Note that this is only in the build tree. During make install, it installs the real libraries and binaries. My guess is that that some are not being linked with shared libraries for some reason, so Bacula is not using libtool and the real executable is built in src/qt-console/bat. It isn't clear to me why the location of the binaries matters, unless the Makefile is broken. It matters because building the FreeBSD port/packages needs to know where the binary is. Without knowing, you can't install it or build it into a package. OK, but I don't understand why. Normally, a port's Makefile (or bsd.port.mk) installs the software by running make install with the software's Makefile. The installed location should never have a .libs directory (it should only exist in the build tree). If the installed location has a .libs directory, then the software's Makefile is broken. It then builds the package from the installed files, so again there should be no .libs directory. __Martin -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Comments about HP Ultrium Drive on Bacula
Hello people! We're thinking about buy a LTO Ultrium HP external drive. To me more specific, this one: http://h71016.www7.hp.com/dstore/MiddleFrame.asp?page=configProductLine Id=450 FamilyId=1249BaseId=23116oi=E9CEDBEID=19701SBLID= that link appears to be broken for me - I just get: error '80020009' /dstore/include/CHARset_inc.asp, line 190 Is there any person on this list, who have experience with this drive on bacula? It works well? We, and many of our clients, use HP LTO drives, from LTO1 to LTO3. Mostly with Backup Exec, but a few using Bacula. In some dirty environments they do seem to have a slightly higher failure rate than I would like, but when they are used in a clean environment according to their specifications they work well. James -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Newbie issue with AIT-3 (SDX700C)
I'm new to Bacula coming from and OLD version of Legato. I'm going to be using an ADIC Scalar 100 w/4 SDX700C AIT-3 drives and all AIT-3 media to backup several TB of data. I have poked around and do see others using this drive type. I'm interested to see what settings others use I got bacula and mtx installed and can drive the robot without issue. I loaded slot 9 into drive 0 (rmt0 in my config below) and began the Testing Your Tape Drive section. I performed the tar operation against about 2GB of data with no issues or errors so I defined the robot and tapes in the bacula-sd.conf file (below) but receive this output. I did play with a few settings (Block Positioning, Min/Max block) but it didn't seem to help: r...@johnson:/opt/bacula/sbin# ./btape -c bacula-sd.conf /dev/rmt/0cbn Tape block granularity is 1024 bytes. btape: butil.c:285 Using device: /dev/rmt/0cbn for writing. 18-Nov 17:48 btape JobId 0: 3301 Issuing autochanger loaded? drive 0 command. 18-Nov 17:48 btape JobId 0: 3302 Autochanger loaded? drive 0, result is Slot 9. btape: btape.c:383 open device rmt0 (/dev/rmt/0cbn): OK *test === Write, rewind, and re-read test === I'm going to write 1000 records and an EOF then write 1000 records and an EOF, then rewind, and re-read the data to verify that it is correct. This is an *essential* feature ... btape: btape.c:841 Wrote 1000 blocks of 64412 bytes. btape: btape.c:515 Wrote 1 EOF to rmt0 (/dev/rmt/0cbn) btape: btape.c:857 Wrote 1000 blocks of 64412 bytes. btape: btape.c:515 Wrote 1 EOF to rmt0 (/dev/rmt/0cbn) btape: btape.c:866 Rewind OK. 1000 blocks re-read correctly. 18-Nov 17:50 btape JobId 0: Error: block.c:1106 Volume data error at 0:1000! Short block of 2048 bytes on device rmt0 (/dev/rmt/0cbn) discarded. btape: btape.c:878 Read block 1001 failed! ERR=I/O error * Right now I have the configuration below (I have only included the 1st device since that's what I'm trying to test, tapes 2,3,4 are duplicates with appropriate changes). I removed the settings recommended in testing because they didn't fix anything. # ADIC Scalar 100 Autochanger { Name = ADIC-Scalar-100 Device = rmt0 Device = rmt1 Device = rmt2 Device = rmt3 Changer Command = /opt/bacula/etc/mtx-changer %c %o %S %a %d Changer Device = /dev/scsi/changer/c0t2d0 } Device { Name = rmt0 Archive Device = /dev/rmt/0cbn Device Type = Tape; Media Type = AIT-3 AutoChanger = yes; Changer Device = /dev/scsi/changer/c0t2d0 Changer Command = /opt/bacula/etc/mtx-changer %c %o %S %a %d Alert Command = sh -c '/opt/bacula/sbin/tapeinfo -f %c |grep TapeAlert|cat' Drive Index = 0 AlwaysOpen = yes; AutomaticMount = yes; RemovableMedia = yes; RandomAccess = no; } -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] after building bat, location of binary varies
Martin Simmons wrote: On Tue, 17 Nov 2009 22:45:51 -0500, Dan Langille said: Martin Simmons wrote: On Mon, 16 Nov 2009 22:32:56 -0500, Dan Langille said: Martin Simmons wrote: On Sun, 15 Nov 2009 23:45:43 -0500, Dan Langille said: Folks, I am finding that the location of the executable binary varies from one system to another. I am trying to find out why. The answer will help to improve the build and install process. Sometimes the binary is at: src/qt-console/bat If not there, it is at: src/qt-console/.libs/bat Within a given system, the location is always consistent. It is one of the above. Why the location varies, I do not know. The .libs directory is the default location when building with libtool (for Bacula shared libraries). This is interesting. Please, can you elaborate? The libtool utility is a wrapper around compiling/linking/install to deal with portability for shared library naming. In the build tree, it puts all shared libraries and executables into subdirectories which are called .libs by default. It also creates a shell script for each executable, which sets LD_LIBRARY_PATH appropriately to make it work in the build tree. Note that this is only in the build tree. During make install, it installs the real libraries and binaries. My guess is that that some are not being linked with shared libraries for some reason, so Bacula is not using libtool and the real executable is built in src/qt-console/bat. It isn't clear to me why the location of the binaries matters, unless the Makefile is broken. It matters because building the FreeBSD port/packages needs to know where the binary is. Without knowing, you can't install it or build it into a package. OK, but I don't understand why. Normally, a port's Makefile (or bsd.port.mk) installs the software by running make install with the software's Makefile. The installed location should never have a .libs directory (it should only exist in the build tree). If the installed location has a .libs directory, then the software's Makefile is broken. Yes, that is the normal situation. However, for sysutils/bacula-bat, the bat file is installed by the port's Makefile. I do not know why. That's how it's done. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bit to bit
Gilberto Nunes wrote: Hi buddies I have a doubt. A new client ask me if bacula do backup bit to bit or not... I don't know what exactly this mean, but whatever: bacula do this or not?? Thanks Hi. Perhaps they were asking if Bacula can back up at the device level? The documentation for the FileSet Resource states that if you explicitly specify a block device such as /dev/hda1 in a FileSet then Bacula as of version 1.28 will assume it is a raw partition to be backed up. It also recommends that if you use this, that you specify sparse=yes as well to only store the data in the partition, rather than the whole partition byte for byte. Example from the manual: Include { Options { signature=MD5; sparse=yes } File = /dev/hd6 } Regards, -- Jim Barber DDI Health -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Comments about HP Ultrium Drive on Bacula
What do you use insted.. our former Quantum changer was equipped with HP tape-drives, ditto is our current StorageTec SL500. From my limited view HP is inside everything.. After the last library tanked, I migrated to Bacula and disked based backups to 3 different servers, 2 of which are remote. Sorry... -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users