]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/technotes
Merge branch 'master' of ssh://bacula.git.sourceforge.net/gitroot/bacula/bacula
[bacula/bacula] / bacula / technotes
index e1bde67bdc3522a8e236214d77952c1132e2136b..25ff578a775a48b2ece48aa76056c0177099a891 100644 (file)
@@ -1,6 +1,359 @@
-              Technical notes for current SVN
+              Technical notes for current GIT
           
 General:
+
+01Sep09
+kes  Eliminate xattr.c compiler warning
+31Aug09
+ebl  Prohibit copy and assignment in db_list_ctx.
+mvw  Exclude OSX resource forks from saving using the xattr code
+     Exclude OSX acl data from saving using the xattr code when
+     normal acl mode is also enabled.
+     Make excluding certain xattr in the generic functions somewhat
+     easier for certain OS specific attributes.
+30Aug09
+kes  Fix Win32/64 build
+kes  Fix bug #1355 Director crashes with double free in Accurate SQL query
+ebl  Prohibit copy and assignment in Bvfs.
+28Aug09
+kes  Fix bug #1357 Verify jobs fail when job has zero files
+26Aug09
+kes  Fix possible seg fault in db_get_int_handler in accurate code
+kes  Release orphanned buffers in accurate code.
+25Aug09
+kes  Suppress some error messages generated after cancelling a job.
+     This should reduce some of the unwanted error messages after
+     a job has been canceled as described in bug #1354. However,
+     there are many other places.
+24Aug09
+kes  Apply and commit Lorenz Schori <lo@znerol.ch> patch for OSX
+   * Add platforms/osx/{build,dl,products,tools} to .gitignore
+   * Put configuration files into /Library/Preferences/bacula in order to  
+     simplify access to the for Mac Users without Shell experience and to  
+     prevent loss of configuration after upgrades.
+   * Complete Info.plist in order to prevent Installer.app on 10.4 from  
+     displaying "My Great App" instead of "Bacula File Daemon x.y.z" in the  
+     welcome screen.
+   * Add the README file to platforms/osx
+kes  Confirmation of procedure suggested for upgrading from SQLite2
+     to SQLite3.  This fixes bug #1351.  Procedure is:
+     echo ".dump" | sqlite bacula.db >bacula.sql
+     mv bacula.db bacula.db.old
+     sed -i -e 's%INTEGER UNSIGNED AUTOINCREMENT,%INTEGER,%g' bacula.sql
+     (note: the above only works on Linux systems. On some systems
+      the -i option is not available. Adapt as necessary)
+     sqlite3 bacula.db
+     .quit
+     sqlite3 bacula.db <bacula.sql
+     rm -f bacula.sql
+23Aug09
+ebl  Run job when double-click in Jobs list item
+ebl  Simplify the code to make TableWidget in read-only
+kes  Free Volume in several places. Fixes virtual-changer problem
+     and possibly bug #1346.
+kes  Add SD Volume debug code
+22Aug09
+kes  Don't print different filesystem. Will not descend 
+     message if directory explicitly excluded
+21Aug09
+ebl  Tweak status storage slot command to release db lock just
+     after the usage.
+kes  Rework the bsock.h class to put public structures last
+20Aug09
+kes  Integrate patch for building dmg on OSX from Lorenz Schori <lo@znerol.ch>
+kes  Add commas in num files for estimate command
+19Aug09
+kes  Fix bat crash due to alignment diff in bat and core code
+     In bsock.h, exact reason unknown.
+kes  Ensure timestamp put in SQL log
+15Aug09
+kes  Modify acquire alogrithm so jobs do not block during despooling
+     This can give significantly more parallelism
+ebl  Fix couple of segfault with new ACL/XATTR code
+kes  Apply Marco's branch with jcr structure cleanup
+kes  Apply Marco's branch with new acl/xattr code
+13Aug09
+ebl  update lock manager to display file:line all the time
+kes  Make SD lock tracing work again. Has not worked for some time.
+ebl  bat: Add a re-run button on job info page, that allows to
+          run the selected job with the same properties (level, pool, 
+          etc...)
+ebl  bat: tweak the run job window to make it a bit more sexy
+12Aug09
+kes  Make new big-virtual-changer test. Test concurrency.
+ebl  Add .lsfiles, .lsdirs, .update command to interface user with bvfs object
+10Aug09
+kes  Pull Philipp Storz' bacula.spec changes for OpenSuSE build service
+kes  Implement MaximumConcurrentJobs for SD devices.
+     This should significantly help spread jobs among different drives.
+09Aug09
+kes  Fix bug #1344 show pool displayed wrong variable for maxvolbytes
+kes  Fix compiler warnings in acl and xattr code
+kes  Fix screw up with setting JobLevel and JobType
+kes  Change version
+kes  Apply Marco's acl/xattr rework code
+08Aug09
+ebl  bat: display a Warning icon when having Errors>0 and Status=T
+07Aug09
+ebl  bvfs: Add example to list files versions
+ebl  bvfs: Fix directory listing
+ebl  bvfs: Add limit/offset implementation to save resources on director
+ebl  bvfs: Create cache tables on the fly when using Bvfs object (for testing)
+06Aug09
+ebl  Document FT_DELETED FileIndex=0 special value in database Schema
+ebl  Add a new Bvfs class that implements brestore instant navigation
+     cache inside Bacula. Works for Mysql, Postgresql and Sqlite3
+kes  bat: fix compiler warning for unreferenced argument
+04Aug09
+ebl  bat: Go to the media info panel when double-click on job page or media list
+ebl  bat: cleanup job and mediainfo panel
+03Aug09
+ebl  Add new media info panel to bat
+02Aug09
+kes  Remove old sqlite3 build from bacula.spec
+kes  Move bat from bacula.spec to bacula-bat.spec
+kes  Remove installing gconsole start script from Makefile.in
+01Aug09
+ebl  Add Job Info panel to bat
+30Jul09
+ebl  Add restore from multiple storage functionality with
+     a part of Graham's patch.
+kes  Add 'show disabled' command that lists the disabled jobs.
+kes  Modify enable/disable commands to show only appropriate Jobs.
+29Jul09
+kes  Add ACL check for client in estimate command
+ebl  Change time_t by utime_t in accurate function
+kes  Start reworking 3.0.2 bacula.spec file
+     - Add SuSE build codes
+     - Add depkgs-qt so bat can build on any system
+     - Reorganize defines
+26Jul09
+kes  Tweak RedHat spec files
+24Jul09
+kes  Add format to a fprintf
+kes  Attempt to fix SQLite seg fault problem
+23Jul09
+kes  Fix int/int32_t problem in accurate_add_file 
+     reported by "Eli Shemer" <elish@consist.co.il>
+kes  Remove Qt 4.4 code so it compiles on 4.3 (setHeaderHidden).
+22Jul09
+kes  Apply idea of part of Graham's tidy-bsr-source.patch, but modified
+kes  Fix bug #1337 Console tries to build with SSL when libssl-dev not installed. 
+21Jul09
+kes  Add setJobStatus method to JCR class.
+kes  Modify setJobStatus so cancel has same priority as fatal errors
+20Jul09
+kes  Fix Solaris compiler warning in signal.c
+
+Release version 3.0.2:
+18Jul09
+kes  Fix bat command line input bug
+17Jul09
+ebl  Fix sql query for sqlite on suse10 on copy job
+16Jul09
+ebl  tweak some bat screens
+ebl  Replace info_msg by send_msg in status slots command.
+ebl  Fix #1323 about a problem when mounting a requested volume
+     during a restore.
+15Jul09
+kes  Make CONF::init header and .c file agree about types.
+     Reported by "Eli Shemer" <elish@consist.co.il>
+kes  Fix Win64 build
+kes  Add more example SD Device configurations.
+ebl  Force the client_encoding to SQL_ASCII when database is already
+     using this mode.
+ebl  Fix #1335 about postgresql error message during copy session
+ebl  Cleanup old job records when starting the director 
+     (Created/Running -> Failed)
+14Jul09
+kes  Tweak debug print in accurate
+kes  Apply patch in bug #1315 by McMichaeli that fixes scripts/logwatch
+kes  Add more output when spooling and no space left
+ebl  Fix postgresql driver bug that displayed <NULL> rows from time to time.
+kes  More cleanup of bootstrap
+ebl  Implement the project 'restore' menu: enter a JobId, automatically 
+     select dependents
+ebl  Should fix #1323 about verify accurate jobs and deleted files.
+13Jul09
+kes  Send bootstrap directly from DIR to SD
+kes  Create build scripts for Win64 somewhat equivalent to the Win32 ones.
+10Jul09
+ebl  Print correct JobId in bls, should fix #1331
+kes  Apply python detect patch from Bastian Friedrich <bastian.friedrich@collax.com>
+09Jul09
+kes  Add --with-hostname to ./configure
+mvw  Changed ACL_OTHER into ACL_OTHER_OBJ as IRIX doesn't seem to have
+     ACL_OTHER. Fixes bug #1333
+04Jul09
+mvw  Change checking for acl and xattr support from first file to
+     job level.
+mvw  Call acl and xattr function only when requested for fileset
+     and filed has support for acl or xattr
+mvw  Fix typo introduces by fix for bug #1305
+03Jul09
+ebl  Should fix the first part #1323 about the restore option
+     'List Jobs where a given File is saved' which display deleted files
+02Jul09
+kes  Another fix for bug #1311 to get the correct last_full_time
+ebl  Make estimate command accurate compatible. Should fix #1318
+ebl  Add estimate accurate=yes/no
+ebl  Change the code to check jcr->accurate and not jcr->job->accurate
+01Jul09
+kes  Fix bug #1317 Allow duplicate jobs = no does not work
+kes  Eliminate double job report when do_xxx_init() returns failure
+kes  Add debug code to MaxDiffInterval
+29Jun09
+kes  Change bacula-dir.conf default job name from Client1 to BackupClient1.
+28Jun09
+mvw  Fix missing case for NetBSD xattr restores.
+27Jun09
+kes  Fix Win32 build -- turn off lockmgr and remove lockmgr defs
+25Jun09
+kes  Modify xattr.c and acl.c not to fail the job on errors. This should
+     fix bug #1305.
+23Jun09
+mvw  Fix 2 rather big bugs in the xattr and acl code and fix a small
+     memory leak on a particular code path for Linux xattr/acl handling.
+ebl  Update FileSetId when initializing job.
+ebl  Fix compilation problem with message.c
+ebl  Add '*' when volume is online when displaying volume list in restore. Should
+     complete project 31.
+21Jun09
+kes  Re-fix bug #1311 if MaxDiffInterval exceeded ensure job upgraded
+18Jun09
+kes  Add all Job Types to job_type_to_str() for bat.
+kes  Fix bug #1311 if MaxDiffInterval exceeded ensure job upgraded
+17Jun09
+kes  Fix bug #1305 make errors obtaining acl during backup non-fatal
+kes  Fix bug #1309 inappropriate error message during btape fill command
+kes  Fix bug #1307 AllowHigherDuplicates=no prevents automatic job escalation
+12Jun09
+kes  Remove non-portable code referencing pthread_t fixes bug #1308.
+kes  Create patch that may fix bug #1298 and bug #1304, which causes
+     an SD crash after canceling a job.
+08Jun09
+kes  Attempt to get bat conf file installation to work with DESTDIR
+05uun09
+kes  Improve error messages when a migration sql query is used and correct
+     the problem identified in bug #1303 with starting Job names
+     containing spaces.
+ebl  Fix #1306 about a problem when building the static bconsole
+26May09
+ebl  Apply Steve Polyack patch to add DirSourceAddress and FDSourceAddress
+     directives. That permits to choose the outgoing interface.
+25May09
+mvw  Allow acl and xattr to be explicitly enabled and fail the configure
+     if we are asked to enable acl or xattr support and the OS doesn't support
+     acls or xattrs.
+23May09
+kes  Create Client record in database at startup -- makes bat work better.
+kes  Turn off useless End of file message during restore.
+kes  When doing a tree selection restore, look at the PurgedFiles column
+     in the first JobId, and if non-zero, the Job was purged, so do
+     not do selection.
+kes  Yet another try to get qmake to install bat correctly. It looks
+     like the trick is to have an executable bat file when qmake is
+     run during ./configure.
+21May09
+kes  Add Catalog = all to the default Messages resource.
+19May09
+ebl  Fix #1029 about IPV6/IPV4 address resolution order with help
+     of David Steinn Geirsson.
+kes  During jcr destruction hold jcr_chain lock only for minimum
+     time necessary.  This should fix the SD deadlock in bug #1287.
+18May09
+kes  Simplify messages printed by SD when reserve fails. This
+     should fix bug #1285.
+16May09
+kes  Create archivedir.
+15May09
+kes  Yet another attempt to get qmake to generate valid Makefiles
+     that installs the binaries. It seems to require the binary to
+     exist at qmake time :-(
+14May09
+kes  Apply fix to sql_cmds.c suggested by
+     Ulrich Leodolter <ulrich.leodolter at obvsg.at>
+     which prevents restore by file selection from using
+     Copy jobs.
+kes  Add new nagios_plugin_check_bacula.tgz from
+     Masopust, Christian <christian.masopust at siemens.com>
+kes  Reduce bconsole help to fit in 80 columns
+kes  Add bconsole @help command
+kes  Fix Show FileSet command to handle spaces
+kes  Allow specification of base daemon resource name.
+     --with-basename=<name>
+kes  Fix bat to automatically use installed bat.conf
+kes  bat was not installed even if configured. Fix by working
+     around apparent bug in qmake.
+13May09
+ebl  Turn on lockmanager when using DEVELOPER flag
+07May09
+kes  Fix typo in Solaris acl code.
+kes  Remove junk from configure.in
+06May09
+kes  Update projects file.
+04May09
+kes  Add --with-bsrdir and --with-logdir for placement of Bacula bsr
+     files and Bacula log files.
+
+Release Version 3.0.1:
+29Apr09
+kes  Fix bug #1282 Setting job.Priority in python crashes director by
+     checking if string addr is NULL.  Not tested.
+kes  Fix bug #1281 allow all on restore command line to restore
+     pruned JobIds without prompting.
+28Apr09
+dirk Correct bat Select dialog. Fixes bug #1276.
+kes  Check for job_canceled() in fd_plugin code.
+kes  Update Win32 table creation to have new DB version 11 format
+kes  Remove illegal Options in Exclude of default Win32/64 bacula-dir.conf
+27Apr09
+ebl  Fix bug #1274 where a migration job can be canceled like the
+     original job by the MaxRunTime directive.
+mvw  Added fix for bug #1275 where acl or xattr data is saved for
+     virtual filenames generated by filed plugins.
+26Apr09
+ebl  Remove 'Reposition' message when restoring
+kes  Fix platform scripts not to clean configured files during
+     'make clean' use 'make distclean' to clean everything. Fixes
+     bug #1272.
+kes  Update projects file
+21Apr09
+ebl  Tweak version string to display versionid field at the end
+     and keep fields order.
+16Apr09
+kes  Add additional mysql connection debug code submitted by:
+     Chandranshu <chandranshu@gmail.com>
+14Apr09
+kes  Fix bug #1246 Sometimes access denied with VSS enabled. UCS
+     conversion cache was not properly flushed at the end of a Job.
+kes  Fix bug #1268 Full Max Run Time cancels jobs (when Max Run Time = 0).
+11Apr09
+kes  Modify insertion of read Volumes in SD to be done before the
+     drive reservation. This ensures that a Volume to be read will not
+     be reserved for writing. Significant enhancement.
+
+Release Version 3.0.0
+06Apr09
+kes  Change default plugins dir to /usr/lib.
+05Apr09
+kes  Fix Win32 make clean to clean correctly 
+kes  Cleanup Win installer dialog messages a bit ...
+04Apr09
+kes  Separate object/binaries in Win32 and Win64 builds. More to be done.
+kes  Add bconsole to Win64 installer.
+03Apr09
+kes  Implement more automatic build of Win64 client. Note, there are still
+     lots of warning messages, but it seems to build a correct binary.
+02Apr09
+kes  Enhance Job messages from SD when the FD->SD protocol is incorrect
+     and the SD hangs up. Previously this looked like a comm error.
+mvw  Fixed problem in xattr and acl code trying to send empty acl or xattr
+     streams.
+mvw  Fix for bug #1261 where we send out a null stream when a file only an
+     acl and xattr support is also turned on.
+mvw  Added some warnings to configure when using libtool and static in
+     one configure.
 30Mar09
 ebl  Fix small memory leak in fileregexp bsr code
 29Mar09
@@ -11,14 +364,14 @@ kes  Add code to FD plugin driver to make a copy of the plugin
 kes  Directly mark all files saved by plugin as being seen for Accurate.
 kes  Add checks on the plugin version and the plugin license. Currently
      only implemented for FD plugins.
-kes  Add installation of /usr/share/doc/bacula-VERSION
+kes  Add installation of /usr/share/doc/bacula
 kes  Modify plugin checkFile to return bRC_Seen to cause file
      to remain.  Previously was true/false.
 27Mar09
 kes  Implement installation of bat help files
      The help files are installed in the htmldoc dir and can be set
      by --htmldoc=xxx on the ./configure. Default is:
-     /usr/share/doc/bacula-version/html
+     /usr/share/doc/bacula/html
 kes  Update projects file
 kes  Apply patch from  Pasi Karkkainen <pasik@iki.fi> that adds
      Previous Job name to migrate job report.
@@ -28,7 +381,7 @@ kes  Apply bacula-autoconf-db-m4.patch from Kjetil Torgrim Homme
      for the SQL database engine. Fixes a build problem if the static
      libraries are not loaded.
 25Mar09
-ebl  Update Makefiles to compile win64 using "make WIN64=yes"
+ebl  Update Makefiles to compile win64 using 'make WIN64=yes'
 kes  Disable plugin options in ua_run.c
 kes  Added the following to provide solutions to the plugin/Accurate
      problem -- bug #1236 Cannot restore incremental backups with 
@@ -213,7 +566,7 @@ kes  Fix bug #1208
 Beta Release 2.5.16-b1
 20Dec08
 ebl  Work on copy jobs
-     - Add "list copies" command
+     - Add 'list copies' command
      - Add JT_JOB_COPY type for job copies
      - Don't allow copy jobs in automatic restore
      - Promote next copy job as backup when original job is deleted