Re: [Bacula-users] Feature Request: Allow schedule to override Next Pool.
Hello, 18.11.2009 10:06, Jim Barber wrote: Thanks Arno. Is this better? Looks quite good. I hope this one is accepted and implemented :-) Cheers, Arno 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 -- 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] after building bat, location of binary varies
On Wed, 18 Nov 2009 20:12:43 -0500, Dan Langille said: 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. Perhaps the port's Makefile can be changed to use Bacula's make install like bacula-bat.spec does for the rpms? That must be better than adding more hacks... __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] Upgrade to 3.0.3 Job is waiting for execution
Giuseppe De Nicolo' wrote: Giuseppe De Nicolo' wrote: Alan Brown wrote: On Tue, 17 Nov 2009, Giuseppe De Nicolo' wrote: Hi All, Since the upgrade to 3.0.3 our test server have this strange behavior , the first job after bacula start up runs fine all others get in line as job is waiting execution and nothing happens, restarting bacula reset job lists and again only the first job run fine. Have your concurrency settings been reset? Remember it needs to be checked in multiple places. Hi and thank you for your answer, actually you where right , I had ma concurrent jobs se to 1 into director configuration file, though I had it also in 3.0.1 and it worked like a charm thats why I overlooked the problem, has something changed since 3.0.1 ? and anyway even if I had a concurrency limit of 1 ( which I could like ) why are jobs then not firing up once the first one has completed ? Anyway I may consider my problem for such I thank you very much Sincerely Well evidently I was wrong my problem is not solved, it just change behavior, now subsequent jobs does not sit anymore in queue saying job is waiting execution but instead they claim to be running which in fact is not true, since backup devise is dismounted and nothing happens , pratically the system is on hang till I reboot the bacula service then only the firts job in line again does run others hangs the system and so on ... Any clue ?? Well in the end I solved this problem ... disintstalling bacula ... dropped the db recompiled the 3.0.3 then reinstalled ... I know would have been better to debug but I had no time Thank you for your support -- 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] Bacula plugin exchange 2003 backup
Hello all, I m finally configuring my test configuration to run exchange backup, I configured my fd like this after reading this http://www.bacula.org/3.0.x-manuals/en/concepts/concepts/New_Features.html#SECTION00320 to my unbderstanding I have to backup the stores using the plugin and not the file selction ( I would do like that also utilizing Windows backup ) I excluded VSS and db filesystem backup. FileSet { Name = Earendil Set Enable VSS = no Include { Options { signature = MD5 compression = GZIP9 IgnoreCase = yes } Plugin = exchange:/@EXCHANGE/Microsoft Information Store } Exclude { File = C:/Program Files/Exchsrvr/Archivio File = C:/Program Files/Exchsrvr/Dirigenza File = C:/Program Files/Exchsrvr/mdbdata File = C:/Program Files/Exchsrvr/Responsabili } } At the moment the backup is undergoing 20 gb and running so I assume everything is ok ( at least on backup ), I would then try to do a restore on the Recovery group I know how to do this in windows but it is not really clear in my mind how to do that using bconsole is there some documentation describing these steps ? Thank you all -- 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] Director connection failure -- FD and SD on same machine
Greetings, I am having an issue in that the director cannot communicate with a particular file daemon. The file daemon in question is running on the same machine as the storage daemon. If the file daemon is not running, the director has no problem with any other file daemons, but if the fd in question is running, the director can communicate with other clients only until a failed try with the problem fd. The included console output shows this anomaly. Notice that the estimate works fine for 2 different clients, then fails when trying to access the bad client, then can no longer access the previously good clients. Also possibly of note is the fact that the Fatal Error line shows that the director seems to be stuck on the bad fd (xxx.xxx.0.70:9102) after the original failure. Thanks for any suggestions. #estimate . Using Catalog MyCatalog Connecting to Client bacula-fd at xxx.xxx.0.71:9102 2000 OK estimate files=197593 bytes=20,445,781,245 #estimate . Using Catalog MyCatalog Connecting to Client MISD620-fd at xxx.xxx.61.7:9102 2000 OK estimate files=100996 bytes=40,012,706,471 #estimate . Using Catalog MyCatalog Connecting to Client remotefs-fd at xxx.xxx.0.70:9102 Failed to connect to Client. 19-Nov 15:24 bacula-dir JobId 0: Fatal error: File daemon at xxx.xxx.0.70:9102 rejected Hello command #estimate . Using Catalog MyCatalog Connecting to Client bacula-fd at xxx.xxx.0.71:9102 Failed to connect to Client. 19-Nov 15:25 bacula-dir JobId 0: Fatal error: Unable to authenticate with File daemon at xxx.xxx.0.70:9102. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the FD or FD networking messed up (restart daemon). Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors for help. #estimate . Using Catalog MyCatalog Connecting to Client MISD620-fd at xxx.xxx.61.7:9102 Failed to connect to Client. 19-Nov 15:25 bacula-dir JobId 0: Fatal error: Unable to authenticate with File daemon at xxx.xxx.0.70:9102. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the FD or FD networking messed up (restart daemon). Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors for help. # Paul E. Binkley Objective Interface Systems, Inc. 220 Spring St., Suite 530 Herndon, VA 20170 Tel: 703.295.6528 Fax: 703.296.6501 paul.bink...@ois.com http://www.ois.com *** This email contains information confidential and proprietary to Objective Interface Systems, Inc. and should not be disclosed to third parties without written permission from Objective Interface Systems, Inc. If this was delivered to someone other than the intended recipient by mistake please notify mailto:le...@ois.com le...@ois.com and remove any remaining copies of this email. *** -- 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] Does someone have bacula-fd for SunOS 5.8 ?
Hi, I've got an old Sun box that I'd like to integrate into our Bacula setup. oursunbox:/# uname -a SunOS oursunbox 5.8 Generic_108528-13 sun4u sparc SUNW,UltraAX-i2 Since this machine doesn't even have any C compiler installed, I'd like to know if someone with a similar OS and a bacula client installed on it could send the necessary files to me to have bacula-fd run. Thanks in advance -- Jérôme Alet - jerome.a...@univ-nc.nc - Centre de Ressources Informatiques Université de la Nouvelle-Calédonie - BPR4 - 98851 NOUMEA CEDEX Tél : +687 266754 Fax : +687 254829 -- 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] Help prunning oldest jobs
Hi every: I need to free some space in the HDD where I make backups. So I want to delete some oldest volumes. I run this: *status Status available for: 1: Director 2: Storage 3: Client 4: All Select daemon type for status (1-4): 3 Automatically selected Client: FD.10.128.50.4 Connecting to Client FD.10.128.50.4 at 10.128.50.4:9102 salvasprod_dc_hosting1-fd Version: 2.4.4 (28 December 2008) i486-pc-linux-gnu debian 5.0 Daemon started 03-Nov-09 09:10, 0 Jobs run since started. Heap: heap=135,168 smbytes=9,502 max_bytes=9,624 bufs=52 max_bufs=53 Sizeof: boffset_t=8 size_t=4 debug=0 trace=0 Running Jobs: Director connected at: 19-Nov-09 17:03 No Jobs running. Terminated Jobs: JobId LevelFiles Bytes Status FinishedName == 1755 Full 26,54537.86 M OK 06-Sep-09 02:10 SP_DC_Hosting1-FD 1857 Incr 11,32037.60 M OK 16-Sep-09 02:05 SP_DC_Hosting1-FD 1908 Incr7812.055 M OK 17-Sep-09 02:05 SP_DC_Hosting1-FD 2217 Incr 8,32821.84 M OK 23-Sep-09 03:23 SP_DC_Hosting1-FD 2321 Incr3923.323 M OK 25-Sep-09 02:04 SP_DC_Hosting1-FD 2630 Incr9002.499 M OK 01-Oct-09 03:23 SP_DC_Hosting1-FD 2685 Incr3112.885 M OK 02-Oct-09 03:30 SP_DC_Hosting1-FD 3201 Incr70827.98 M OK 12-Oct-09 03:40 SP_DC_Hosting1-FD 3254 Incr 1,7935.485 M OK 13-Oct-09 03:49 SP_DC_Hosting1-FD 3307 Incr5872.094 M OK 14-Oct-09 03:45 SP_DC_Hosting1-FD Now how I prune some of this jobs? Wich is the right command? Cheers and thanks in advance -- 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] Does someone have bacula-fd for SunOS 5.8 ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerome, Don't know what version you're looking for in particular. At least Bacula 2.2.8 is on Blastwave or OpenCSW. I should really figure out how to and then release a set of current ones. I'm sure it's not a difficult task. =R Jerome Alet wrote: Hi, I've got an old Sun box that I'd like to integrate into our Bacula setup. oursunbox:/# uname -a SunOS oursunbox 5.8 Generic_108528-13 sun4u sparc SUNW,UltraAX-i2 Since this machine doesn't even have any C compiler installed, I'd like to know if someone with a similar OS and a bacula client installed on it could send the necessary files to me to have bacula-fd run. Thanks in advance -- Jérôme Alet - jerome.a...@univ-nc.nc - Centre de Ressources Informatiques Université de la Nouvelle-Calédonie - BPR4 - 98851 NOUMEA CEDEX Tél : +687 266754 Fax : +687 254829 -- 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 - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$| |__| | | |__/ | \| _| |novos...@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksFw4sACgkQmb+gadEcsb7NlgCgvwlZNhHAAVRqurPmTfpI1ml1 R5UAoLm8O7vu2g6r35nY5Ko/GhuI7To3 =O1SE -END PGP SIGNATURE- attachment: novosirj.vcf-- 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] Does someone have bacula-fd for SunOS 5.8 ?
Hi, On Thu, Nov 19, 2009 at 05:15:39PM -0500, Ryan Novosielski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Don't know what version you're looking for in particular. Sorry I forgot this. I'm using 2.4.4 on the director, so I suppose any older release will do. At least Bacula 2.2.8 is on Blastwave or OpenCSW. I should really figure out how to and then release a set of current ones. I'm sure it's not a difficult task. My Sun/Solaris skills are a bit rusty nowadays, I didn't know where to search for this. I'll look into these websites ASAP. Thanks a lot for your help. -- Jérôme Alet - jerome.a...@univ-nc.nc - Centre de Ressources Informatiques Université de la Nouvelle-Calédonie - BPR4 - 98851 NOUMEA CEDEX Tél : +687 266754 Fax : +687 254829 -- 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 plugin exchange 2003 backup
Hello all, I m finally configuring my test configuration to run exchange backup, I configured my fd like this after reading this http://www.bacula.org/3.0.x- manuals/en/concepts/concepts/New_Features.html#SECTION003200 000 to my unbderstanding I have to backup the stores using the plugin and not the file selction ( I would do like that also utilizing Windows backup ) I excluded VSS and db filesystem backup. FileSet { Name = Earendil Set Enable VSS = no Include { Options { signature = MD5 compression = GZIP9 IgnoreCase = yes } Plugin = exchange:/@EXCHANGE/Microsoft Information Store } Exclude { File = C:/Program Files/Exchsrvr/Archivio File = C:/Program Files/Exchsrvr/Dirigenza File = C:/Program Files/Exchsrvr/mdbdata File = C:/Program Files/Exchsrvr/Responsabili } } Ideally, you need to make sure that the directories where the databases are stored are backed up, but the contents of the directories are not. In the event of a disaster recovery restore, Exchange will not restore if the directories do not exist. It is of course sufficient just to mkdir them before you do the restore. At the moment the backup is undergoing 20 gb and running so I assume everything is ok ( at least on backup ), I would then try to do a restore on the Recovery group I know how to do this in windows but it is not really clear in my mind how to do that using bconsole is there some documentation describing these steps ? When you create a recovery storage group for a specific database, any attempt to restore that database gets automatically diverted to the recovery storage group. As long as the database in the recovery storage group is set to 'can be overwritten by restore', and the real database is not, you shouldn't break anything. 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