Kern Sibbald [Mon, 19 Feb 2007 17:59:15 +0000 (17:59 +0000)]
kes Restore of sockets created false error messages because Bacula
no longer restores sockets, but the code was still trying to
set the attributes on a non-existent file. Reported by a user.
Kern Sibbald [Mon, 19 Feb 2007 12:09:01 +0000 (12:09 +0000)]
kes Expand new BSOCK class adding signal() and new BNET signals.
kes Begin enhancing the dot commands adding a new API function
that returns more information and will make it easier
to interface to the Director from a program.
Eric Bollengier [Mon, 19 Feb 2007 11:51:46 +0000 (11:51 +0000)]
ebl add RecyclePool to Pool. Media will take Pool.RecyclePool
when moving from Scratch to a Pool or when user will do
update volume=xxx frompool
To use it, add RecyclePool = aPool to your Pool resource
Pool {
Name = Default
RecyclePool = Scratch
...
}
Kern Sibbald [Sun, 18 Feb 2007 15:51:09 +0000 (15:51 +0000)]
kes Make DEVICE fd private. Its new name is m_fd, and can be
obtained with dev->fd() outside the class. This is the
first of many DEVICE members to be made private.
kes Implement Michael Renner's idea on having a virtual disk
changer. I made some minor modifications (e.g. I did not
implement the Virtual Changer directive, but simply set
the Changer Command to an empty string.
Kern Sibbald [Sun, 11 Feb 2007 11:18:26 +0000 (11:18 +0000)]
kes Optimize the use of the database a bit in the Status dir command.
Only open it when needed, ensure that if any previous database
was opened, it is closed.
Kern Sibbald [Sat, 10 Feb 2007 14:25:21 +0000 (14:25 +0000)]
kes Apply Eric's scratch patch that moves a purged Volume to
the RecyclePool. Question: how is RecyclePool set? what
happens to the ScratchPool?
kes Apply Eric's media patch that collects read/write media
times as well as byte counts. This patch requires a
simultaneous upgrade of the DIR and SD. Note, there
should be some way to turn of timing. I'm not sure
times are in Bacula units.
kes Apply Eric's batch-insert patch.
Kern Sibbald [Fri, 9 Feb 2007 10:44:31 +0000 (10:44 +0000)]
09Feb07
kes Update projects list. 08Feb07
kes Implement Include/Exclude file lists in FD as dlists using
the new dlistString class. This permits efficiently having
large include/exclude lists and completes project Item 25.
kes Fix dird/ua_cmds.c so that a cancel command checks if the
console is authorized to cancel the job. This fixes bug
#767.
Kern Sibbald [Thu, 8 Feb 2007 10:54:40 +0000 (10:54 +0000)]
kes Fix dird/ua_cmds.c so that a cancel command checks if the
console is authorized to cancel the job. This fixes bug
#767.
kes Modify SD so that the VolCatJobs medium record is updated
at the beginning of a Job rather than the end. This
fixes bug #775 where exceeding MaxVolJobs caused jobs
to fail.
kes Added a mutex around getting and setting Volume information
so that multiple simultaneous jobs will single thread.
Kern Sibbald [Tue, 6 Feb 2007 13:58:26 +0000 (13:58 +0000)]
kes Delete src/lib/btree.c from win32 build, then add rblist.c
plus the entrypoints.
kes Apply patch supplied that corrects debug print
in canceling jobs for max run time. Supplied as
part of bug #621, which was previously fixed. 05Feb07
kes Test on job_canceled() and sd_msg_thread_done inside
loop starting the message thread to avoid a race condition.
Fixes bug #771.
kes Remove rl_catch_signal from console.c as it conflicted
with the header definition. Fixes bug #765.