]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
20 years agoUpdate the update scripts in updatedb
Kern Sibbald [Thu, 23 Sep 2004 15:15:31 +0000 (15:15 +0000)]
Update the update scripts in updatedb

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1608 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Turn on transactions for SQLite and PostgreSQL if
Kern Sibbald [Wed, 22 Sep 2004 21:36:58 +0000 (21:36 +0000)]
- Turn on transactions for SQLite and PostgreSQL if
  multiple connections are turned on.
- Removed stripping of filename in ua_tree insertion routine.
- Fix split_path_and_filename() routines to return zero length
  path and files.
- Modify update_tables scripts to convert a single blank filename
  into an empty filename.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1607 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Incremented the release number because this version requires
Kern Sibbald [Wed, 22 Sep 2004 19:51:07 +0000 (19:51 +0000)]
- Incremented the release number because this version requires
  an update to the database.
  Use:
    cd src/cats
    ./update_bacula_tables
  to update an existing database.
- Implemented EndFile and EndBlock in the Media record. This will
  allow Bacula to know exactly when to stop reading a tape if the
  stupid tape driver does not give a logical end of tape indication
  and Bacula writes to the end of the tape getting an I/O error.
- Added new routines to update the database, and there are
  new database creation routines to add the two new Media columns.
- The Media record is updated each time a JobMedia record is created.
  This keeps the Media record up to date.
- Undid the code to use automatic type converions to char * in
  POOL_MEM. This is due to the ugly consequences of essentially
  destroying the class type nature of the class.
- Removed all the old mp_char() #define code.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1606 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Correct segfault in message.c with debug=200 (new code).
Kern Sibbald [Tue, 21 Sep 2004 14:25:24 +0000 (14:25 +0000)]
- Correct segfault in message.c with debug=200 (new code).
- Fix bug 109 verify with no options prints garbage.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1605 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Add ioctl(MTIOCGET) call to clrerror_dev() in dev.c. As reported
Kern Sibbald [Tue, 21 Sep 2004 09:47:13 +0000 (09:47 +0000)]
- Add ioctl(MTIOCGET) call to clrerror_dev() in dev.c. As reported
  by Frank Kardel, this should clear error conditions on NetBSD.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1604 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate version
Kern Sibbald [Mon, 20 Sep 2004 16:50:48 +0000 (16:50 +0000)]
Update version

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1603 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoKern had a better idea:
Dan Langille [Mon, 20 Sep 2004 14:46:24 +0000 (14:46 +0000)]
Kern had a better idea:
- alter src/dird/bacula-dir.conf.in to pass database and user
- alter src/cats/make_catalog_backup.in so that the database name
  and user name come in as $1 and $2 respectively.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1602 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoBackout previous commit. The index already exists.
Dan Langille [Mon, 20 Sep 2004 13:43:55 +0000 (13:43 +0000)]
Backout previous commit.  The index already exists.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1601 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoSee http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=0000103
Dan Langille [Mon, 20 Sep 2004 12:54:43 +0000 (12:54 +0000)]
See http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=0000103

Alter src/cats/make_catalog_backup.in so it does need incoming parameters to
do its job correctly.   Different options are needed for different database
tools.  e.g. '-u bacula' for MySQL, versus '-U bacula' for PostgreSQL.

At the same time, remove the parameters passed to this script in
src/dird/bacula-dir.conf.in

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1600 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoImprove speed of VolumeToCatalog verify jobs by adding
Dan Langille [Mon, 20 Sep 2004 12:44:40 +0000 (12:44 +0000)]
Improve speed of VolumeToCatalog verify jobs by adding
an index on file(pathid);

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1599 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Tweak install chapter of French manual to add new paragraph
Kern Sibbald [Mon, 20 Sep 2004 09:07:03 +0000 (09:07 +0000)]
- Tweak install chapter of French manual to add new paragraph
  from English.
- Tweak restore tree message to be a bit clearer.
- Modify watchdog to wakeup after 60 seconds, or wakeup if
  there is work to do.
- Modify watchdog stop routine to ping watchdog so that it
  stops immediately rather than after sleep time.
