From fa40f58a56a49b2c55ec7c0b5a77a0ec54226995 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 8 Oct 2005 12:18:53 +0000 Subject: [PATCH] - Add README plus tar release to gui project. - Manual documentation - Tweak bacula.man doc - Add PRAGMA synchronous = NORMAL; to SQLite3 tables. This speeds up SQLite3 so it is only about 10% slower than version 2.xx. Thanks to Russell Howe for this tip. - Add msvcr71.dll to pebuilder .inf file as it is needed by Bacula FD. Thanks to Brandon for passing this fix to Scott. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2427 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/examples/python/DirStartUp.py | 3 +++ bacula/kernstodo | 10 ++++------ bacula/kes-1.37 | 9 +++++++++ bacula/scripts/bacula.man | 8 ++++---- bacula/src/cats/make_sqlite3_tables.in | 1 + bacula/src/version.h | 4 ++-- bacula/src/win32/pebuilder/bacula/bacula.inf | 1 + 7 files changed, 24 insertions(+), 12 deletions(-) diff --git a/bacula/examples/python/DirStartUp.py b/bacula/examples/python/DirStartUp.py index b9d695fdd9..5433ad8b87 100644 --- a/bacula/examples/python/DirStartUp.py +++ b/bacula/examples/python/DirStartUp.py @@ -80,6 +80,7 @@ class JobEvents: self.job.write(text) # Open file to be backed up. file is the filename + # NOT YET IMPLEMENTED def open(self, file): print "Open %s called" % file self.fd = open('m.py', 'rb') @@ -88,6 +89,7 @@ class JobEvents: # Read file data into Bacula memory buffer (mem) # return length read. 0 => EOF, -1 => error + # NOT YET IMPLEMENTED def read(self, mem): print "Read called\n" len = self.fd.readinto(mem) @@ -95,5 +97,6 @@ class JobEvents: return len # Close file + # NOT YET IMPLEMENTED def close(self): self.fd.close() diff --git a/bacula/kernstodo b/bacula/kernstodo index 8ecfaa3ac1..8da1f16093 100644 --- a/bacula/kernstodo +++ b/bacula/kernstodo @@ -41,7 +41,6 @@ Final items for 1.37 before release: - --without-openssl breaks at least on Solaris. - Figure out how to package gui, and rescue programs. -- Test TLS. - Arno had to do -- to get update slots=x to work UPDATE Media SET InChanger=0,Slot=0 WHERE InChanger>0 AND Slot>0; (MySQL) @@ -53,18 +52,17 @@ Final items for 1.37 before release: Document: - Does ClientRunAfterJob fail the job on a bad return code? -- datadir for po files. -- AM_GNU_GETTEXT finds the library if you specify - --with-libintl-prefix - Document cleaning up the spool files: db, pid, state, bsr, mail, conmsg, spool - Document the multiple-drive-changer.txt script. - Pruning with Admin job. -- Restore of all files for a Job or set of jobs even if the file - records have been removed from the catalog. - Does WildFile match against full name? Doc. For 1.39: +- implement a mode that says when a hard read error is + encountered, read many times (as it currently does), and if the + block cannot be read, skip to the next block, and try again. If + that fails, skip to the next file and try again, ... - Add ACL to restore only to original location. - Add a recursive mark command (rmark) to restore. - "Minimum Job Interval = nnn" sets minimum interval between Jobs diff --git a/bacula/kes-1.37 b/bacula/kes-1.37 index c8873bd5ad..ff59da48c2 100644 --- a/bacula/kes-1.37 +++ b/bacula/kes-1.37 @@ -4,6 +4,15 @@ General: Changes to 1.37.41: +08Oct05 +- Add README plus tar release to gui project. +- Manual documentation +- Tweak bacula.man doc +- Add PRAGMA synchronous = NORMAL; to SQLite3 tables. This + speeds up SQLite3 so it is only about 10% slower than version + 2.xx. Thanks to Russell Howe for this tip. +- Add msvcr71.dll to pebuilder .inf file as it is needed by + Bacula FD. Thanks to Brandon for passing this fix to Scott. 05Oct05 - Add VolumePurged method to Python JobEvents class. Fixes bug #428 (I think). diff --git a/bacula/scripts/bacula.man b/bacula/scripts/bacula.man index 518470d250..f33aeca4d3 100644 --- a/bacula/scripts/bacula.man +++ b/bacula/scripts/bacula.man @@ -46,8 +46,8 @@ administrator or user to communicate with the Bacula Director versions. The first and simplest is to run the Console program in a shell window (i.e. TTY interface). Most system administrators will find this completely adequate. The second -version is a GNOME GUI interface that for the moment (23 November -2003) is far from complete, but quite functional as it has most +version is a GNOME GUI interface that for the moment (07 October +2005) is far from complete, but quite functional as it has most the capabilities of the shell Console. The third version is a wxWidgets GUI with an interactive file restore. It also has most of the capabilities of the shell console, allows command @@ -68,8 +68,8 @@ in some of the documentation, the File daemon is referred to as the Client (for example in Bacula's configuration file). In addition to Unix/Linux File daemons, there is a Windows File daemon (normally distributed in binary format). The Windows File -daemon runs on all currently known Windows versions (95, 98, Me, -NT, 2000, XP). +daemon runs on all currently known Windows versions (98, Me, +NT, 2K, 2003, XP). .LP Bacula Storage services consist of the software programs that diff --git a/bacula/src/cats/make_sqlite3_tables.in b/bacula/src/cats/make_sqlite3_tables.in index 25afc6b7f2..6f54ff397e 100644 --- a/bacula/src/cats/make_sqlite3_tables.in +++ b/bacula/src/cats/make_sqlite3_tables.in @@ -313,6 +313,7 @@ INSERT INTO Version (VersionId) VALUES (9); PRAGMA default_synchronous = OFF; PRAGMA default_cache_size = 10000; +PRAGMA synchronous = NORMAL; END-OF-DATA diff --git a/bacula/src/version.h b/bacula/src/version.h index 509f0c684e..5b54e5a374 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -4,8 +4,8 @@ #undef VERSION #define VERSION "1.37.41" -#define BDATE "05 October 2005" -#define LSMDATE "05Oct05" +#define BDATE "08 October 2005" +#define LSMDATE "08Oct05" /* Debug flags */ #undef DEBUG diff --git a/bacula/src/win32/pebuilder/bacula/bacula.inf b/bacula/src/win32/pebuilder/bacula/bacula.inf index 0bf8ab249a..46706ec632 100644 --- a/bacula/src/win32/pebuilder/bacula/bacula.inf +++ b/bacula/src/win32/pebuilder/bacula/bacula.inf @@ -31,6 +31,7 @@ files\pthreadVCE.dll=a,,1 files\msvcr71.dll=a,,1 files\wx-console.exe=a,,1 files\wx-console.conf=a,,1 +files\msvcr71.dll=a,,1 [Append] nu2menu.xml, bacula_nu2menu.xml -- 2.39.5