- 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.
Kern Sibbald [Fri, 4 Mar 2005 08:12:17 +0000 (08:12 +0000)]
- Change Developers to Developer's Guide as requested by Michael.
- Fix developers link in manual
- Add additional dcr changes in SD to allow multiple dcrs.
Kern Sibbald [Wed, 2 Mar 2005 14:40:59 +0000 (14:40 +0000)]
- Fix a few problems with the MySQL table create in 1.37.
- Delete the new tables in the table delete files.
- Increase the number of items permitted in a conf table.
Kern Sibbald [Wed, 2 Mar 2005 11:38:09 +0000 (11:38 +0000)]
- Make Director loop over alternative Devices specified in the
Storage resource until one is reserved by SD.
- Fix storing of StorageId in Media records.
- Add AutoSelect = yes|no in bacula-sd.conf
- Add Autochanger support to Label command.
- Do not autoselect devices with autoselect set false
Kern Sibbald [Tue, 1 Mar 2005 21:54:22 +0000 (21:54 +0000)]
- Implement setting DIR Storage device to Autochanger
name.
- Select first available device in Autochanger.
- Pass back actual device name used.
- Allow Query of AutoChanger.
- Modify Query to include name of AutoChanger if
Device belongs to one.
- Remove old Pool code in jobq.c
- Add Autoselect flag to query and DEVICE class (still
need Directive).
Kern Sibbald [Mon, 28 Feb 2005 14:02:09 +0000 (14:02 +0000)]
- Corrected some typos in the make_xxx_tables.in files.
- Made preliminary split of pre-run and run code for each
job type. This will permit early opening of SD for reserving
drives.
- Add offline and autochanger fields to Device Query record.
- Correct pthread_mutex_init() for autochanger in SD.
- Tweak Makefile for LaTeX manual, plus add nav buttons.
Kern Sibbald [Sat, 26 Feb 2005 11:28:03 +0000 (11:28 +0000)]
- Clean up drive reservation system. Add more sanity checks.
- Implement a few more methods for the DEVICE class in SD.
- Add latex directories to make clean
- move DEV_BSIZE to B_DEV_BSIZE to avoid conflicts with
certain header files (FreeBSD).
Kern Sibbald [Fri, 25 Feb 2005 09:19:05 +0000 (09:19 +0000)]
24Feb05
- Fix an ASSERT that was triggering in stored/acquire.c
attempt to fix a bug report. 23Feb05
- Corrected SunOs to SunOS in btraceback (user submitted).
- Applied patch from Roger HÃ¥kansson <hson@ludd.luth.se>
to warn the user of defective AWKs during ./configure.
Kern Sibbald [Tue, 22 Feb 2005 07:52:16 +0000 (07:52 +0000)]
- Add some changes submitted by a user for HP client build.
Not all changes accepted.
- Rework code in filed/backup.c to ease #ifdefing and make
program flow more obvious.
- Split DVD code out of dev.c into dvd.c
Kern Sibbald [Mon, 21 Feb 2005 12:00:23 +0000 (12:00 +0000)]
- Make clean remove old CVS files
- Remove unnecessary image files from Latex directory
- Implement remaining parts of Storage DB record and
its use in the Director.
- Implement
FullMaxWaitTime, Differential Max Wait Time, and
Incremental Max Wait time in Job resource.
- Start work on SD Autochanger code.