- Fix btape to use new dcr blocks rather than its own.
- Fix butil.c to correctly handle Volume names for the
  utility routines (broke when updating to dcrs).

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1598 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoMassive SD calling sequence reorganization
Kern Sibbald [Sun, 19 Sep 2004 18:56:29 +0000 (18:56 +0000)]
Massive SD calling sequence reorganization

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1597 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd new PostgreSQL indexes
Kern Sibbald [Sat, 18 Sep 2004 21:08:09 +0000 (21:08 +0000)]
Add new PostgreSQL indexes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1596 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFix closing of STDIN
Kern Sibbald [Sat, 18 Sep 2004 19:50:05 +0000 (19:50 +0000)]
Fix closing of STDIN

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1595 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoDocument group addition in rpm packages.
Scott Barninger [Sun, 12 Sep 2004 14:12:36 +0000 (14:12 +0000)]
Document group addition in rpm packages.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1594 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFinal changes
Kern Sibbald [Thu, 9 Sep 2004 15:27:12 +0000 (15:27 +0000)]
Final changes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1592 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd multiple database connections variable
Kern Sibbald [Thu, 9 Sep 2004 15:14:14 +0000 (15:14 +0000)]
Add multiple database connections variable

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1591 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Add first cut of UTF-8 support to conio. It seems to be working
Kern Sibbald [Wed, 8 Sep 2004 21:18:59 +0000 (21:18 +0000)]
- Add first cut of UTF-8 support to conio. It seems to be working
  pretty well. Moving by words will definitely not work though.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1590 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoImprove detection and setting of gateway in the network_start script.
Kern Sibbald [Wed, 8 Sep 2004 07:39:31 +0000 (07:39 +0000)]
Improve detection and setting of gateway in the network_start script.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1589 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoModify scan code so that in most places scanning will
Kern Sibbald [Tue, 7 Sep 2004 17:17:11 +0000 (17:17 +0000)]
Modify scan code so that in most places scanning will
  continue across the end of a line.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1588 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate doc
Kern Sibbald [Mon, 6 Sep 2004 21:57:06 +0000 (21:57 +0000)]
Update doc

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1587 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoDoc updates + fixes to rescue script
Kern Sibbald [Mon, 6 Sep 2004 20:57:39 +0000 (20:57 +0000)]
Doc updates + fixes to rescue script

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1586 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Send all queued messages in SD and FD prior to closing down
Kern Sibbald [Sun, 5 Sep 2004 06:52:31 +0000 (06:52 +0000)]
- Send all queued messages in SD and FD prior to closing down
  the job.
- Send queued messages in Jobs before terminating the job
  so that the messages print before the job report.
- Add a destructor so that the Console ACLs are properly
  freed.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1585 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoApply Phil's second patch
Kern Sibbald [Sun, 5 Sep 2004 06:14:32 +0000 (06:14 +0000)]
Apply Phil's second patch

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1584 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Implement isolinux boot disk.
Kern Sibbald [Sat, 4 Sep 2004 20:43:35 +0000 (20:43 +0000)]
- Implement isolinux boot disk.
- Integrate Phil Stracchino's code (thanks for Matt's help).
  It permits lists and ranges of jobids on the delete as in:
  delete job jobid=1,3,5,11-16

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1583 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoClean up
Kern Sibbald [Sat, 4 Sep 2004 20:05:26 +0000 (20:05 +0000)]
Clean up

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1582 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFinish isolinux CDROM implementation
Kern Sibbald [Sat, 4 Sep 2004 18:51:11 +0000 (18:51 +0000)]
Finish isolinux CDROM implementation

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1581 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoSupport running as root.bacula, other changes for 1.35.2
Scott Barninger [Sat, 4 Sep 2004 16:16:12 +0000 (16:16 +0000)]
Support running as root.bacula, other changes for 1.35.2

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1580 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Apply Mike Acar's suggestion when looking for the next volume
Kern Sibbald [Fri, 3 Sep 2004 17:14:54 +0000 (17:14 +0000)]
- Apply Mike Acar's suggestion when looking for the next volume
  to check purged volumes for recycling before doing a purge.
- Make some improvements to CDROM disk.
- Take another crack at ignoring drive open() errors during
  polling.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1579 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Added argument to berrno::strerror() to pass errno.
