From: <ke...@us...> - 2008-09-13 12:12:51
|
Revision: 7587 http://bacula.svn.sourceforge.net/bacula/?rev=7587&view=rev Author: kerns Date: 2008-09-13 12:13:01 +0000 (Sat, 13 Sep 2008) Log Message: ----------- kes Add host name to items printed during dump. kes Make Check File Changes default on. Modified Paths: -------------- trunk/bacula/scripts/btraceback.gdb trunk/bacula/src/dird/inc_conf.c trunk/bacula/src/lib/message.c trunk/bacula/technotes-2.5 Modified: trunk/bacula/scripts/btraceback.gdb =================================================================== --- trunk/bacula/scripts/btraceback.gdb 2008-09-11 12:27:49 UTC (rev 7586) +++ trunk/bacula/scripts/btraceback.gdb 2008-09-13 12:13:01 UTC (rev 7587) @@ -6,6 +6,7 @@ print host_os print distname print distver +print host_name bt thread apply all bt f 0 Modified: trunk/bacula/src/dird/inc_conf.c =================================================================== --- trunk/bacula/src/dird/inc_conf.c 2008-09-11 12:27:49 UTC (rev 7586) +++ trunk/bacula/src/dird/inc_conf.c 2008-09-13 12:13:01 UTC (rev 7587) @@ -126,8 +126,8 @@ {"hfsplussupport", store_opts, {0}, 0, 0, 0}, {"noatime", store_opts, {0}, 0, 0, 0}, {"enhancedwild", store_opts, {0}, 0, 0, 0}, - {"drivetype", store_drivetype, {0}, 0, 0, 0}, - {"checkfilechanges",store_opts, {0}, 0, 0, 0}, + {"drivetype", store_drivetype, {0}, 0, 0, 0}, + {"checkfilechanges",store_opts, {0}, 0, 0, 1}, {"strippath", store_opts, {0}, 0, 0, 0}, {"honornodumpflag", store_opts, {0}, 0, 0, 0}, {NULL, NULL, {0}, 0, 0, 0} Modified: trunk/bacula/src/lib/message.c =================================================================== --- trunk/bacula/src/lib/message.c 2008-09-11 12:27:49 UTC (rev 7586) +++ trunk/bacula/src/lib/message.c 2008-09-13 12:13:01 UTC (rev 7587) @@ -54,6 +54,7 @@ time_t daemon_start_time = 0; /* Daemon start time */ const char *version = VERSION " (" BDATE ")"; char my_name[30]; /* daemon name is stored here */ +char host_name[50]; /* host machine name */ char *exepath = (char *)NULL; char *exename = (char *)NULL; int console_msg_pending = false; @@ -108,6 +109,9 @@ char cpath[1024]; int len; + if (gethostname(host_name, sizeof(host_name)) != 0) { + bstrncpy(host_name, "Hostname unknown", sizeof(host_name)); + } bstrncpy(my_name, name, sizeof(my_name)); if (argc>0 && argv && argv[0]) { /* strip trailing filename and save exepath */ Modified: trunk/bacula/technotes-2.5 =================================================================== --- trunk/bacula/technotes-2.5 2008-09-11 12:27:49 UTC (rev 7586) +++ trunk/bacula/technotes-2.5 2008-09-13 12:13:01 UTC (rev 7587) @@ -2,43 +2,18 @@ New features: -*Accurate files -*TLS authentication -*bextract Win32 data -*Run afterVSS -*Multiple command/console per runscript -*console command in runscript *Bat API Plugin API -*State file updated on job term PluginOptions FD Version -*Duplicate Job directives - - Allow Duplicate Jobs - - Allow Higher Duplicates - - Cancel Queued Duplicates - - Cancel Running Duplicates - Ensure they work with RerunFailedLevels -*MaxFullInterval -*MaxDiffInterval -*Honor nodump flag -*Improved status commands for Bat -*Spooling/despooling status Implement ftruncate for NFS devices -*Add long term statistics job table -* (Use Statistics) -*vtape driver -*Ignore Dir separator in console (!$%&'()*+,-/:;<>?[]^`{|}~) -*Copy jobs examples/database/dbcheck.sql dbi database driver --enable-libdb dbdriver in bacula-dir.conf --with-db-port support for Ubuntu -*status_slots -*spoolSize by Job recyclepool in dird/ua_select.co??? enhancement to wait command: wait mount ... parse config @@ -53,14 +28,16 @@ differentialmaxruntime??? incrementalmaxruntime??? optimizejobscheduling??? -*spoolsize -*usestatistics pluginoptions plugin +checkfilechanges default = yes. remove reader/writer in FOPTS???? General: +13Sep08 +kes Add host name to items printed during dump. +kes Make Check File Changes default on. 11Sep08 kes Set the default FD timeout to 3 minutes (previously 30). kes Apply Bastian Friedrich's weird spelling correction patch. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |