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.
Kern Sibbald [Sat, 19 Feb 2005 15:29:48 +0000 (15:29 +0000)]
- Add back JobId index for MySQL as default -- speeds up
pruning.
- Add more database fields and fix the update scripts to
include the new items.
- Pass actual level to FD so that ClientRun editing can reflect
correct level -- ditto for job status. This makes the DIR
incompatible with older clients!
- Move jobq.c acquire resources to static subroutine so that
the code logic becomes clearer. This is in preparation for
actually using the new Device resources.
- Fix some lower case problems in sql_cmds.c reported by
Debian.
- Correct a seg fault in the SD reported by a user. Occurred
only when a high debug level was set.
- Modify init_dev() in dev.c to take JCR as first arg so that
proper error messages can be reported in next item.
- Modify the query and use device SD commands to attempt to
open the device if it could not previously be opened.
- Correct error message for Could not reserve device.
- Correct some minor details with Autochanger resource in SD.
Kern Sibbald [Tue, 15 Feb 2005 22:04:34 +0000 (22:04 +0000)]
- Fix Media LabelDate and FirstWritten to be correctly set.
- Fix deadlock in multiple simultaneous jobs.
- Fix tape truncation/number of files after restore bug.
Kern Sibbald [Wed, 9 Feb 2005 14:40:03 +0000 (14:40 +0000)]
- Modified ANSI label code to preserve any ANSI label
already found by skipping over it rather than rewriting
it.
- Split the ANSI label code into ansi_label.c
- Do not let user relabel an ANSI labeled tape.
- Applied a patch for the console help command supplied
in a bug report.
- Added some new dev methods. Most notably was
set_eof(), which handles setting all the dev variables
when an EOF is just read. This is now used most everywhere
in the code.
Kern Sibbald [Mon, 7 Feb 2005 16:20:46 +0000 (16:20 +0000)]
Added code to detect that no files were inserted into the
tree for a restore. If a specific JobId was specified, the
user has the option of restoring everything.
- More progress in implementing 64 bit DB Ids.
- Modified the daemon start messages for RH.
- Implement update scripts for all database types.
- First cut at implementing restore directory (it will not
recurse).
Kern Sibbald [Tue, 1 Feb 2005 08:13:21 +0000 (08:13 +0000)]
Display more informative message when a device was not
found or could not be opened.
- Add the sqlite3 database scripts.
- Add some patches for 1.36.1 (note, I have now prepared
a 1.36.2 with all the patches and some new features --
to be documented).
- Some minor doc updates.
- Add Arno's baculareport.pl script to the examples directory.
Kern Sibbald [Wed, 12 Jan 2005 09:41:23 +0000 (09:41 +0000)]
Integrate Preben 'Peppe' Guldberg <peppe@wielders.org>'s
acl patch. Fix case where configured but no ACL exists.
Rework calling arguments to be shorter and positioned
more typically in Bacula usage.
Kern Sibbald [Tue, 11 Jan 2005 21:36:20 +0000 (21:36 +0000)]
Fix scripts/bacula.in to have awk on an environment variable
and add comments for Solaris users.
- Turn off inet_aton in src/lib/address_conf.c for Win32
- Add new files to win32 build and eliminate a compiler warning.
- Add sample DVD Device resource to bacula-sd.conf
Kern Sibbald [Thu, 6 Jan 2005 16:37:20 +0000 (16:37 +0000)]
- Apply all of Preben's patches, but revert to old backup.c
and old restore.c in filed. Also turn off code in new
acl.c because of errors. The new code, when fully implemented
moves platform specific code into acl.c.
One of the patches also implements WildFile and WildDir -- thanks.
Kern Sibbald [Thu, 30 Dec 2004 20:07:31 +0000 (20:07 +0000)]
- Enhance CDROM boot to include some documentation at boot time.
- NOTE. The CDROM will not boot 2.6 kernels because the
boot sequence has changed significantly. Updates to come
later.
- Add memtest option to CDROM boot.
- Include Nicolas' changes to fix llist JobMedia records.
- Make sure that ClientRunBefore/After messages from the program
are terminated with a newline. Add strerror to output error
messages.
- Return program exit status code in Win32.
Kern Sibbald [Tue, 21 Dec 2004 16:19:00 +0000 (16:19 +0000)]
Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
three patches that clean up white space:
ws.patch.02.strings:
Breaks strings that span lines into concatenated strings. I am not sure
if you like this one. Other code works with concatenated strings, though.
ws.patch.03.trailing:
This removes trailing whitespace. No changes resulted from this for
my setup.
ws.patch.04.leading:
This replaces space runs at the start of line with tabs. No changes
again.
Kern Sibbald [Tue, 21 Dec 2004 13:02:15 +0000 (13:02 +0000)]
- Fix overriding storage specification to be done
through a subroutine.
- Fix autoconf so it runs with FC3.
- Add Python4.3 to configure search paths.
- Always copy and delete storage definitions into jcr.
- Check that VolumeName supplied by Python is valid.
Return 0 if not.
Kern Sibbald [Sun, 19 Dec 2004 16:39:42 +0000 (16:39 +0000)]
Update rescue disk to include mkinitrd
- Fix umount_drives in rescue disk (only one arg to umount)
- Ensure that if SD is manually set in Console, it is used.
- Put generate_event on pointer and plug it in init. This
permits using it in /lib
- Correct despooling size reported to be Job specific rather
than for the whole drive.