From: <gi...@ba...> - 2012-03-06 17:03:46
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Bacula Community manual". The branch, Branch-5.2 has been updated via 7278ec895364b93820f55ef08ed0b7aff55300ba (commit) via c5c39dcd0209071a47dd306d5a77f2de2d45f799 (commit) via b59bf92db673ac8ae840da90bc689cec8bedfa7a (commit) via e570323939f22616b65b1f2ca72ced5372c4b8e1 (commit) via d14e4923453729714ef195c73b6cd8417f0473ee (commit) via fd8d995a71de0d36feb59a6a73f03b7e36314483 (commit) via 4f43b0f08ce068a8226b3cc56cf46c5682d2c7a1 (commit) via d0e2e29580a8adcb6c0d1186e904cda5d434768e (commit) from d1032b6cae003ab8deb7b561577ba54ed94fca89 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 7278ec895364b93820f55ef08ed0b7aff55300ba Author: Kern Sibbald <ke...@si...> Date: Tue Mar 6 18:03:14 2012 +0100 Add some updates commit c5c39dcd0209071a47dd306d5a77f2de2d45f799 Author: Kern Sibbald <ke...@si...> Date: Wed Feb 22 15:14:09 2012 +0100 Make changes to bacula.org for 5.2.6 commit b59bf92db673ac8ae840da90bc689cec8bedfa7a Author: Kern Sibbald <ke...@si...> Date: Sun Feb 19 19:07:18 2012 +0100 Correct website link to current files commit e570323939f22616b65b1f2ca72ced5372c4b8e1 Author: Kern Sibbald <ke...@si...> Date: Fri Feb 3 23:30:00 2012 +0100 Correct AlwaysOpen default, which was incorrect -- Marco commit d14e4923453729714ef195c73b6cd8417f0473ee Author: Kern Sibbald <ke...@si...> Date: Fri Feb 3 23:29:23 2012 +0100 Fix typos which fail compile commit fd8d995a71de0d36feb59a6a73f03b7e36314483 Author: Eric Bollengier <er...@ba...> Date: Thu Jan 26 14:12:54 2012 +0100 update info on bvfs commit 4f43b0f08ce068a8226b3cc56cf46c5682d2c7a1 Author: Eric Bollengier <er...@ba...> Date: Thu Jan 26 13:50:51 2012 +0100 Add doc on .bvfs_clear_cache commit d0e2e29580a8adcb6c0d1186e904cda5d434768e Author: Kern Sibbald <ke...@si...> Date: Thu Jan 26 07:39:03 2012 +0100 Tweak fix news typo ----------------------------------------------------------------------- Summary of changes: diff --git a/docs/home-page/de/inc/header.php b/docs/home-page/de/inc/header.php index bbf867c..db51651 100644 --- a/docs/home-page/de/inc/header.php +++ b/docs/home-page/de/inc/header.php @@ -153,7 +153,7 @@ <div class="menuHead"> Downloads </div> <div class="menuItem"> <ul class="menuitem"> - <li class="menuItem"> <a href="http://sourceforge.net/projects/bacula/files/bacula/5.2.3/"> aktuelle Version </a> </li> + <li class="menuItem"> <a href="http://sourceforge.net/projects/bacula/files/bacula/5.2.6/"> aktuelle Version </a> </li> <!-- <li class="menuItem"> <a href="http://sourceforge.net/project/showfiles.php?group_id=50727&package_id=93946"> Patches </a> </li> --> <li class="menuItem"> <a href="http://sourceforge.net/project/showfiles.php?group_id=50727#files"> alle Versionen </a> </li> <li class="menuItem"> <a href="http://www.bacula.org/git/"> git Repository</a> </li> diff --git a/docs/home-page/de/news.txt b/docs/home-page/de/news.txt index a273bbe..6e82c8d 100644 --- a/docs/home-page/de/news.txt +++ b/docs/home-page/de/news.txt @@ -1,3 +1,68 @@ +Kern;;;22 February 2012 at 15:03 CET +We have released Bacula Version 5.2.6 to Source Forge + + Release Notes for Bacula 5.2.6 + + Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount) + +General: +-------- +The 5.2.6 version is a bug fix release. + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +If you are upgrading directly from 5.0.3 to this version, please see the +important notices below for version 5.2.3, particularly +the database upgrade and the difference in packaging the +SQL shared libraries. +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +If you store .bsr or .mail files in the Bacula working +directory, please be aware that they will all be deleted +each time the Director starts. +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +Compatibility: +-------------- + As always, both the Director and Storage daemon must be upgraded at + the same time. + + Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3 + Director and Storage daemons. There should be no need to upgrade older File + Daemons. + +New Feature: + - The restore tree cd command accepts wild cards within each + part of a path. Wild cards apply only to a single part at a + time: i.e. cd a*/b*/xx* will match abc/bcd/xxfxx + but */xx* will not match the above filename. + +Changes since 5.2.5: + +17Feb12 + - Fix old exchange-fd plugin Accurate checkFile code. + - Insert the slot field as a numeric field. + - Fix #1831 by dropping the table before creating it + - Make cd accept wildcards + - Remove bad optimization from Accurate code + - Lock read acquire in SD to prevent to read jobs getting the same thing + - Implement more robust check in other drives for tape slot wanted + - Fix lost dcr point -- memory loss in Copy/Migration + possible confusion + - Ensure that bvfs SQL link is not shared + - Fix error printing in acl and xattr code. + - Backport better error debug output for sd plugins. + - Add wait on bad connection for security + - Make mtx-changer more fault tolerant + - Fix 32/64 bit problems in SD sscanf commands + - Skip certain filesystem types on some platforms. + - Allow BVFS to browse and restore Base jobs + - Add error message to .bvfs_clear_cache command + - Fix plugin bug with multiple simultaneous jobs + +Bugs fixed/closed since last release: +1831 + +;;;; Kern;;;26 January 2012 at 07:55 CET We have released Bacula Version 5.2.5 to Source Forge Release Notes for Bacula 5.2.5 @@ -8,7 +73,7 @@ General: -------- The 5.2.5 version is a bug fix release. -Please note there was a seamingly innocent patch made to +Please note there was a seemingly innocent patch made to version 5.2.4 that had rather serious negative consequences on restarted jobs. Anyone using restarted jobs should upgrade from 5.2.4 to 5.2.5. diff --git a/docs/home-page/en/inc/header.php b/docs/home-page/en/inc/header.php index b1f8480..3a8b7f2 100644 --- a/docs/home-page/en/inc/header.php +++ b/docs/home-page/en/inc/header.php @@ -157,7 +157,7 @@ <div class="menuHead"> Downloads </div> <div class="menuItem"> <ul class="menuitem"> - <li class="menuItem"> <a href="http://sourceforge.net/projects/bacula/files/bacula/5.2.3/"> Current Files </a> </li> + <li class="menuItem"> <a href="http://sourceforge.net/projects/bacula/files/bacula/5.2.6/"> Current Files </a> </li> <!-- <li class="menuItem"> <a href="http://sourceforge.net/project/showfiles.php?group_id=50727&package_id=93946"> Patches</a> </li> --> <li class="menuItem"> <a href="http://sourceforge.net/project/showfiles.php?group_id=50727#files"> All Files </a> </li> <li class="menuItem"> <a href="http://www.bacula.org/git/"> git Repository </a> </li> diff --git a/docs/home-page/en/news.txt b/docs/home-page/en/news.txt index a273bbe..6e82c8d 100644 --- a/docs/home-page/en/news.txt +++ b/docs/home-page/en/news.txt @@ -1,3 +1,68 @@ +Kern;;;22 February 2012 at 15:03 CET +We have released Bacula Version 5.2.6 to Source Forge + + Release Notes for Bacula 5.2.6 + + Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount) + +General: +-------- +The 5.2.6 version is a bug fix release. + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +If you are upgrading directly from 5.0.3 to this version, please see the +important notices below for version 5.2.3, particularly +the database upgrade and the difference in packaging the +SQL shared libraries. +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +If you store .bsr or .mail files in the Bacula working +directory, please be aware that they will all be deleted +each time the Director starts. +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +Compatibility: +-------------- + As always, both the Director and Storage daemon must be upgraded at + the same time. + + Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3 + Director and Storage daemons. There should be no need to upgrade older File + Daemons. + +New Feature: + - The restore tree cd command accepts wild cards within each + part of a path. Wild cards apply only to a single part at a + time: i.e. cd a*/b*/xx* will match abc/bcd/xxfxx + but */xx* will not match the above filename. + +Changes since 5.2.5: + +17Feb12 + - Fix old exchange-fd plugin Accurate checkFile code. + - Insert the slot field as a numeric field. + - Fix #1831 by dropping the table before creating it + - Make cd accept wildcards + - Remove bad optimization from Accurate code + - Lock read acquire in SD to prevent to read jobs getting the same thing + - Implement more robust check in other drives for tape slot wanted + - Fix lost dcr point -- memory loss in Copy/Migration + possible confusion + - Ensure that bvfs SQL link is not shared + - Fix error printing in acl and xattr code. + - Backport better error debug output for sd plugins. + - Add wait on bad connection for security + - Make mtx-changer more fault tolerant + - Fix 32/64 bit problems in SD sscanf commands + - Skip certain filesystem types on some platforms. + - Allow BVFS to browse and restore Base jobs + - Add error message to .bvfs_clear_cache command + - Fix plugin bug with multiple simultaneous jobs + +Bugs fixed/closed since last release: +1831 + +;;;; Kern;;;26 January 2012 at 07:55 CET We have released Bacula Version 5.2.5 to Source Forge Release Notes for Bacula 5.2.5 @@ -8,7 +73,7 @@ General: -------- The 5.2.5 version is a bug fix release. -Please note there was a seamingly innocent patch made to +Please note there was a seemingly innocent patch made to version 5.2.4 that had rather serious negative consequences on restarted jobs. Anyone using restarted jobs should upgrade from 5.2.4 to 5.2.5. diff --git a/docs/home-page/en/pages/home.php b/docs/home-page/en/pages/home.php index ecbe05c..8d235e6 100644 --- a/docs/home-page/en/pages/home.php +++ b/docs/home-page/en/pages/home.php @@ -61,7 +61,7 @@ </tr> <tr height="68"> <td height="68"> - <p>26 January 2012: <strong>Bacula 5.2.5</strong> has been released.</p> + <p>22 February 2012: <strong>Bacula 5.2.6</strong> has been released.</p> <p></p> <p>See: <a href="http://www.bacula.org/en/?page=news">News</a></p> </td> diff --git a/docs/home-page/en/pages/old-donations.txt b/docs/home-page/en/pages/old-donations.txt new file mode 100644 index 0000000..f03c6ec --- /dev/null +++ b/docs/home-page/en/pages/old-donations.txt @@ -0,0 +1,64 @@ +<? require_once("inc/header.php"); ?> + +<table width="100%"> +<tr> + <td class="contentTopic"> + Donations Received + </td> +</tr> +</table> +<table width="90%" align="center"> +<tr> + <td class="content"> + <table class="news" style="width: 99%"> +<? + +$max_news = 5; +$news_counter = 0; + +// read file into an array and revert that +// revert cause array_pop always gets the last element +// +$file = "donations.txt"; +$lines = array_reverse(file($file)) or + die("No newsfile!"); + +// as long as there are lines ... +// +while(count($lines) > 0 && $news_counter < $max_news) { + // next line + $line = array_pop($lines); + + // start of news + if(eregi("^[a-z0-9]+;;;", $line)) { + // news header + list($author,$date,$time) = explode(";;;",$line); + + // news subject + $subject = array_pop($lines); + printf('<tr><td class="newsHeader">%s</td></tr>', $subject); + printf('<tr><td class="newsContent"><pre class="newsContent">'); + + continue; + } + + // end of news + if(eregi("^;;;", $line)) { + printf('</pre></td></tr>'); + printf('<tr>'); + printf('<td class="newsFooter">%s - %s, %s</td>', $date, $time, $author); + printf('</tr>'); + printf('<tr><td><img src="/images/spacer.gif" width="1px" height="15px"></td></tr>'); + $news_counter++; + continue; + } + + // news content + printf('%s', $line); +} +?> + </table> + </td> +</tr> +</table> +<? require_once("inc/header.php"); ?> diff --git a/docs/home-page/es/inc/header.php b/docs/home-page/es/inc/header.php index f5cc234..7dab841 100644 --- a/docs/home-page/es/inc/header.php +++ b/docs/home-page/es/inc/header.php @@ -156,7 +156,7 @@ <div class="menuHead"> Descargas </div> <div class="menuItem"> <ul class="menuitem"> - <li class="menuItem"> <a href="http://sourceforge.net/projects/bacula/files/bacula/5.2.3/"> Archivos actuales </a> </li> + <li class="menuItem"> <a href="http://sourceforge.net/projects/bacula/files/bacula/5.2.6/"> Archivos actuales </a> </li> <!-- <li class="menuItem"> <a href="http://sourceforge.net/project/showfiles.php?group_id=50727&package_id=93946"> Patches</a> </li> --> <li class="menuItem"> <a href="http://sourceforge.net/project/showfiles.php?group_id=50727#files"> Todos los archivos </a> </li> <li class="menuItem"> <a href="http://www.bacula.org/git/"> Repositorio de Git </a> </li> diff --git a/docs/home-page/es/news.txt b/docs/home-page/es/news.txt index a273bbe..6e82c8d 100644 --- a/docs/home-page/es/news.txt +++ b/docs/home-page/es/news.txt @@ -1,3 +1,68 @@ +Kern;;;22 February 2012 at 15:03 CET +We have released Bacula Version 5.2.6 to Source Forge + + Release Notes for Bacula 5.2.6 + + Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount) + +General: +-------- +The 5.2.6 version is a bug fix release. + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +If you are upgrading directly from 5.0.3 to this version, please see the +important notices below for version 5.2.3, particularly +the database upgrade and the difference in packaging the +SQL shared libraries. +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +If you store .bsr or .mail files in the Bacula working +directory, please be aware that they will all be deleted +each time the Director starts. +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +Compatibility: +-------------- + As always, both the Director and Storage daemon must be upgraded at + the same time. + + Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3 + Director and Storage daemons. There should be no need to upgrade older File + Daemons. + +New Feature: + - The restore tree cd command accepts wild cards within each + part of a path. Wild cards apply only to a single part at a + time: i.e. cd a*/b*/xx* will match abc/bcd/xxfxx + but */xx* will not match the above filename. + +Changes since 5.2.5: + +17Feb12 + - Fix old exchange-fd plugin Accurate checkFile code. + - Insert the slot field as a numeric field. + - Fix #1831 by dropping the table before creating it + - Make cd accept wildcards + - Remove bad optimization from Accurate code + - Lock read acquire in SD to prevent to read jobs getting the same thing + - Implement more robust check in other drives for tape slot wanted + - Fix lost dcr point -- memory loss in Copy/Migration + possible confusion + - Ensure that bvfs SQL link is not shared + - Fix error printing in acl and xattr code. + - Backport better error debug output for sd plugins. + - Add wait on bad connection for security + - Make mtx-changer more fault tolerant + - Fix 32/64 bit problems in SD sscanf commands + - Skip certain filesystem types on some platforms. + - Allow BVFS to browse and restore Base jobs + - Add error message to .bvfs_clear_cache command + - Fix plugin bug with multiple simultaneous jobs + +Bugs fixed/closed since last release: +1831 + +;;;; Kern;;;26 January 2012 at 07:55 CET We have released Bacula Version 5.2.5 to Source Forge Release Notes for Bacula 5.2.5 @@ -8,7 +73,7 @@ General: -------- The 5.2.5 version is a bug fix release. -Please note there was a seamingly innocent patch made to +Please note there was a seemingly innocent patch made to version 5.2.4 that had rather serious negative consequences on restarted jobs. Anyone using restarted jobs should upgrade from 5.2.4 to 5.2.5. diff --git a/docs/home-page/es/pages/dl.php b/docs/home-page/es/pages/dl.php new file mode 100644 index 0000000..573743c --- /dev/null +++ b/docs/home-page/es/pages/dl.php @@ -0,0 +1,198 @@ +<? require_once("inc/header.php"); ?> + +<?php + +$version = $_GET["version"]; + +$category_map = array( + "bacula" => "Source Code", + "Win32_64" => "Windows", + "rpms" => "Linux RPMs (official)", + "rpms-contrib-psheaffer" => "Linux RPMs (psheaffer)", + "rpms-contrib-fschwarz" => "Linux RPMs (fschwarz)", + "depkgs" => "Dependency package (mtx, SQLite3)", + "depkgs-qt" => "Dependency package (qt4 to build bat)" +); + +$URL = 1; +$CAT = 2; +$VER = 3; +$NAM = 4; +$SIZ = 5; +$DAT = 6; +$DLS = 7; + +function getfiles() +{ + $ch = curl_init(); + curl_setopt($ch, CURLOPT_URL, "http://sourceforge.net/projects/bacula/files/"); + curl_setopt($ch, CURLOPT_HEADER, false); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); + $res = curl_exec($ch); + curl_close($ch); + + $res = strstr($res, "All Files"); +// echo "res=$res"; + $res = str_replace("\n", "", $res); + $res = str_replace("\r", "", $res); + + // get list of all available files and their attributes + $count = preg_match_all( + // cat vers name + "!href=\"(/projects/bacula/files/([^/]+)/([^/]+)/([^/]+)/download)\"" . + // size date downloads + ".*?<td>([\d\.]+ [a-zA-Z]+)</td>.*?<td>(.*?)</td>.*?<td>(.*?)</td>!", + $res, $files, PREG_SET_ORDER); + + // remove duplicates (due to "latest files" list) + $out = array_filter_unique( + $files, create_function('$a,$b', 'return strcmp($a[1], $b[1]);')); + return $out; +} + +function array_filter_unique($array, $compare) +{ + usort($array, $compare); + for ($x = 0; $x < count($array) - 1; $x++) + if (call_user_func($compare, $array[$x], $array[$x+1]) != 0) + $out[] = $array[$x]; + if (count($array)) + $out[] = $array[count($array) - 1]; // last one is never a dupe + return $out; +} + +function versioncmp($a, $b) +{ + // [0] = entire string, [1] = major, [2] = minor, [3] = rev + for ($x = 1; $x < count($a); $x++) + { + if ($a[$x] < $b[$x]) + return -1; + if ($a[$x] > $b[$x]) + return 1; + } + + return 0; +} + +function getversions(&$files) +{ + global $VER; + + // assemble version strings into their own array + foreach ($files as $file) + $versions[] = $file[$VER]; + + // filter out versions not matching A.B.Cd format + $versions = preg_grep("/^[0-9]+\.[0-9]+\.[0-9]+[a-z]?$/", $versions); + + // split string into array at '.' and prepend original string + foreach ($versions as $version) + { + $tmp = explode(".", $version); + $out[] = array_merge((array)$version, $tmp); + } + + // remove identical versions + $out = array_filter_unique($out, "versioncmp"); + + // create result array containing original strings + for ($x = 0; $x < count($out); $x++) + $out2[] = $out[$x][0]; + + // finally, return array in reverse order (most recent version first) + return array_reverse($out2); +} + +$files = getfiles(); +$avail_versions = getversions($files); + +if ($version == "") + $version = $avail_versions[0]; + +$version_ = strtr($version, ".", "_"); + +$notes = "https://bacula.git.sourceforge.net/git/gitweb-index.cgi"; +$chglog = "http://apcupsd.cvs.sourceforge.net/viewvc/*checkout*/apcupsd/apcupsd/ChangeLog?pathrev=Release-$version_"; +$pubkey = "https://sourceforge.net/projects/apcupsd/files/apcupsd%20Public%20Key/Current%20Public%20Key/apcupsd.pub/download"; +$rpmkey = "https://sourceforge.net/projects/apcupsd/files/apcupsd%20Public%20Key/Current%20Public%20Key/rpmkey-apcupsd-0.1-3.noarch.rpm/download"; + +echo "<html>\n"; +echo "<title>Bacula $version Downloads</title>\n"; +echo "<body>\n"; +echo "<h1>Bacula $version Downloads</h1>\n"; +echo "<form method=\"get\" action=\"/en/?page=dl&\">\n"; +echo "Other Versions:\n"; +echo "<select name=\"version\">\n"; +foreach ($avail_versions as $ver) +{ + echo " <option value=\"$ver\""; + if ($ver == $version) + echo " selected=\"selected\""; + echo ">$ver</option>\n"; +} +echo "</select>\n"; +echo "<input type=\"submit\" value=\"Go\"></input>\n"; +echo "</form>\n"; +echo "<p>\n"; +echo "<a href=\"$notes\">Release Notes</a> | \n"; +echo "<a href=\"$chglog\">ChangeLog</a> | \n"; +echo "<a href=\"$pubkey\">Public Key</a> | \n"; +echo "<a href=\"$rpmkey\">RPM Public Key</a>\n"; +echo "<p>\n"; + +$colors = array("#E8E8FF", "#B9B9FF"); + +foreach ($category_map as $category => $catname) +{ + $color = 0; + $header = false; + + foreach ($files as $file) + { + $isrpm = preg_match("/\.rpm$/", $file[$NAM]); + $issig = preg_match("/\.sig$/", $file[$NAM]); + $isrel = $file[$NAM] == "ReleaseNotes"; + + if (!$issig && !$isrel && + $file[$VER] == $version && $file[$CAT] == $category) + { + // only output the table header if table won't be empty + if (!$header) + { + $header = true; + echo "<table title=\"$catname\">\n"; + echo "<tr bgcolor=\"#2E2EFF\">\n"; + echo " <th><font size=\"+1\" color=\"FFFFFF\">$catname</font></th>\n"; + echo " <th><font color=\"FFFFFF\"> Signature </font></th>\n"; + echo " <th><font color=\"FFFFFF\">Size</font></th>\n"; + echo " <th><font color=\"FFFFFF\"> Release Date </font></th>\n"; + echo " <th><font color=\"FFFFFF\"> Downloads </font></th>\n"; + echo "</tr>\n"; + } + + echo "<tr bgcolor=\"$colors[$color]\">\n"; + echo " <td><a href=\"https://sourceforge.net$file[$URL]\">$file[$NAM]</a></td></td>\n"; + if ($isrpm) + echo " <td align=\"center\">N/A</td>\n"; + else + echo " <td align=\"center\"><a href=\"https://sourceforge.net/projects/bacula/files/$category/$file[$VER]/$file[$NAM].sig/download\">sig</td>\n"; + echo " <td align=\"right\">$file[$SIZ]</td>\n"; + echo " <td align=\"center\">$file[$DAT]</td>\n"; + echo " <td align=\"center\">$file[$DLS]</td>\n"; + echo "</tr>\n"; + + $color = ($color + 1) & 1; + } + } + + if ($header) + echo "</table><br>\n"; +} + +echo "</body>\n"; +echo "</html>\n"; +?> + +<? require_once("inc/footer.php"); ?> diff --git a/docs/home-page/es/pages/home.php b/docs/home-page/es/pages/home.php index 9088a8d..306a37e 100644 --- a/docs/home-page/es/pages/home.php +++ b/docs/home-page/es/pages/home.php @@ -49,7 +49,7 @@ </tr> <tr height="68"> <td height="68"> - <p>26 Enero 2012: <strong>Bacula 5.2.5</strong> lanzado.</p> + <p>22 febrero 2012: <strong>Bacula 5.2.6</strong> lanzado.</p> <p></p> <p>Ver: <a href="http://www.bacula.org/en/?page=news">Noticias</a></p> </td> diff --git a/docs/home-page/fr/inc/header.php b/docs/home-page/fr/inc/header.php index 1d951f6..aa84b17 100644 --- a/docs/home-page/fr/inc/header.php +++ b/docs/home-page/fr/inc/header.php @@ -160,7 +160,7 @@ <div class="menuHead"> Téléchargements </div> <div class="menuItem"> <ul class="menuitem"> - <li class="menuItem"> <a href="http://sourceforge.net/projects/bacula/files/bacula/5.2.3/"> Dernière version </a> </li> + <li class="menuItem"> <a href="http://sourceforge.net/projects/bacula/files/bacula/5.2.6/"> Dernière version </a> </li> <li class="menuItem"> <a href="http://sourceforge.net/project/showfiles.php?group_id=50727#files"> Toutes les versions </a> </li> diff --git a/docs/home-page/fr/news.txt b/docs/home-page/fr/news.txt index a273bbe..6e82c8d 100644 --- a/docs/home-page/fr/news.txt +++ b/docs/home-page/fr/news.txt @@ -1,3 +1,68 @@ +Kern;;;22 February 2012 at 15:03 CET +We have released Bacula Version 5.2.6 to Source Forge + + Release Notes for Bacula 5.2.6 + + Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount) + +General: +-------- +The 5.2.6 version is a bug fix release. + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +If you are upgrading directly from 5.0.3 to this version, please see the +important notices below for version 5.2.3, particularly +the database upgrade and the difference in packaging the +SQL shared libraries. +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +If you store .bsr or .mail files in the Bacula working +directory, please be aware that they will all be deleted +each time the Director starts. +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +Compatibility: +-------------- + As always, both the Director and Storage daemon must be upgraded at + the same time. + + Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.3 + Director and Storage daemons. There should be no need to upgrade older File + Daemons. + +New Feature: + - The restore tree cd command accepts wild cards within each + part of a path. Wild cards apply only to a single part at a + time: i.e. cd a*/b*/xx* will match abc/bcd/xxfxx + but */xx* will not match the above filename. + +Changes since 5.2.5: + +17Feb12 + - Fix old exchange-fd plugin Accurate checkFile code. + - Insert the slot field as a numeric field. + - Fix #1831 by dropping the table before creating it + - Make cd accept wildcards + - Remove bad optimization from Accurate code + - Lock read acquire in SD to prevent to read jobs getting the same thing + - Implement more robust check in other drives for tape slot wanted + - Fix lost dcr point -- memory loss in Copy/Migration + possible confusion + - Ensure that bvfs SQL link is not shared + - Fix error printing in acl and xattr code. + - Backport better error debug output for sd plugins. + - Add wait on bad connection for security + - Make mtx-changer more fault tolerant + - Fix 32/64 bit problems in SD sscanf commands + - Skip certain filesystem types on some platforms. + - Allow BVFS to browse and restore Base jobs + - Add error message to .bvfs_clear_cache command + - Fix plugin bug with multiple simultaneous jobs + +Bugs fixed/closed since last release: +1831 + +;;;; Kern;;;26 January 2012 at 07:55 CET We have released Bacula Version 5.2.5 to Source Forge Release Notes for Bacula 5.2.5 @@ -8,7 +73,7 @@ General: -------- The 5.2.5 version is a bug fix release. -Please note there was a seamingly innocent patch made to +Please note there was a seemingly innocent patch made to version 5.2.4 that had rather serious negative consequences on restarted jobs. Anyone using restarted jobs should upgrade from 5.2.4 to 5.2.5. diff --git a/docs/home-page/fr/pages/home.php b/docs/home-page/fr/pages/home.php index c18dc9f..5e40015 100644 --- a/docs/home-page/fr/pages/home.php +++ b/docs/home-page/fr/pages/home.php @@ -68,7 +68,7 @@ </tr> <tr height="68"> <td height="68"> - <p>268 janvier 2012: <strong>Bacula 5.2.5</strong> a été relaché.</p> + <p>22 février 2012: <strong>Bacula 5.2.6</strong> a été relaché.</p> <p></p> <p>Voir: <a href="http://www.bacula.org/en/?page=news">News</a></p> </td> diff --git a/docs/home-page/images/footer.php b/docs/home-page/images/footer.php new file mode 100644 index 0000000..7ccbd8e --- /dev/null +++ b/docs/home-page/images/footer.php @@ -0,0 +1,10 @@ + <div> + <img src="../images/spacer.gif" alt="spacer" width="1px" height="50px"><br> + <? + if(isset($_SESSION['user']) && ($_SESSION['user'] == "bukdebug")) + print_r($_SERVER); + ?> + </div> + </div> + </body> +</html> diff --git a/docs/home-page/images/header.php b/docs/home-page/images/header.php new file mode 100644 index 0000000..7061da5 --- /dev/null +++ b/docs/home-page/images/header.php @@ -0,0 +1,204 @@ +<? + /** + * grab parms from URL + * + */ + parse_str($_SERVER['QUERY_STRING']); + + /** + * some settings + * + */ + isset($page) || $page = "home"; // default page to show + if (!preg_match("/^[a-zA-Z0-9_\-]+$/", $page)) { + sleep(5); + header("HTTP/1.0 404 Not Found"); + exit; + } + + $page_directory = "pages"; // directory with pages + $page_current = "$page_directory/$page.php"; + + + /** + * Login + * + */ + session_start(); + if(isset($_POST['username']) and isset($_POST['password'])) { + $user = $_POST['username']; + $pass = $_POST['password']; + + if($user == $pass) { + $_SESSION['user'] = $user; + $_SESSION['logged_in'] = true; + } + } + + /** + * Prepare links + */ + $spath = dirname($_SERVER['SCRIPT_NAME']); + if(strlen($spath) < 2) + $spath = ""; + +?> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict //EN" "http://www.w3.org/TR/html4/strict.dtd"> + +<html> + <head> + <title> Bacula, the Open Source, Enterprise ready, Network Backup Tool for Linux, Unix, and Windows </title> + <link rel="stylesheet" type="text/css" href="bacula.css" title="blueish"> + <meta name="Description" content="Bacula an Open Source network backup and restore solution"> + <meta name="Keywords" content="Bacula, backup, restore, file backup, Open Source Backup, network backup, enterprise backup"> + <meta name="Copyright" content="Copyright (C) 2000-2009 Kern Sibbald"> + <meta name="Trademark" content="Bacula (R) is a registered trademark of Kern Sibbald"> + </head> + + <body> + + <!-- Top Search Bar --> + <div class="searchBar"> + <table class="searchBar"> + <tr> + <td style="text-align: left; vertical-align: middle; width: 50%"> + Bacula, the Open Source, Enterprise ready, Network Backup Tool for Linux, Unix, Mac and Windows. + </td> + <td style="text-align: left; vertical-align: middle"> + <img alt="Español" src="../images/spanish-flag.png"> + + <a href='../en'> + <img alt="English" src="../images/english-flag.jpg"> + + <a href='../fr'> + <img alt="Français" src="../images/french-flag.jpg"> + </a> + <a href='..//de'> + <img alt="Deutsch" src="../images/german-flag.jpg"> + </a> + + </td> + <FORM method=GET target="_blank" action=http://www.google.com/search> + <td style="text-align: right; vertical-align: middle"> + <INPUT id="text" class="searchBar" type="text" name="q" size=20 + maxlength=255 value=""> + <INPUT id="button" class="searchBar" type="submit" name="sa" VALUE="Search"> + <input type="hidden" name="domains" value="www.bacula.org"> + <input type="hidden" name="sitesearch" value="www.bacula.org"> + </td> + </FORM> + </tr> + </table> + </div> + + <!-- Logo Bar --> + <div class="pageLogo"> + <table class="pageLogo"> + <tr> + <td style="text-align: left; vertical-align: middle"> + <img alt="Bacula Logo" src="../images/bacu_logo-red.jpg"> + </td> + </tr> + </table> + </div> + + <!-- User Bar - if logged in --> + <? + if(isset($_SESSION['logged_in'])) { + printf('<div class="userBar">'); + printf('Welcome %s, <a style="color: white; text-decoration: none" href="/?page=logout">logout here</a>.', $_SESSION['user']); + printf('</div>'); + } + ?> + + <!-- Menu Left --> + <div class="menuLeft"> + + <!-- General --> + <div class="menuHead"> General </div> + <div class="menuItem"> + <ul class="menuitem"> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=news"> News </a></li> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=screenshot"> Screenshots </a></li> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=home"> Bacula Home </a></li> + <li class="menuItem"> <a href="dev-manual/What_is_Bacula.html"> What is Bacula? </a> </li> + <li class="menuItem"> <a href="dev-manual/Current_State_Bacula.html"> Current State of Bacula </a> </li> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=testimonial"> Testimonials</a> </li> + <li class="menuItem"> <a href="http://sourceforge.net/projects/bacula"> SF Project Page </a> </li> + <li class="menuItem"> <a href="dev-manual/System_Requirements.html"> Requirements </a> </li> + <li class="menuItem"> <a href="dev-manual/Supported_Operating_Systems.html"> Operating Systems </a> </li> + <li class="menuItem"> <a href="dev-manual/Supported_Tape_Drives.html"> Tapedrives </a> </li> + <li class="menuItem"> <a href="dev-manual/Supported_Autochangers.html"> Autochangers </a> </li> + <li class="menuItem"> <a href="dev-manual/Bacula_Copyri_Tradem_Licens.html"> License </a> </li> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=fsfe"> FSFE License </a></li> + </ul> + </div> + + <!-- Documentation --> + <!-- files need a version --> + <div class="menuHead"> Documentation </div> + <div class="menuItem"> + <ul class="menuitem"> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=documentation"> Documentation </a></li> + <li class="menuItem"> <a href="http://wiki.bacula.org">Wiki </a></li> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=presentations"> Presentations </a></li> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=presskits"> Press Kits </a></li> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=articles"> Articles </a></li> + </ul> + </div> + + <!-- Downloads --> + <div class="menuHead"> Downloads </div> + <div class="menuItem"> + <ul class="menuitem"> + <li class="menuItem"> <a href="http://sourceforge.net/project/showfiles.php?group_id=50727"> Current Files </a> </li> + <li class="menuItem"> <a href="http://sourceforge.net/project/showfiles.php?group_id=50727&package_id=93946"> Patches</a> </li> + <li class="menuItem"> <a href="http://sourceforge.net/project/showfiles.php?group_id=50727#files"> All Files </a> </li> + <li class="menuItem"> <a href="http://sourceforge.net/svn/?group_id=50727"> SVN Repository </a> </li> + </ul> + </div> + + <!-- Support --> + <div class="menuHead"> Support </div> + <div class="menuItem"> + <ul class="menuitem"> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=support"> Getting Support </a> </li> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=maillists"> Email Lists </a> </li> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=bugs"> Bug Reports </a> </li> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=professional"> Professional </a></li> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=feature-request"> Feature Requests </a></li> + </ul> + </div> + + <!-- Projects --> + <div class="menuHead"> Projects </div> + <div class="menuItem"> + <ul class="menuitem"> + <li class="menuItem"> <a href="http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/projects?view=markup"> Projects </a> </li> + <!-- + <li class="menuItem"> <a href="<? echo $spath ?>/?page=vote"> Project Vote </a> </li> + --> + </ul> + </div> + + <div class="menuHead"> Donations </div> + <div class="menuItem"> + <ul class="menuitem"> + <li class="menuItem"> <a href="<? echo $spath ?>/?page=makedonation"> Make a Donation </a> </li> + <!-- + <li class="menuItem"> <a href="<? echo $spath ?>/?page=donations"> Donations Received </a> </li> + --> + </ul> + </div> + <div class="menuHead"> </div> + <div class="icons"> + <a href="http://www.ukfast.net"><img src="../images/bacula_ukfast_logo.gif" alt="www.ukfast.net"></a> + </div> + + </div> + + <div class="pageTopRight"> + It comes by night and sucks the vital essence from your computers. + </div> + + <div class="pageContent"> diff --git a/docs/home-page/images/index.php b/docs/home-page/images/index.php new file mode 100644 index 0000000..804203d --- /dev/null +++ b/docs/home-page/images/index.php @@ -0,0 +1,32 @@ +<? + +/** + * load header, menu + * + */ +require_once("inc/header.php"); + + +/** + * load content + * + */ +if(is_file($page_current)) { + include_once($page_current); +} else { + printf(' + + An <b>ERROR</b> occurred:<br> + <p class="error"> + The page <b>%s</b> isn\'t available. + </p>', $page); +} + + +/** + * load footer + * + */ +require_once("inc/footer.php"); + +?> diff --git a/docs/manuals/en/developers/gui-interface.tex b/docs/manuals/en/developers/gui-interface.tex index 6c9f666..9bb2a13 100644 --- a/docs/manuals/en/developers/gui-interface.tex +++ b/docs/manuals/en/developers/gui-interface.tex @@ -118,8 +118,7 @@ directories. \caption{Bat Brestore Panel} \end{figure} -\texttt{Important}, the Bvfs module does not yet work correctly with BaseJobs, -Copy and Migration jobs. +The Bvfs module works correctly with BaseJobs, Copy and Migration jobs. \medskip This project was funded by Bacula Systems. @@ -302,3 +301,12 @@ To drop the table used by the restore command, you can use the \begin{verbatim} .bvfs_cleanup path=b20001 \end{verbatim} + +\subsection*{Clearing the BVFS Cache} + +To clear the BVFS cache, you can use the \texttt{.bvfs\_clear\_cache} command. + +\begin{verbatim} +.bvfs_clear_cache yes +OK +\end{verbatim} diff --git a/docs/manuals/en/main/newfeatures.tex b/docs/manuals/en/main/newfeatures.tex index 766d3c6..1ad2af5 100644 --- a/docs/manuals/en/main/newfeatures.tex +++ b/docs/manuals/en/main/newfeatures.tex @@ -143,8 +143,7 @@ directories. \caption{Bat Brestore Panel} \end{figure} -\texttt{Important}, the Bvfs module does not yet work correctly with BaseJobs, -Copy and Migration jobs. +the Bvfs module works correctly with BaseJobs, Copy and Migration jobs. \medskip This project was funded by Bacula Systems. @@ -328,6 +327,15 @@ To drop the table used by the restore command, you can use the .bvfs_cleanup path=b20001 \end{verbatim} +\subsection*{Clearing the BVFS Cache} + +To clear the BVFS cache, you can use the \texttt{.bvfs\_clear\_cache} command. + +\begin{verbatim} +.bvfs_clear_cache yes +OK +\end{verbatim} + \section{Changes in the Pruning Algorithm} We rewrote the job pruning algorithm in this version. Previously, in some users diff --git a/docs/manuals/en/main/storedconf.tex b/docs/manuals/en/main/storedconf.tex index f563406..36d6397 100644 --- a/docs/manuals/en/main/storedconf.tex +++ b/docs/manuals/en/main/storedconf.tex @@ -563,18 +563,18 @@ writing to multiple drives with multiple Jobs that all use the same Pool. \item [Always Open = {\it yes\vb{}no}] \index[sd]{Always Open} \index[sd]{Directive!Always Open} - If {\bf Yes} (default), Bacula will always keep the device open unless + If {\bf Yes}, Bacula will always keep the device open unless specifically {\bf unmounted} by the Console program. This permits Bacula to ensure that the tape drive is always available, and properly positioned. If you set - {\bf AlwaysOpen} to {\bf no} {\bf Bacula} will only open the drive when - necessary, and at the end of the Job if no other Jobs are using the - drive, it will be freed. The next time Bacula wants to append to a tape - on a drive that was freed, Bacula will rewind the tape and position it to - the end. To avoid unnecessary tape positioning and to minimize - unnecessary operator intervention, it is highly recommended that {\bf - Always Open = yes}. This also ensures that the drive is available when - Bacula needs it. + {\bf AlwaysOpen} to {\bf no} (default) {\bf Bacula} will only open the + drive when necessary, and at the end of the Job if no other Jobs are + using the drive, it will be freed. The next time Bacula wants to append + to a tape on a drive that was freed, Bacula will rewind the tape and + position it to the end. To avoid unnecessary tape positioning and to + minimize unnecessary operator intervention, it is highly recommended + that {\bf Always Open = yes}. This also ensures that the drive is + available when Bacula needs it. If you have {\bf Always Open = yes} (recommended) and you want to use the drive for something else, simply use the {\bf unmount} command in the hooks/post-receive -- Bacula Community manual |