Kern Sibbald [Fri, 5 May 2006 14:10:27 +0000 (14:10 +0000)]
- Correct EOF with no \n lex.c problem.
- Tweak compat.h compat.cpp and merge with apcupsd
- Add additional INFO messages if autochanger cannot be used.
Kern Sibbald [Mon, 1 May 2006 08:18:44 +0000 (08:18 +0000)]
- Work on getting wx-console building on MinGW. wxWidgets now builds
started adding Makefile ...
- Moved MinGW library objects to src/win32/lib to reduce clutter.
Eric Bollengier [Sun, 30 Apr 2006 17:14:27 +0000 (17:14 +0000)]
- fix : reload a bad configuration file doesn't kill director any more
o add an extra field to LEX err_type (M_ERROR, M_ERROR_TERM...)
o add lex_set_default_error_handler() to set lex->err_type
o add an extra option (message level) to parse_config()
- Integrate Howard's VSS patch. Tweak it a bit. VSS now
works in the MinGW build with the exception that there
is a problem with accented characters -- i.e. there is
some mapping problem with wide characters.
- The code no longer compiles with Microsoft VC++.
- 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.