Kern Sibbald [Thu, 2 Sep 2004 12:36:58 +0000 (12:36 +0000)]
- Added argument to berrno::strerror() to pass errno.
- Cleaned up a few more old strerror() calls and eliminated a
  few of the now unnecessary set_errno() calls.
- Fixed a bug in the polling code that prevented more than 100
  label reads (insanity check disabled if polling).
- Ignore bad return from open_device() if polling.
- Short circuit code if fatal error return from read_label() in
  mount.c

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1578 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Add eliminate orphaned job records; eliminate admin records,
Kern Sibbald [Thu, 2 Sep 2004 08:34:44 +0000 (08:34 +0000)]
- Add eliminate orphaned job records; eliminate admin records,
  and eliminate restore records to dbcheck.
- replace sprintf by bsnprintf() in dbcheck.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1577 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Add index file to JobId field of File records for PostgreSQL.
Kern Sibbald [Wed, 1 Sep 2004 19:44:29 +0000 (19:44 +0000)]
- Add index file to JobId field of File records for PostgreSQL.
- Correct several bugs in the job queue scheduler concerning
  rescheduled jobs: 1. The SD status was not cleared causing a
  wrong status to be displayed by Dir after rescheduling. 2. All
  rescheduled jobs became zombies because the jcr use_count was
  not decremented properly.
- Make the Catalog resource required in Client records.
- Order the listing of where a file is (item 2 on the restore
  menu) by StartTime.
- Clarify when a filename only and a full path + filename must
  be entered in items 2 and 8 of the restore menu.
- Fix logic error in resolution of names on IPv4 systems.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1576 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Fix logic error in resolution of names on IPv4 systems.
Kern Sibbald [Wed, 1 Sep 2004 07:23:06 +0000 (07:23 +0000)]
- Fix logic error in resolution of names on IPv4 systems.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1575 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoA improvment of the sqlite detection. Now
Meno Abels [Wed, 1 Sep 2004 06:37:56 +0000 (06:37 +0000)]
A improvment of the sqlite detection. Now
it searches in $prefix/[bin|lib|include] and
if you specifiy -with-sqlite=path in path/[bin|lib|include]
which is need on freebsd and macosx. Where are the library of
external programms in e.g. /usr/local/...

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1574 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFinal changes
Kern Sibbald [Tue, 31 Aug 2004 19:18:04 +0000 (19:18 +0000)]
Final changes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1572 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate manual
Kern Sibbald [Mon, 30 Aug 2004 21:02:45 +0000 (21:02 +0000)]
Update manual

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1571 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Inhibit printing of FileSet for a restore as it is misleading.
Kern Sibbald [Mon, 30 Aug 2004 20:39:58 +0000 (20:39 +0000)]
- Inhibit printing of FileSet for a restore as it is misleading.
- Cleaned up a number of minor scripting problems with the CDROM
  creation.
- Fixed a race condition causing a Director crash on termination,
  if a large number of SIGHUPs were sent during a multiple concurrent
  set of backups.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1570 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate manual
