Kern Sibbald [Mon, 2 May 2005 18:36:19 +0000 (18:36 +0000)]
- Thorsten Engel finished his work on Win32 Unicode. We
now have a single executable that runs on all Win32 machines.
- Move job initialization code after job scheduling so that
Verify jobs check for the prior JobId after they are really
started rather than before.
Kern Sibbald [Mon, 2 May 2005 13:23:27 +0000 (13:23 +0000)]
- Fix lib/fnmatch.c so that it does proper testing before folding.
- More documentation -- at tls and ansi labels chapters.
- Fix fileset_convert.pl to handle empty Exclude statements.
- Turn regex back off in Win32
- Remove a few HAVE_TLS #ifdefs
- Implement final Python style interface. More implemention to
be done, but the interface should change little if at all.
- Update Web header to include google search in the search
box -- thanks to input from Michel Meyers.
- Fix md5sum so that it builds with the new openssl stuff.
- Take some enhancements to the md5sum test program proposed
by a user.
- Make SD re-open a device with the right permissions if
it was previously opened with something different. This
should allow reading read-only Volumes under all circumstances.
- Implement restore of a single directory.
- Implement restore of a single directory.
- Apply Tru64 patch supplied by Pascal Pederiva freebsd@paped.com
- Apply Unicode fixes for Win32 from Thorsten Engel
thorsten.engel@matrix-computer.com
- Landon Fuller committed his TLS patch.
- Fixed two minor warnings in console.c with TLS turned off.
- Updated the Makefile.in for wx-windows and tray-monitor
to handle TLS. I can only build the tray-monitor.
- Fix bscan to open tape in read-only mode (actually fix
it so that it doesn't use the standard open routine).
- Fix new Python code to work for Director.
- Move lib/python.c to lib/pythonlib.c so that debug output
is easier to read (can distinguish lib from dird, ...).
- First cut of new Python implementation.
- Doc updates
- Correct SuSE autostart installation directory name --
supplied by a user.
- Fix director crash if Name directive not supplied
in a Job.
- More cleanup of changing %u to %s for DB IDs.
- Replace dev_can_write(dev) with dev->can_write().
- Remove Created new FileSet message as it always comes out in
the daemon messages.
- eliminate dev_is_tape() in favor of method dev->is_tape()
- Turn on disk seeking during restore for Disk Volumes. This
required some changes to bscan -- they seem a bit suspect as
they are not symmetrical for tape/files.
- Remove some of the recursion in stored/parse_bsr.c
- Move rescue out to a new Bacula project.
- Update of web site to replace old released doc with LaTeX
version.
- Replace logo in doc with new bat logo.
- Make a good number of updates to the manual.
- Implement Python scripting using a Python object.
This makes interfacing with Bacula cleaner (object
oriented).
- Add Phil's Status table to the database -- used
for getting a text description of the status
codes.
- Modify FileSet so that an empty Options (no
pattern matching) with an exclude will exclude
all files.
- Modify FileSet so that no top level included File
item can be excluded by a matching pattern.
- Suppress Created new FileSet record in daemon output.
- Implement Python in FD.
- Turn off old bfile reader code -- to be replaced
by Python.
- Increase the index width of Filename and Path entries
to 255 chars -- suggestion of Meno Abels.
- Change remaining VARCHARS to TINYBLOBs.
- Remove recursion from is_volume_selected() following
bug report from Peter.
- Implement mostly correct handling of use_storage in the
SD with full lists, ...
- Reset NumVols in Pool record from database on every update
Pool.
- Modify DB to support multiple simultaneous copies and
RAIT stiping.
- Pass copy and stripe between DIR and SD and put into
the JobMedia DB record.
- Update and test SQLite and MySQL datebase creation and
update scripts.
- Implement version 9 of the DB.
- Convert more atoi to str_to_int64() for DB.
- Implement filling in NumVols by querying DB rather
than trying to keep track of it.
- Add storage name to string passed to in use storage=
- Fix newVolume() so that the Python script is always
called.
- Fix handling of pool,PoolId, and storage in ua_output.
- Same fix in ua_status.c
- Remove required locking of resources
- Replace pthread_cond_signal() by pthread_cond_broadcast()
hoping to fix the /lib/tls hang problems (lost signal).
- Move resource locking seaching from parse_conf.c to res.c
in src/lib.
- Modify end of volume handling so that fixup_... does not
redo what block.c has already done -- writing Vol info to
DIR. This fixes a bug with bad numbers of files on a tape
when it filled as reported by Peter.
- In release_device() do not update the DIR on the Volume
info if the the information was already written at the
end of the tape.
Kern Sibbald [Mon, 28 Mar 2005 22:06:08 +0000 (22:06 +0000)]
- This version has a new DIR -- SD protocol. Both
must be updated at the same time.
- Begin implementation of passing all the Storage and Device
possibilities to the SD for examination during the reserve
phase.
- Modify the reserve and acquire code in the SD to make a
job wait if the device is not available.
- Implement New Volume Each Job in DIR and pass to SD, not yet
used.
- Remove init/update of the Device resource in DIR
- Remove passing PoolId to SD and back.
Kern Sibbald [Sat, 26 Mar 2005 14:53:13 +0000 (14:53 +0000)]
- Add wait.c (oops forgot previously).
- Move all the reserve/acquire_device_for_read/append to have
only a DCR as the argument.
- Rework the reserve_device_for_append() in stored to wait
if the drive is not available. Note! This is a short
term solution.
Kern Sibbald [Sat, 26 Mar 2005 07:58:50 +0000 (07:58 +0000)]
- Comment out Multiple Connections in the document.
- Move the P() and V() to subroutines so that they can be accessed
from class methods. The reference to strerror() caused problems.
- Implement new DEVICE class methods block() and unblock() that
do what was previously done in 3 lines of code.
- Implement wait_for_device(), which will wait for any device
to be released then return. This requires a new global mutex
and condition variable, and is implemented in src/stored/wait.c
- Change the code in reserve_device_for_read(), which previously
failed the job to use the new device wait code.
Kern Sibbald [Tue, 22 Mar 2005 10:43:34 +0000 (10:43 +0000)]
- Add copyright to title page of manual so it is clear.
- Create patch for rescheduling problem found by Ludovic. Storage
pointers were lost during rescheduling.
- Attempt to fix 2.6 rescue disk -- failed!
- Start working on adding a wait routine in the SD.
- Cleanup some old invalid doc in watchdog.
- Convert a number of references to dev->dev_name to dev->print_name().
- Add new wait.c file to SD.
- Add a few more methods to DEVICE in SD to cleanup code a
bit -- implement a few of the methods.
Kern Sibbald [Fri, 18 Mar 2005 17:26:48 +0000 (17:26 +0000)]
- Fix more print_name()s for printing device name.
- Modify open_dev to try 10 times every 6 seconds to
open the device if it gets an I/O error (meaning no
volume mounted). This gives a bit of settling in time
for an autochanger and avoids spurious messages.
- Change all yes/no to yes|no in the manual.
- Fix win32 create_file.c typo.
- Fix a typo in an error message.
Kern Sibbald [Thu, 17 Mar 2005 18:24:54 +0000 (18:24 +0000)]
- Detect if fseeko exists with autoconf. If so, use it
and ftello.
- Remove old bacula-*.conf from examples directory (out
of date).
- Remove latex-fr index files from CVS.
- Rewrite code that stops reading the tape so that the
tape is marked at EOT, then once the work is done,
the EOT flag is removed.
- Flush output to file after every send in console.
- Make setting VolFiles to smaller number fatal.
- Disable Multiple Connections code.
- Add patch from user for NetBSD statvsfs() fix to
fstype.c
- Take more care with errors in acquire.c
- Don't run through dvd code in append.c if bad status
returned.
- Modify code so that an autochanger fault is fatal.
- Use dev->print_name() in more places.
- Implement dev->can_steal_lock() to simplify code.
- Make btape re-read first 10000 records on fill command.
- Check error return and fail job from fseeko and ftello
in spool.c. Don't let a -1 slip in as size.
Kern Sibbald [Sat, 12 Mar 2005 15:40:41 +0000 (15:40 +0000)]
- Implement IBM labels
- Implement EOF and EOV labels at the end of a volume.
- Fix a rather ugly problem with the PoolId not getting
passed correctly. Now the DIR passes the Pool name and
Media Type to the SD, who passes them back when requesting
the next Volume. The DIR then looks up the correct PoolId.
This takes more time, but always works, AND allows wild
card Media Types (i.e. the SD can decide).
- The DIR <==> SD protocol has changed.
Kern Sibbald [Thu, 10 Mar 2005 16:52:42 +0000 (16:52 +0000)]
- Add new ua_update.c file and move update_cmd there.
- Modify update slots to obtain actual number of slots.
- Tweak autochanger code to handle new slots request.
- Modify autochanger code to lock/unlock around slots and
update slots code.
Kern Sibbald [Wed, 9 Mar 2005 11:57:04 +0000 (11:57 +0000)]
- Edit Resource-name (physical-name) for the device name
everywhere in the SD.
- Remove .linked.tex files in preparation for cutover to
using .tex in place of .wml.
Kern Sibbald [Tue, 8 Mar 2005 19:46:16 +0000 (19:46 +0000)]
- Copy latest config.sub and config.guess from autoconf.
- Try new way of identifying drives with:
resource-name (physical-name)
More work need to a complete conversion.
Kern Sibbald [Mon, 7 Mar 2005 20:50:51 +0000 (20:50 +0000)]
- Rework some of the autochanger data so that the DIR has
the number of drives.
- Modify the way the Device info is returned so that it comes
back as a special message type and can be sent anytime the
Device status changes.
- Copy the change name and changer command into the device
record if none is specified.
- Require the change command and changer name to be specified in
and AutoChanger resource.
- Force all the Media Type records of all devices in an Autochanger
to be the same.
Kern Sibbald [Sun, 6 Mar 2005 14:56:05 +0000 (14:56 +0000)]
06Mar05
- Add new run command to Job resource in DIR. This permits
cloning a job as many times as you want.
- Pass PoolId to SD on Query request. It is now used in the
Find_media catalog request.
- Reworked the Device resource in the DIR. Eliminated num_waiting
and use_count, but added max_writers, reserved, and PoolId.
- This DIR is nolonger compatible with previous SDs.
- Add since and cloned keywords to the Console run command
to support cloning.
- Implemented store_alist_str() to allow multiple string items
to be specified in a .conf file.
- Added %s (since time) to Job code editing.
- Reworked reserving drives in the SD. It now does it much simpler
and correctly.
05Mar05
- Integrate HP-UX patch from Olivier Mehani <olivier.mehani@linbox.com>
- Fix FD job.c to test correctly for no level.