Robert Nelson [Fri, 1 Sep 2006 00:49:21 +0000 (00:49 +0000)]
Update the Microsoft Visual Studio build to match the MinGW32 build.
Fix precedence problem in an ASSERT.
Put DLL_IMP_EXP macros in the right place so they work with both gcc and msvc.
Change make_session_key on WIN32 to use WIN32 APIs to produce a better seed.
Add sed to external dependencies, it is used only during installation.
Remove unused code from winmain.cpp and winservice.cpp for the three daemons.
Fix /kill for file and storage daemons.
Add bfree to the exports for bacula.dll.
Add new tool scsilist.exe which displays the changer, tape and CD/DVD (1394, SCSI, SATA, ATAPI) devices and the information required to add them to bacula-sd.conf.
Added full configuration generation to the installer.
Kern Sibbald [Thu, 31 Aug 2006 21:07:14 +0000 (21:07 +0000)]
kes Make find with no args in tree restore return error rather than
stopping the selection. Fixes bug #665
kes Rework DVD writing to ensure that the last part is written
on open_next_part when dealing with a spool file.
kes Correct the lseek_dev() routine to handle end point correctly
(bug introduced by me).
kes Allow part number to exceed num_dvd_parts in lseek_dev().
Kern Sibbald [Wed, 30 Aug 2006 16:19:32 +0000 (16:19 +0000)]
kes Apply dvd-handler patch from Richard Mortimer.
kes Apply dvd error check patch from Richard Mortimer.
kes Apply bpipe race patch from Richard Mortimer.
kes Rework how DVD labels are handled and set append only
when part > num_dvd_parts.
Kern Sibbald [Sun, 27 Aug 2006 18:30:57 +0000 (18:30 +0000)]
kes Rework many features of DVD writing and reading. Added many error
messages. Most importantly changed part to represent the current
part number base zero. This makes current DVD writing incompatible
with previous version.
26Aug06
kes Add host:port to connect failure messages to FD and SD from Dir.
kes Add WhereACL to console ACL list. If nothing is specified, only
the default is permitted for restore. Otherwise, *all* allows any
path, or you can specify permitted paths. This should allow control
over where users can restore files. This is untested.
kes Modified message to add a ? (as in loaded?) when querying the autochanger
for what Slot is loaded.
kes Fixed the use of Slot, so that is more correctly maintained, thus
eliminating unneeded duplicate calls to determine what Slot is loaded.
Kern Sibbald [Sat, 26 Aug 2006 11:28:39 +0000 (11:28 +0000)]
kes Add host:port to connect failure messages to FD and SD from Dir.
kes Add WhereACL to console ACL list. If nothing is specified, only
the default is permitted for restore. Otherwise, *all* allows any
path, or you can specify permitted paths. This should allow control
over where users can restore files. This is untested.
kes Modified message to add a ? (as in loaded?) when querying the autochanger
for what Slot is loaded.
kes Fixed the use of Slot, so that is more correctly maintained, thus
eliminating unneeded duplicate calls to determine what Slot is loaded.
Kern Sibbald [Fri, 25 Aug 2006 12:35:45 +0000 (12:35 +0000)]
kes wx-console crashes because of differences between Bacula and wxWidgets
malloc()/free(). Tweek wx-console to use bmalloc()/bfree() for Bacula
calls.
kes correct improper indenting in wx-console/console_conf.c
kes update wx-console header copyrights
kes Fix bug #658 where wx-console mangles file/directory names containing
commas.
Kern Sibbald [Thu, 24 Aug 2006 09:48:11 +0000 (09:48 +0000)]
kes Add Media.Enabled flag to client backups for dotcmds.c
kes Enforce Media.Enabled=1 for a current restore to work.
kes Require restore case 3 to have sqlquery permission to work.
kes Remove obsolete del_MAC sql command.
Eric Bollengier [Tue, 22 Aug 2006 20:34:22 +0000 (20:34 +0000)]
ebl - change default config file format, use Data::Dumper now
- add load_old function to do convert from old_format
- add add/del/mod autochanger from configuration
Kern Sibbald [Sun, 20 Aug 2006 13:27:55 +0000 (13:27 +0000)]
kes Print JobIds to be migrated in Job Report.
kes Add additional user supplied notes to the messages part of
bacula-dir.conf concerning multiple email addresses.
kes Fix an incorrect comment pointed out by a user in dvd_handler.in
kes Add more recent Feature requests to Projects file.
Dan Langille [Sun, 20 Aug 2006 01:45:45 +0000 (01:45 +0000)]
The introduction to Job Migration contained a few run-on sentences. This
stuff needs to be kept short and sweet. These changes say the same things,
only in shorter sentences. HTH.
Kern Sibbald [Sat, 19 Aug 2006 10:10:21 +0000 (10:10 +0000)]
kes Apply Maritn's fix to src/win32/Makefile.
kes Apply Martin's fix to configure.in for pthreads on FreeBSD 4.x
kes Implement pruning for Migration and migrated jobs.
kes Implement PoolOccupancy migration.
kes Implement PoolTime migration.
Kern Sibbald [Tue, 15 Aug 2006 20:43:54 +0000 (20:43 +0000)]
kes If doing a mount, look for a slot, and if specified pass it to
the SD so that it can load the autochanger.
kes Return DVD=1 flag if a label command is done to a DVD. This
permits setting VolParts to 1.
kes Apply DVD patch from Richard Mortimer <richm@oldelvet.org.uk>, but
rework ua_label code based on DVD media type to use DVD flag returned.
Kern Sibbald [Tue, 15 Aug 2006 13:51:22 +0000 (13:51 +0000)]
kes Eliminate some compile warnings in dird_conf.c
kes Format the bytes field in the terminated jobs part of the status
command for the three daemons with suffixes to reduce print size
of backup bytes. Suggested by a user.
kes When not descending into a directory, print the File= name that
triggered it -- makes why not descending a bit clearer.
kes Do not unload autochanger when doing a list command -- basic code
from Eric Bollengier.