Kern Sibbald [Mon, 30 Aug 2004 17:06:25 +0000 (17:06 +0000)]
Update manual

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1569 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate manual
Kern Sibbald [Mon, 30 Aug 2004 13:52:48 +0000 (13:52 +0000)]
Update manual
Fix CDROM script to handle non-existant files

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1568 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd new regression updates
Kern Sibbald [Sun, 29 Aug 2004 15:36:19 +0000 (15:36 +0000)]
Add new regression updates

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1567 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoComplete rescue disk integration with Bacula source
Kern Sibbald [Sun, 29 Aug 2004 15:34:47 +0000 (15:34 +0000)]
Complete rescue disk integration with Bacula source

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1566 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate
Kern Sibbald [Sat, 28 Aug 2004 22:15:26 +0000 (22:15 +0000)]
Update

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1565 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd more error checking to spooling code
Kern Sibbald [Sat, 28 Aug 2004 08:58:32 +0000 (08:58 +0000)]
Add more error checking to spooling code
Implement Ignore FileSet Changes = yes

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1564 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd new doc sed file
Kern Sibbald [Sat, 28 Aug 2004 05:54:20 +0000 (05:54 +0000)]
Add new doc sed file

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1563 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate documentation
Nicolas Boichat [Fri, 27 Aug 2004 15:43:50 +0000 (15:43 +0000)]
Update documentation

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1562 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate doc
Kern Sibbald [Fri, 27 Aug 2004 10:19:43 +0000 (10:19 +0000)]
Update doc
Add new directory for French version of the manual

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1561 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUse POOLMEM and get_memory instead of alloca in src/dird/status.c and src/stored...
Nicolas Boichat [Thu, 26 Aug 2004 23:10:41 +0000 (23:10 +0000)]
Use POOLMEM and get_memory instead of alloca in src/dird/status.c and src/stored/status.c.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1560 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd new XPM and removed old ones.
Nicolas Boichat [Thu, 26 Aug 2004 09:34:06 +0000 (09:34 +0000)]
Add new XPM and removed old ones.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1559 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate doc make width slightly larger
Kern Sibbald [Thu, 26 Aug 2004 08:08:36 +0000 (08:08 +0000)]
Update doc make width slightly larger

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1558 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd missing job status messages
Nicolas Boichat [Wed, 25 Aug 2004 23:07:41 +0000 (23:07 +0000)]
Add missing job status messages

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1557 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoThe left light now blinks when a job is running
Nicolas Boichat [Wed, 25 Aug 2004 22:54:33 +0000 (22:54 +0000)]
The left light now blinks when a job is running

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1556 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd RefreshInterval to tray-monitor.conf
Nicolas Boichat [Wed, 25 Aug 2004 13:13:33 +0000 (13:13 +0000)]
Add RefreshInterval to tray-monitor.conf

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1555 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Add spin button to set refresh interval.
Nicolas Boichat [Wed, 25 Aug 2004 12:20:01 +0000 (12:20 +0000)]
- Add spin button to set refresh interval.
- Add button to force refresh.
- Left light on the cassette indicate the current status, right indicates the status of the last job.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1554 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Applied a patch from Peter Eriksson that removes a dynamic stack
Kern Sibbald [Tue, 24 Aug 2004 12:18:45 +0000 (12:18 +0000)]
- Applied a patch from Peter Eriksson that removes a dynamic stack
  allocation (replaced by alloca) and fixes some const problems.
- Fixed a free() of a static variable in the new IP code bnet.c
- Got the new Bacula Rescue CDROM booting.
- Replaced a dynamic template by a simple store when using the
  native C compiler.
