- Start implementing Christopher's St.Bernard code.
- Add Christopher's mods for opening files.
- Strip \r \n from Win32 error messages (Christopher)
- Add more info about Win32 system if unknown (Christopher)
- Use bstrn(cpy, cat) routines to avoid overrun in compat.cpp
- Fix a number of incorrect strings marked for translation, when
they should not be (e.g. commands).
- Fix StartTime bug reported for ClientRunBeforeJob and RunBeforeJob
Patches supplied by user in bugs #608 and #599.
- Use most recent of st_ctime and st_mtime in restore tree DIR
listing. This fixes some problems with Win32 printing incorrect
values.
- Correct the clock shift comm time calculation between the DIR
and the FD. It was added rather than subtracted.
- Strip all backslashes in filenames to be restored on Win32
machines -- the names should all be in Unix format, and if
there are any backslashes it is most likely due to an improper
FileSet definition, and the files will not otherwise be
restorable.
- Remove lib/regex.c (replaced by bregex.c).
- Delete src/win32/License.txt
- Modify installer to install LICENSE
- Integrate the majority of the Mingw cross-tools submission
made by Howard Thomson. Everything compiles, with zlib, openssl,
and VSS turned off. Linking needs a pthreads library ...
- Add 'Dir Status' button to the gnome console.
- More work on migration.
- Restore non-compatible base64 coding to permit compatibility.
- Display heap stats in Storage daemon without debug level.
Thorsten Engel [Fri, 21 Apr 2006 16:04:16 +0000 (16:04 +0000)]
bugfix: an early cancel (e.g. during request for label) causes a "goto cleanup"
which leads to a runtime error when the vss_mutex was released, but never
locked.
- Implement using pg_config for finding PostgreSQL files.
Fixes bug #600. Patch supplied by user.
- Remove -t option from mktemp in mtx_changer.in and use
working directory. Fixes bug #578.
- Update job start time after the any run before job so that
files created by the script are only backed up once. Fixes
bug #599.
- Strip trailing newline only from filenames entered in
the restore command when reading a file. This permits
the user to enter filenames with trailing spaces. Fixes
bug #549. The user supplied a patch that I modified slightly.
- Use the most recent time (st_mtime, st_ctime) in the dir
command in restore. This gives the user a better idea of what
the newest file really is. This fixes bug #574. The fix
was suggested by the user.
- Implement a compatible version of base64. This permits external
programs to duplicate Bacula's base64 algorithm using standard
routines. This fixes bugs #296, and 565. Patch submitted by
author of bug #565.
================= Note ========================
Previous Signatures stored in the database are no longer
compatible with this. The main downside is for Verify jobs,
and doing an InitCatalog run will fix the problem. Also, the
authentication between the deamons is changed, so all daemons
must be simultaneously upgraded.
==============================================
If you don't like this fix, set:
const bool compatible = true;
to
const bool compatible = false;
in src/lib/base64.c
- Fix scheduler to handle time skew (eg daylight savings).
- Fix scheduler to use lock_jobs() to avoid most problems
with reload. Window is now milliseconds.
Thorsten Engel [Wed, 19 Apr 2006 18:54:43 +0000 (18:54 +0000)]
improve vss
- writer states shown *after* backup (the old printing was not reliable)
- take out VSS_TIMEOUT (empty define made problems)
- improve errorhandling
- allow multiple checkwriterstates
- fix handle leak
- Apply patch from Christopher Hull
- Allow multiple connections to database with different
parameters.
- Invalidate the scheduler when doing a reload. Fixes seg
fault, but still 60 second window.
- Additional info in Reschedule message.
- Use set_jcr_job_status() everywhere to prevent loss of
cancel, error.
- Display peer IP in FD if error from connecting DIR.
- Don't increment file count for DIRBEGIN.
- Replace illegal characters in Win32 filename by _.
- Add SE_CREATE_PERMANENT_NAME privilege in Win32.
- Hash hard link filenames rather than linked list.
- Fix for security failure in chdir on Win32.
- Add CreateDirectoryA/W win32 API entry points.
- Add /silent option to Win32 FD for Install/Remove service.
- Always print Heap statistics in FD.
- Remove the -f option from the chown in Makefile.in for more
portability.
- Change setting the group in Makefile.in to use chgrp for
more portability.
- Implement a write_store and read_store to replace
dirstore in reserve.c
- Implement a Bacula read/write lock for Python rather
than using the Python lock to avoid recursive problems.
- Correct the uninstall directory names in filed/Makefile.in
as reported by a user.
15Apr06
- Correct Makefile bug found by Dan Langille.
14Apr06
- Correct Makefile for Solaris /bin/sh
- Correct mtx-changer.in for Solaris /bin/sh
- Abort if a conf resource does not have a Name =
12Apr06
- Change the name of the regex program to bregex.
- Add the bwild program to the tools directory. It is similar
to the bregex program.
- Implement create bregex.h and bregex.c in src/lib from the
Python regexp program.
- Use the new bregex.c to implement Regex expressions on Win32.
11Apr06
- More work on migration.
- Implement wild program in tools directory for testing
wild-cards. Almost identical to the regex program.
- Up port VSS single thread locking code.
- Replace N_(..) by NT_(...) to inhibit translation of
commands.
- Modify Makefile to change the permissions on Working Directory
to 770 if the directory is created.
- Do not fail the Makefile if changing the permissions or
owner/group on WorkingDir fails.
- Remove early selection of Scratch Volumes in the recycling
algorithm.
- Correct the old recycling algorithm so that Scratch Volumes
are selected when looking for a Volume in the changer.
- Correct a typo in the Verify SQL reported by Joe Park.
10Apr06
- Remove automatic case folding on Windows FDs. You must
explictly use the 'Ignore Case = yes' option.
- Remove the code added to 1.38.6 and 1.38.7 that pulls a
scratch volume in an Autochanger early in the 'recycling'
algorithm.
- Tweak license to include Microsoft restrictions.
- Move mysql.reconnect to after real_connect(). Thanks to
Frank Sweetser for the patch.
- Disallow a backslash in a File = directive (Windows junk)
unless the string is quoted.
- Apply Eric's patch to ua_label.c so that daemon protocol
is not translated.
- Add NT_ definition for strings that should not be translated.
- Apply NT_() to ua_label.c
- Remove timed wait for VSS on Win2K3 as it is not yet
implemented.
- Correct bacula.in script to reference bacula-ctl-xx in the
sysconfig directory rather than the bin directory.
26Mar06
- Fix a long standing bug in the bacula start/stop scripts.
- Attempt to add the new bacula-ctl-* files to the rpm.
- Switch to using typeof() for list traversing to avoid
as many FC5 g++ compiler warnings as possible.
25Mar06
- Split the bacula start/start script into four files:
bacula -- starts and stops calling other scripts
bacula-ctl-dir -- starts/stops the director
bacula-ctl-fd -- starts/stops the File daemon
bacula-ctl-sd -- starts/stops the Storage daemon
Kern Sibbald [Sat, 25 Mar 2006 13:35:28 +0000 (13:35 +0000)]
Split the bacula start/start script into four files:
bacula -- starts and stops calling other scripts
bacula-ctl-dir -- starts/stops the director
bacula-ctl-fd -- starts/stops the File daemon
bacula-ctl-sd -- starts/stops the Storage daemon
Kern Sibbald [Fri, 24 Mar 2006 16:37:56 +0000 (16:37 +0000)]
24Mar06
- Create datestyle fix for PostgreSQL. Fixes bug #574.
- Correct editing of JobId from int to int64 in fd_cmds.c
- Eliminate FileSet name race with bash_spaces() and multiple
threads by bashing in a local.
- Fix error return from 'use storage' to print a correct error
message rather than nothing.
- Correct false re-read last block error message when two jobs
are simultaneously writing at the end of a tape.
- Simplify exit conditions in the reserve.c code to avoid
possible non-release of reservation_lock().
- Suffle lock order in reserve to avoid deadlock between
reservation lock and device mutex.
21Mar06
- Initialize jcr mutex before first use.