- Reworked some of the block.c error handling.
- Changed a Dmsgx(000, to Dmsgx(100 in dev.c that was dumping
  debug output on a user.
- Integrated patch from 1.34.6 block.c to 1.35

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1553 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd Monitor in documentation.
Nicolas Boichat [Tue, 24 Aug 2004 11:52:27 +0000 (11:52 +0000)]
Add Monitor in documentation.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1552 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd support for director monitoring.
Nicolas Boichat [Sun, 22 Aug 2004 22:02:45 +0000 (22:02 +0000)]
Add support for director monitoring.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1551 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFix .status return codes.
Nicolas Boichat [Sun, 22 Aug 2004 20:21:14 +0000 (20:21 +0000)]
Fix .status return codes.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1550 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Add default Console resource in src/dird/bacula-dir.conf.in with
Nicolas Boichat [Sun, 22 Aug 2004 17:37:46 +0000 (17:37 +0000)]
- Add default Console resource in src/dird/bacula-dir.conf.in with
  access restricted to commands used by tray-monitor: status and
  .status.
- Add default Director ressource in src/filed/bacula-fd.conf.in and
  src/stored/bacula-sd.conf.in with Monitor directive enabled.
- Add .status dir [current|last] command to dird.
- Add Monitor directive in fd/sd configuration file (restrict
  access to status and .status commands).

@meno: I made some changes in src/filed/authenticate.c and
  src/stored/authenticate.c, which must be adapted to your new
  authentication code. Please contact me if you have any questions.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1549 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoGenerate mon_*_passwords in configure
Nicolas Boichat [Sun, 22 Aug 2004 13:45:42 +0000 (13:45 +0000)]
Generate mon_*_passwords in configure

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1548 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFetch status of all the daemons present in the config file. Fix compilation warnings.
Nicolas Boichat [Sun, 22 Aug 2004 00:07:44 +0000 (00:07 +0000)]
Fetch status of all the daemons present in the config file. Fix compilation warnings.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1547 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Add .status [current|last] command to filed and stored
Nicolas Boichat [Thu, 19 Aug 2004 20:18:50 +0000 (20:18 +0000)]
- Add .status [current|last] command to filed and stored

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1546 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoJust a namechange. The cause is the suncc
Meno Abels [Thu, 19 Aug 2004 18:39:51 +0000 (18:39 +0000)]
Just a namechange. The cause is the suncc
said that a member that is named buf hides a method
parameter buf.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1545 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Set WANT_AUTOCONF to 2.5 before running autoconf and autoheader in the main Makefil...
Nicolas Boichat [Tue, 17 Aug 2004 19:19:40 +0000 (19:19 +0000)]
- Set WANT_AUTOCONF to 2.5 before running autoconf and autoheader in the main Makefile (force Gentoo to use the newer version of autoconf/autoheader).
- Add HAVE_GTK_2_4 in autoconf/config.h.in

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1544 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFix make depend error.
Nicolas Boichat [Tue, 17 Aug 2004 16:16:42 +0000 (16:16 +0000)]
Fix make depend error.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1543 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFix alignement in usage.
Nicolas Boichat [Tue, 17 Aug 2004 16:15:05 +0000 (16:15 +0000)]
Fix alignement in usage.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1542 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFix conio.h problem on Solaris
Kern Sibbald [Tue, 17 Aug 2004 14:40:27 +0000 (14:40 +0000)]
Fix conio.h problem on Solaris
Add debug code to lock_jcr_chain
Implement call by reference for Mmsg() and pm_strxxx()

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1541 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate version
Kern Sibbald [Tue, 17 Aug 2004 07:31:54 +0000 (07:31 +0000)]
Update version

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1540 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFix copyright dates.
Nicolas Boichat [Mon, 16 Aug 2004 22:18:58 +0000 (22:18 +0000)]
Fix copyright dates.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1539 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Add about and close buttons in status window
Nicolas Boichat [Mon, 16 Aug 2004 19:36:36 +0000 (19:36 +0000)]
- Add about and close buttons in status window
- Implement about dialog
- Add icon to status window (the same as the tray icon)

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1538 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoNew configure
Kern Sibbald [Mon, 16 Aug 2004 14:38:55 +0000 (14:38 +0000)]
New configure

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1536 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Add command line parameter to select default daemon to monitor.
Nicolas Boichat [Sun, 15 Aug 2004 22:50:49 +0000 (22:50 +0000)]
- Add command line parameter to select default daemon to monitor.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1535 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- Add support for storage daemon.
Nicolas Boichat [Sun, 15 Aug 2004 20:00:34 +0000 (20:00 +0000)]
- Add support for storage daemon.
- Add popup menu to select the file/storage daemon which is currently monitored.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1534 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd test for gtk+-2.0 in configure for tray-monitorcd '/home/nicolas/dev/bacula/autoconf'
Nicolas Boichat [Sun, 15 Aug 2004 10:21:07 +0000 (10:21 +0000)]
Add test for gtk+-2.0 in configure for tray-monitorcd '/home/nicolas/dev/bacula/autoconf'

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1533 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFirst working version
Nicolas Boichat [Sat, 14 Aug 2004 23:44:05 +0000 (23:44 +0000)]
First working version

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1532 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate configure
Kern Sibbald [Sat, 14 Aug 2004 16:08:46 +0000 (16:08 +0000)]
Update configure

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1531 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoMore plug()s in attribs.c
Kern Sibbald [Sat, 14 Aug 2004 14:10:11 +0000 (14:10 +0000)]
More plug()s in attribs.c

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1530 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoDoc updates
Kern Sibbald [Sat, 14 Aug 2004 12:13:39 +0000 (12:13 +0000)]
Doc updates

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1529 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoadd src/tray-monitor directory
Nicolas Boichat [Sat, 14 Aug 2004 11:45:47 +0000 (11:45 +0000)]
add src/tray-monitor directory

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1528 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoPrint error if Alert command fails + doc
Kern Sibbald [Sat, 14 Aug 2004 10:22:50 +0000 (10:22 +0000)]
Print error if Alert command fails + doc

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1527 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoRemove unnecessary class in attribs.c
Kern Sibbald [Sat, 14 Aug 2004 08:35:12 +0000 (08:35 +0000)]
Remove unnecessary class in attribs.c
Add two empty files to new tray-monitor directory

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1526 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoAdd src/tray-monitor directory
Nicolas Boichat [Fri, 13 Aug 2004 23:03:40 +0000 (23:03 +0000)]
Add src/tray-monitor directory

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1525 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- wxbHistoryTextCtrl : Fixed Win32 build error
Nicolas Boichat [Fri, 13 Aug 2004 21:51:38 +0000 (21:51 +0000)]
- wxbHistoryTextCtrl : Fixed Win32 build error

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1524 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoImplement class template for automatic casting uint64_t to stat packet fields
Kern Sibbald [Fri, 13 Aug 2004 21:22:59 +0000 (21:22 +0000)]
Implement class template for automatic casting uint64_t to stat packet fields

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1523 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoSome VC++ modifications
Kern Sibbald [Fri, 13 Aug 2004 20:27:05 +0000 (20:27 +0000)]
Some VC++ modifications

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1522 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoApply Martin's patch to compat.cpp inet_ntoa
Kern Sibbald [Fri, 13 Aug 2004 19:22:04 +0000 (19:22 +0000)]
Apply Martin's patch to compat.cpp inet_ntoa

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1521 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoApply Meno's bnet.c patch and enable SMARTALLOC in IPADDR
Kern Sibbald [Fri, 13 Aug 2004 14:59:45 +0000 (14:59 +0000)]
Apply Meno's bnet.c patch and enable SMARTALLOC in IPADDR

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1520 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUndo a few changes in address_conf.h and
Kern Sibbald [Fri, 13 Aug 2004 09:35:53 +0000 (09:35 +0000)]
Undo a few changes in address_conf.h and
smartalloc.h so that it works here without IP6 defined

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1519 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- general : implemented command completion and interactive help.
Nicolas Boichat [Thu, 12 Aug 2004 23:15:40 +0000 (23:15 +0000)]
- general : implemented command completion and interactive help.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1518 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago!!! I didn't run the regression tests.!!!
Meno Abels [Thu, 12 Aug 2004 22:13:51 +0000 (22:13 +0000)]
!!! I didn't run the regression tests.!!!

1. Find and fix the memory leak (most likely in address_conf.c)

in address_conf there was no memory leak-:) the parser calls my init_default_addresses
but also resets the datastructurs by memset so allocated resource will be lost.
I added the pass number to init_defaults so that i could call my init_default only once
per server.

2. Find some why to have smartalloc work correctly with new.
   *Please* note, you cannot simply put everything on SMARTALLOC --
   this will not work because some of the delete's *must* de-allocate
   all the items in the list. I.e. by default, my lists own the
   list items.

There was a missing  brace
in the use of my new operator to write new(fname, line) Type in the define.
And also there was some operator definitions in dlist,alist,htable which causes
that trouble.
I only added the SMARTALLOC to all classes these are generated by new and removed
by delete.

3. I believe I've fixed the byte order problem by modifying get_port().
   However, if you turn on the debug statement at the top of
   init_bnet() src/lib/bnet.c:917 by setting the 100 to 000, you will
   see that the host address is not correct in all cases.

Kern and I decided to add
 get_port_net_order
 get_port_host_order
 get_first_port_net_order
 get_first_port_host_order
to the code.

4. Eliminate the use of inet_addr() -- it is deprecated.

Done

5. Check the SetIP command in src/dir/fd_cmds.c

fixed mixup of sockaddr and in_addr

6. There is too much #ifdefing in the code to deal with IPv4 and IPv6
   I don't mind it in bnet.c and bnet_server.c (too much), but we should
   try to eliminate it elsewhere.

I cleaned it up.
Is this too much yes it is but, we can't reach the heaven in one day-:)
./lib/address_conf.c:#ifdef HAVE_IPV6
./lib/address_conf.c:#ifdef HAVE_IPV6
./lib/address_conf.c:#ifdef HAVE_IPV6
./lib/address_conf.c:#ifdef HAVE_IPV6
./lib/address_conf.c:#ifdef HAVE_IPV6
./lib/address_conf.c:#ifdef HAVE_IPV6
./lib/address_conf.c:#ifdef HAVE_IPV6
./lib/address_conf.c:#ifdef HAVE_IPV6
./lib/address_conf.c:#ifdef HAVE_IPV6
./lib/address_conf.c:#ifdef HAVE_IPV6
./lib/address_conf.c:#if defined(HAVE_INET_NTOP) && defined(HAVE_IPV6)
./lib/address_conf.c:#ifdef HAVE_IPV6
./lib/address_conf.c:#ifdef HAVE_INET_NTOP
./lib/address_conf.h:#ifdef HAVE_IPV6
./lib/address_conf.h:#ifdef HAVE_IPV6
./lib/address_conf.h:#ifdef HAVE_IPV6
./lib/bnet.c:#ifdef HAVE_IPV6
./lib/bnet.c:#ifdef HAVE_IPV6
./lib/bnet.c:#ifdef HAVE_IPV6
./lib/bnet.c:#ifdef HAVE_IPV6
./lib/bnet.c:#ifdef HAVE_IPV6
./lib/bnet_server.c:#ifndef HAVE_INET_NTOP
./lib/bnet_server.c:#ifdef HAVE_INET_NTOP

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1517 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoMisc -- see techlog
Kern Sibbald [Thu, 12 Aug 2004 18:58:13 +0000 (18:58 +0000)]
Misc -- see techlog

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1516 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoImplement .help command.
Nicolas Boichat [Sat, 7 Aug 2004 21:44:23 +0000 (21:44 +0000)]
Implement .help command.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1515 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoA few changes for Win32
Kern Sibbald [Fri, 6 Aug 2004 21:57:03 +0000 (21:57 +0000)]
A few changes for Win32
Implement reader in Dir and FD
Rework SQL for pruning
Add Admin pruner
No commas in JobIds printed in restore command

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1514 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago - wxbRestorePanel : now parsing '+' sent by the director when building tree.
Nicolas Boichat [Fri, 6 Aug 2004 15:14:36 +0000 (15:14 +0000)]
 - wxbRestorePanel : now parsing '+' sent by the director when building tree.
 - wxbRestorePanel : implemented .backups client=xxx (2.1).

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1513 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- wxbRestorePanel : fixed compile error
Nicolas Boichat [Fri, 6 Aug 2004 13:19:36 +0000 (13:19 +0000)]
- wxbRestorePanel : fixed compile error

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1512 91ce42f0-d328-0410-95d8-f526ca767f89

20 years ago- wxbRestorePanel : implemented the director modification showing jobid when a job...
Nicolas Boichat [Fri, 6 Aug 2004 13:00:40 +0000 (13:00 +0000)]
- wxbRestorePanel : implemented the director modification showing jobid when a job is started.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1511 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoCreate Developers manual
Kern Sibbald [Fri, 6 Aug 2004 12:30:04 +0000 (12:30 +0000)]
Create Developers manual
Add prompt for update volume(s) from pool

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1510 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoImplement user friendly time duration input editing
Kern Sibbald [Thu, 5 Aug 2004 21:02:51 +0000 (21:02 +0000)]
Implement user friendly time duration input editing
Add buf len argument to edit_utime

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1509 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoFix new FileSet exclusion
Kern Sibbald [Thu, 5 Aug 2004 11:51:54 +0000 (11:51 +0000)]
Fix new FileSet exclusion
Implement update all Volumes from pool
File update volume from pool
Implement Alert command in SD
Add eliminate orphaned Client records to dbcheck

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1508 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoUpdate projects
Kern Sibbald [Tue, 3 Aug 2004 13:11:27 +0000 (13:11 +0000)]
Update projects

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1507 91ce42f0-d328-0410-95d8-f526ca767f89

20 years agoMinor changes in formating and to address_conf.c
Kern Sibbald [Tue, 3 Aug 2004 11:26:30 +0000 (11:26 +0000)]
Minor changes in formating and to address_conf.c

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1506 91ce42f0-d328-0410-95d8-f526ca767f89