You can subscribe to this list here.
2007 |
Jan
(76) |
Feb
(76) |
Mar
(54) |
Apr
(14) |
May
(23) |
Jun
(21) |
Jul
|
Aug
|
Sep
(9) |
Oct
(14) |
Nov
(12) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
|
Feb
(18) |
Mar
(3) |
Apr
|
May
|
Jun
(2) |
Jul
(3) |
Aug
|
Sep
|
Oct
(17) |
Nov
(13) |
Dec
|
2009 |
Jan
(1) |
Feb
(1) |
Mar
(15) |
Apr
(2) |
May
(18) |
Jun
(1) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
(1) |
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(61) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
(18) |
Apr
|
May
|
Jun
(5) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(4) |
Nov
(10) |
Dec
(9) |
2012 |
Jan
(10) |
Feb
(23) |
Mar
|
Apr
(5) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(4) |
2013 |
Jan
(17) |
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <di...@us...> - 2009-05-01 06:25:49
|
Revision: 648 http://safekeep.svn.sourceforge.net/safekeep/?rev=648&view=rev Author: dimi Date: 2009-05-01 06:25:38 +0000 (Fri, 01 May 2009) Log Message: ----------- Fix the names of the bandwidth limiting settings Modified Paths: -------------- safekeep/trunk/safekeep.conf Modified: safekeep/trunk/safekeep.conf =================================================================== --- safekeep/trunk/safekeep.conf 2009-04-30 17:26:27 UTC (rev 647) +++ safekeep/trunk/safekeep.conf 2009-05-01 06:25:38 UTC (rev 648) @@ -14,13 +14,13 @@ nice.adjustment = 10 # A default bandwidth limit for both download/upload -# bandwidth.overall=100 +# bandwidth.limit=100 # A default bandwidth limit for download -# bandwidth.download=100 +# bandwidth.limit.download=100 # A default bandwidth limit for upload -# bandwidth.upload=100 +# bandwidth.limit.upload=100 # a comma separated list of emails to receive the logs # email.to=pe...@co...,ro...@co... This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-04-30 17:26:33
|
Revision: 647 http://safekeep.svn.sourceforge.net/safekeep/?rev=647&view=rev Author: dimi Date: 2009-04-30 17:26:27 +0000 (Thu, 30 Apr 2009) Log Message: ----------- Update changelog Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2009-04-30 17:24:33 UTC (rev 646) +++ safekeep/trunk/safekeep.spec.in 2009-04-30 17:26:27 UTC (rev 647) @@ -116,6 +116,9 @@ %doc samples/sample.backup %changelog +* Thu Apr 30 2009 Dimi Paun <di...@la...> 1.2.1-1 + - Fix error while trying to nice the server + * Mon Mar 30 2009 Dimi Paun <di...@la...> 1.2.0-1 - Rework the handling of device files, fifos and sockets as data attributes. - Now special files are by default included, unless explicitely excluded. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-04-30 17:24:47
|
Revision: 646 http://safekeep.svn.sourceforge.net/safekeep/?rev=646&view=rev Author: dimi Date: 2009-04-30 17:24:33 +0000 (Thu, 30 Apr 2009) Log Message: ----------- Bryan Talbot <bt...@ae...> Avoid concatenating non-strings to strings. Modified Paths: -------------- safekeep/trunk/safekeep Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2009-03-30 06:51:51 UTC (rev 645) +++ safekeep/trunk/safekeep 2009-04-30 17:24:33 UTC (rev 646) @@ -823,7 +823,7 @@ args = [] if nice: - args.extend(['nice', '-n' + nice]) + args.extend(['nice', '-n' + str(nice)]) args.extend(['rdiff-backup']) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-30 06:52:00
|
Revision: 645 http://safekeep.svn.sourceforge.net/safekeep/?rev=645&view=rev Author: dimi Date: 2009-03-30 06:51:51 +0000 (Mon, 30 Mar 2009) Log Message: ----------- Announce release Modified Paths: -------------- website/trunk/WebContent/download.shtml website/trunk/WebContent/index.shtml website/trunk/WebContent/news.shtml website/trunk/WebContent/releases.shtml Modified: website/trunk/WebContent/download.shtml =================================================================== --- website/trunk/WebContent/download.shtml 2009-03-30 06:31:52 UTC (rev 644) +++ website/trunk/WebContent/download.shtml 2009-03-30 06:51:51 UTC (rev 645) @@ -13,18 +13,22 @@ <a name="releases"></a> <h2>Releases</h2> -<a name="1.0.5"></a> +<a name="1.2.0"></a> <p> -<a href="http://sourceforge.net/project/showfiles.php?group_id=185128&package_id=215518&release_id=631505">SafeKeep 1.0.5</a> -was released Oct 7, 2008, containing the following main features: +<a href="http://sourceforge.net/project/showfiles.php?group_id=185128&package_id=215518&release_id=672036">SafeKeep 1.2.0</a> +was released Mar 30, 2009, containing the following main features: </p> <ul> - <li>Allow providing the password for the DB user used for the DB dump</li> - <li>Add config option for passing additional flags to rdiff-backup</li> - <li>Avoid backing up special files by default</li> - <li>Avoid creating multiple LVM snapshots (avoids some LVM bugs)</li> - <li>Add new --cleanup option to help recovery from crashes</li> - <li>Make it easier to package on platforms that don't have asciidoc</li> + <li>Implement bandwidth limiting, based on trickle</li> + <li>Add support for niced backup server (defaults to nice +10)</li> + <li>External callbacks throughout the backup process</li> + <li>Several minor improvements and fixes in usability</li> + <li>We now backup all special files by default </li> + <li>Add pass-through options for the DB dump command</li> + <li>Allow passing the pgpasswd to PostgreSQL</li> + <li>Avoid errors for mounts containing spaces</li> + <li>Correctly handle LVM names that contain dashes</li> + <li>Fix dopey MySQL dump.</li> </ul> <table> <tr> @@ -35,15 +39,15 @@ <img src="images/redhat.png" width="50" height="50" alt="RedHat Linux" border="0"> </td> <td> - <b>Red Hat / Fedora</b> binary and source .rpms for RedHat EL 3, 4, 5; Fedora Core 4, 5, 6, 7; CentOS 3, 4, 5, and compatible distributions. + <b>Red Hat / Fedora</b> binary and source .rpms for RedHat EL 3, 4, 5; Fedora Core 7, 8, 9, 10; CentOS 3, 4, 5, and compatible distributions. </td> <td> - <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-1.0.5-1.fc8.src.rpm">safekeep-1.0.5-1.fc8.src.rpm</a> + <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-1.2.0-1.fc8.src.rpm">safekeep-1.2.0-1.fc8.src.rpm</a> </td> <td> - <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-common-1.0.5-1.fc8.noarch.rpm">safekeep-common-1.0.5-1.fc8.noarch.rpm</a> <br> - <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-client-1.0.5-1.fc8.noarch.rpm">safekeep-client-1.0.5-1.fc8.noarch.rpm</a> <br> - <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-server-1.0.5-1.fc8.noarch.rpm">safekeep-server-1.0.5-1.fc8.noarch.rpm</a> + <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-common-1.2.0-1.fc8.noarch.rpm">safekeep-common-1.2.0-1.fc8.noarch.rpm</a> <br> + <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-client-1.2.0-1.fc8.noarch.rpm">safekeep-client-1.2.0-1.fc8.noarch.rpm</a> <br> + <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-server-1.2.0-1.fc8.noarch.rpm">safekeep-server-1.2.0-1.fc8.noarch.rpm</a> </td> </tr> <tr> @@ -54,12 +58,12 @@ <b>Ubuntu</b> binary and source .debs for Ubuntu Hardy, Gutsy, Edgy, Dapper, and Breezy </td> <td> - <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-1.0.5.tar.gz">safekeep-1.0.5.tar.gz</a> + <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-1.2.0.tar.gz">safekeep-1.2.0.tar.gz</a> </td> <td> - <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-common_1.0.5_all.deb">safekeep-common_1.0.5_all.deb</a> <br> - <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-client_1.0.5_all.deb">safekeep-client_1.0.5_all.deb</a> <br> - <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-server_1.0.5_all.deb">safekeep-server_1.0.5_all.deb</a> + <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-common_1.2.0_all.deb">safekeep-common_1.2.0_all.deb</a> <br> + <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-client_1.2.0_all.deb">safekeep-client_1.2.0_all.deb</a> <br> + <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-server_1.2.0_all.deb">safekeep-server_1.2.0_all.deb</a> </td> </tr> <tr> @@ -70,7 +74,7 @@ <b>Linux</b> source tarball for most distributions running Python 2.4 or newer </td> <td> - <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-1.0.5.tar.gz">safekeep-1.0.5.tar.gz</a> + <a href="http://prdownloads.sourceforge.net/safekeep/safekeep-1.2.0.tar.gz">safekeep-1.2.0.tar.gz</a> </td> <td> N/A Modified: website/trunk/WebContent/index.shtml =================================================================== --- website/trunk/WebContent/index.shtml 2009-03-30 06:31:52 UTC (rev 644) +++ website/trunk/WebContent/index.shtml 2009-03-30 06:51:51 UTC (rev 645) @@ -39,20 +39,24 @@ <div class="NewsBox"> -<p class="NewsTitle">Oct 7, 2008: SafeKeep version 1.0.5 (stable) released +<p class="NewsTitle">Mar 30, 2009: SafeKeep version 1.2.0 (stable) released <img src="images/grey_pixel.gif" width="100%" height="1" alt=""> </p> <blockquote> <p> -SafeKeep 1.0.5 was released today. What's new in this release: +SafeKeep 1.2.0 was released today. What's new in this release: </p> <ul> - <li>Allow providing the password for the DB user used for the DB dump</li> - <li>Add config option for passing additional flags to rdiff-backup</li> - <li>Avoid backing up special files by default</li> - <li>Avoid creating multiple LVM snapshots (avoids some LVM bugs)</li> - <li>Add new --cleanup option to help recovery from crashes</li> - <li>Make it easier to package on platforms that don't have asciidoc</li> + <li>Implement bandwidth limiting, based on trickle</li> + <li>Add support for niced backup server (defaults to nice +10)</li> + <li>External callbacks throughout the backup process</li> + <li>Several minor improvements and fixes in usability</li> + <li>We now backup all special files by default </li> + <li>Add pass-through options for the DB dump command</li> + <li>Allow passing the pgpasswd to PostgreSQL</li> + <li>Avoid errors for mounts containing spaces</li> + <li>Correctly handle LVM names that contain dashes</li> + <li>Fix dopey MySQL dump.</li> </ul> <p> Binary packages for RedHat-based (e.g. RedHat EL, CentOS, Fedora) Modified: website/trunk/WebContent/news.shtml =================================================================== --- website/trunk/WebContent/news.shtml 2009-03-30 06:31:52 UTC (rev 644) +++ website/trunk/WebContent/news.shtml 2009-03-30 06:51:51 UTC (rev 645) @@ -5,6 +5,33 @@ <div class="NewsBox"> +<p class="NewsTitle">Mar 30, 2009: SafeKeep version 1.2.0 (stable) released +<img src="images/grey_pixel.gif" width="100%" height="1" alt=""> +</p> +<blockquote> +<p> +SafeKeep 1.2.0 was released today. What's new in this release: +</p> +<ul> + <li>Implement bandwidth limiting, based on trickle</li> + <li>Add support for niced backup server (defaults to nice +10)</li> + <li>External callbacks throughout the backup process</li> + <li>Several minor improvements and fixes in usability</li> + <li>We now backup all special files by default </li> + <li>Add pass-through options for the DB dump command</li> + <li>Allow passing the pgpasswd to PostgreSQL</li> + <li>Avoid errors for mounts containing spaces</li> + <li>Correctly handle LVM names that contain dashes</li> + <li>Fix dopey MySQL dump.</li> +</ul> +<p> +Binary packages for RedHat-based (e.g. RedHat EL, CentOS, Fedora) +asdfnd Debian-based (e.g. Debian, Ubuntu) distributions are available +for immediate <a href="download.shtml">download ...</a> +</p> +</blockquote> + + <p class="NewsTitle">Oct 7, 2008: SafeKeep version 1.0.5 (stable) released <img src="images/grey_pixel.gif" width="100%" height="1" alt=""> </p> Modified: website/trunk/WebContent/releases.shtml =================================================================== --- website/trunk/WebContent/releases.shtml 2009-03-30 06:31:52 UTC (rev 644) +++ website/trunk/WebContent/releases.shtml 2009-03-30 06:51:51 UTC (rev 645) @@ -4,6 +4,7 @@ <h1>Releases</h1> <div id="PageMenu"> <span class="PageMenuTitle">On This Page:</span> + <a href="#1.2.0">1.2.0</a> <a href="#1.0.5">1.0.5</a> <a href="#1.0.4">1.0.4</a> <a href="#1.0.3">1.0.3</a> @@ -15,6 +16,24 @@ <a href="#0.9.0">0.9.0</a> </div> +<a name="1.2.0"></a> +<p> +<a href="http://sourceforge.net/project/showfiles.php?group_id=185128&package_id=215518&release_id=672036">SafeKeep 1.2.0</a> +was released Mar 30, 2009, containing the following main features: +</p> +<ul> + <li>Implement bandwidth limiting, based on trickle</li> + <li>Add support for niced backup server (defaults to nice +10)</li> + <li>External callbacks throughout the backup process</li> + <li>Several minor improvements and fixes in usability</li> + <li>We now backup all special files by default </li> + <li>Add pass-through options for the DB dump command</li> + <li>Allow passing the pgpasswd to PostgreSQL</li> + <li>Avoid errors for mounts containing spaces</li> + <li>Correctly handle LVM names that contain dashes</li> + <li>Fix dopey MySQL dump.</li> +</ul> + <a name="1.0.5"></a> <p> <a href="http://sourceforge.net/project/showfiles.php?group_id=185128&package_id=215518&release_id=631505">SafeKeep 1.0.5</a> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-30 06:32:01
|
Revision: 644 http://safekeep.svn.sourceforge.net/safekeep/?rev=644&view=rev Author: dimi Date: 2009-03-30 06:31:52 +0000 (Mon, 30 Mar 2009) Log Message: ----------- Update man pages on website to latest as of Mon Mar 30 02:31:47 EDT 2009 Modified Paths: -------------- website/trunk/WebContent/safekeep.backup.html website/trunk/WebContent/safekeep.conf.html Modified: website/trunk/WebContent/safekeep.backup.html =================================================================== --- website/trunk/WebContent/safekeep.backup.html 2009-03-30 06:24:10 UTC (rev 643) +++ website/trunk/WebContent/safekeep.backup.html 2009-03-30 06:31:52 UTC (rev 644) @@ -338,24 +338,25 @@ key-data="/home/jdoe/.ssh/backup2_id_dsa" /> + <!-- you can customize the bandwidth limit on a client basis, + for example to 50KB/s download/upload --> + <bandwidth overall="80" download="50" upload="50" /> + <!-- location where the backups will be stored on the server and for how long (D=days, W=weeks, M=months, or Y=years) --> <repo path="./data" retention="10D"/> - <options> - <special-files include="false" /> - </options> - <!-- settings for database dump and for volume snapshot --> <setup> <!-- database type ("postgres" or "mysql"), and database name, DB user with backup rights, location of the dump file on the client host, and flag to remove or not the dump file after the backup is done. - Databases can be dumped individualy using a dump clause for each database. --> + Databases can be dumped individually using a dump clause for each database. --> <dump type="postgres" - db="dbname" + db="my_db" dbuser="foobar" + options="--schema=public" file="/var/backup/dumps/mydata" cleanup="true" /> @@ -367,10 +368,17 @@ size="500M" /> + <!-- location of a script to be executed on the client at different + stages of the run. It is called with three arguments: + the step of the backup, backup id and the backup root directory --> + <script + path="/path/to/script" + /> + </setup> <!-- data to be backup --> - <data> + <data exclude-fifos="true" exclude-sockets="true"> <!-- each type of tag can be present more than one time --> <!-- if a database dump was created, it must be added in this section --> <include path="/home"/> @@ -456,6 +464,38 @@ </p> </dd> <dt> +/backup/bandwidth/@overall +</dt> +<dd> +<p> + This is the client bandwidth limit for both upload and download. + It is an integer number of KB/s (see the NOTES section in + <tt>safekeep.conf(5)</tt> for more information). + Optional, overrides <tt>bandwidth.overall</tt> in <tt>safekeep.conf(5)</tt> + if specified. +</p> +</dd> +<dt> +/backup/bandwidth/@download +</dt> +<dd> +<p> + This is the client bandwidth limit for download (see + <tt>/backup/bandwidth/@overall</tt> for more information). + Optional, overrides <tt>/backup/bandwidth/@overall</tt> if specified. +</p> +</dd> +<dt> +/backup/bandwidth/@upload +</dt> +<dd> +<p> + This is the client bandwidth limit for upload (see + <tt>/backup/bandwidth/@overall</tt> for more information). + Optional, overrides <tt>/backup/bandwidth/@overall</tt> if specified. +</p> +</dd> +<dt> /backup/repo/@path </dt> <dd> @@ -469,7 +509,7 @@ will fail altogether if the directory can not be created. Optional, defaults to the client ID, see <tt>/backup/@id</tt>. Use of the default value is <strong>highly</strong> recommended. - <strong>NOTE</strong>: if you must set this value explicitely, you must + <strong>NOTE</strong>: if you must set this value explicitly, you must make sure that the path is not shared between different boxes; a shared repository path <em>will</em> result in data loss. </p> @@ -502,11 +542,12 @@ </dt> <dd> <p> + NOTE: THIS OPTION HAS BEEN DEPRECATED. See data attributes below. One of "true" or "false". If "true", the dump file will include all special files, including device files, fifo files and socket files. Optional, defaults to "false". - <strong>NOTE</strong>: specification of no options is equalent to false, but the + <strong>NOTE</strong>: specification of no options is equivalent to false, but the inclusion of other options may cause the underlying backup defaults to be use. </p> @@ -556,11 +597,25 @@ <dd> <p> Password of the database user to use while doing the dump. - This is currently supported only for MySQL databases. + NB: this makes the DB password available in a plain text file. + Make sure you use appropriate read permissions on the backup + configuration file to prevent unauthorized access to the password. Optional, it has no default value. </p> </dd> <dt> +/backup/setup/dump/@options +</dt> +<dd> +<p> + Extra options to be passed along to the dump command. + This is database specific, and it is passed along as-is. + Please refer to your database documentation for possible + values that you can pass along. + Optional, it has no default value. +</p> +</dd> +<dt> /backup/setup/dump/@user </dt> <dd> @@ -623,6 +678,74 @@ </p> </dd> <dt> +/backup/setup/script/@path +</dt> +<dd> +<p> + Execute the script specified path on the client at certain steps + of the backup process. + This script is executed with three arguments: +</p> +<ul> +<li> +<p> +Backup id (/backup/@id) +</p> +</li> +<li> +<p> +Backup step +</p> +</li> +<li> +<p> +Backup root directory (valid after creation of a snapshot) + See the <tt>CLIENT SCRIPT</tt> section for more information. + Mandatory for a <tt><script></tt> element. +</p> +</li> +</ul> +</dd> +<dt> +/backup/data/@exclude-devices +</dt> +<dd> +<p> + One of "true" or "false". If "true", the dump file will + exclude all device files. + Optional, defaults to "false". + <strong>NOTE</strong>: specification of no attributes is equivalent to false, but the + inclusion of other options may cause the underlying backup defaults + to be use. +</p> +</dd> +<dt> +/backup/data/@exclude-fifos +</dt> +<dd> +<p> + One of "true" or "false". If "true", the dump file will + exclude all fifos. + Optional, defaults to "false". + <strong>NOTE</strong>: specification of no attributes is equivalent to false, but the + inclusion of other options may cause the underlying backup defaults + to be use. +</p> +</dd> +<dt> +/backup/data/@exclude-sockets +</dt> +<dd> +<p> + One of "true" or "false". If "true", the dump file will + exclude all sockets. + Optional, defaults to "false". + <strong>NOTE</strong>: specification of no attribute is equivalent to false, but the + inclusion of other options may cause the underlying backup defaults + to be use. +</p> +</dd> +<dt> /backup/data/exclude/@path </dt> <dd> @@ -700,13 +823,48 @@ Each file selection condition either matches or doesn't match a given file. A given file is included or excluded by the file selection system when the first matching file selection condition specifies that the file be included -or excluded respecively; if the file matches no include or exclude +or excluded respectively; if the file matches no include or exclude statement, it is by default excluded.</p> <p>When backing up, if a file is excluded, <tt>safekeep(1)</tt> acts as if that file does not exist in the source directory.</p> <p>For more information on file selection semantics, please see <tt>rdiff-backup(1)</tt>.</p> </div> +<h2>CLIENT SCRIPT</h2> +<div class="sectionbody"> +<p><tt>safekeep(1)</tt> support the optional execution of a script or program +on the client system at different steps during execution of the backup.</p> +<p>Note: specification of a script which does not exist is not considered an +error, and is treated as the same as not specifying a script. However, if +the specified path does match a file or directory, the security tests listed +below will occur.</p> +<p>This script is executed with the following three arguments: +- Safekeep step +- Backup id +- Backup root directory, which may be set during the creation of a snapshot.</p> +<p>The steps currently defined and tokens passed, are: +- STARTUP - prior to any execution, however, if it exits with a non-zero +status this constitutes an error and the backup is aborted. +- PRE-SETUP - prior to running any setup steps being run. A non-zero status +is considered a warning and execution continues. +- POST-SETUP - after setup, but prior to execution of backup. A non-zero +status is considered a warning, and execution continues. +- POST-BACKUP - after execution of backup. A non-zero status is considered +a warning, and execution continues. +- POST-SCRUB - after execution of a server cleanup step, normally only seen +after a backup failure. A non-zero status is considered a warning, and +execution continues.</p> +<p>Due to security considerations, there are a number of checks made on this +script prior to execution and failure of any of these steps will cause the +backup for that client to be aborted. The following tests are applied prior +to each execution of the script (i.e. multiple time per backup), in order: +- script is a regular file, not a directory or special file, +- script is executable by the user running on the client system, +- script is owned by root or the user running on the client system, +- script is NOT writable by any one except the script owner.</p> +<p>Note: no test is made on the ownership of the parent directory or any other +directories.</p> +</div> <h2>FILES</h2> <div class="sectionbody"> <div class="literalblock"> @@ -716,11 +874,11 @@ </div> <h2>SEE ALSO</h2> <div class="sectionbody"> -<p>safekeep(1), rdiff-backup(1), lvcreate(8)</p> +<p>safekeep(1), safekeep.conf(5), rdiff-backup(1), lvcreate(8)</p> </div> <div id="footer"> <div id="footer-text"> -Last updated 07-Oct-2008 16:17:27 EDT +Last updated 30-Mar-2009 02:31:48 EDT </div> </div> </body> Modified: website/trunk/WebContent/safekeep.conf.html =================================================================== --- website/trunk/WebContent/safekeep.conf.html 2009-03-30 06:24:10 UTC (rev 643) +++ website/trunk/WebContent/safekeep.conf.html 2009-03-30 06:31:52 UTC (rev 644) @@ -373,8 +373,67 @@ <tt>/usr/sbin/sendmail</tt> to deliver the mail. </p> </dd> +<dt> +nice.adjustment +</dt> +<dd> +<p> + The nice level adjustment for safekeep, for the time + being used only on the server side. + It specifies an integer to be added to the current nice + level. Nicenesses range from -20 (most favorable scheduling) + to 19 (least favorable). + If no nice level is specified, safekeep is not niced. +</p> +</dd> +<dt> +bandwidth.overall +</dt> +<dd> +<p> + This is the default bandwidth limit for both upload and + download for all the clients. It is an integer number of KB/s + (see NOTES section for more information). + This value is optional. +</p> +</dd> +<dt> +bandwidth.download +</dt> +<dd> +<p> + This is the default bandwidth limit for download across all clients. + If specified (with a value greater than 0) it will override + the value set in <tt>bandwidth.overall</tt> (refer to it for more + informatio). This value is optional. +</p> +</dd> +<dt> +bandwidth.upload +</dt> +<dd> +<p> + This is the default bandwidth limit for upload across all clients. + If specified (with a value greater than 0) it will override + the value set in <tt>bandwidth.overall</tt> (refer to it for more + informatio). This value is optional. +</p> +</dd> </dl> </div> +<h2>NOTES</h2> +<div class="sectionbody"> +<p>Safekeep uses <tt>trickle</tt> to implement bandwidth throttling (see +http://monkey.org/~marius/pages/?page=trickle for more information). +You will need to install it separately to use this feature (most +Linux distributions have it packaged as <tt>trickle</tt>).</p> +<p>The bandwidth is calculated as an average over a 256KB window, +and it is expressed as an integer number of kilo-bytes per second +(e.g. 100, meaning 100KB/s). Bandwidth limits of zero are ignored.</p> +<p>The bandwidth throtlling can be customized for both download and upload +(see <tt>bandwidth.download</tt> and <tt>bandwidth.upload</tt>) as well as on a per-client +basis (see <tt>safekeep.backup(5)</tt> for more information).</p> +</div> <h2>FILES</h2> <div class="sectionbody"> <div class="literalblock"> @@ -384,11 +443,11 @@ </div> <h2>SEE ALSO</h2> <div class="sectionbody"> -<p>safekeep(1), safekeep.backup(5), rdiff-backup(1), lvcreate(8)</p> +<p>safekeep(1), safekeep.backup(5), rdiff-backup(1), trickle(1), lvcreate(8)</p> </div> <div id="footer"> <div id="footer-text"> -Last updated 26-Feb-2008 16:08:19 EDT +Last updated 30-Mar-2009 02:31:48 EDT </div> </div> </body> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-30 06:24:19
|
Revision: 643 http://safekeep.svn.sourceforge.net/safekeep/?rev=643&view=rev Author: dimi Date: 2009-03-30 06:24:10 +0000 (Mon, 30 Mar 2009) Log Message: ----------- Fix SF deployment. Modified Paths: -------------- safekeep/trunk/Makefile Modified: safekeep/trunk/Makefile =================================================================== --- safekeep/trunk/Makefile 2009-03-30 06:11:19 UTC (rev 642) +++ safekeep/trunk/Makefile 2009-03-30 06:24:10 UTC (rev 643) @@ -142,7 +142,7 @@ ssh ${repo_srv} "cd ${repo_dir}; ./deploy-rpms.sh upload/${name}-*${version}-*.rpm" deploy-sf: - lftp -e "mput $(shell ls releases/${name}{-${version}.tar.gz,{,-common,-client,-server}-${version}-*.rpm}); quit" upload.sourceforge.net/incoming + scp releases/${name}{-${version}.tar.gz,{,-common,-client,-server}-${version}-*.rpm} frs.sourceforge.net:uploads check: safekeep-test --local This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-30 06:11:29
|
Revision: 642 http://safekeep.svn.sourceforge.net/safekeep/?rev=642&view=rev Author: dimi Date: 2009-03-30 06:11:19 +0000 (Mon, 30 Mar 2009) Log Message: ----------- Tag safekeep 1.2.0 Added Paths: ----------- safekeep/tags/Release-safekeep-1_2_0/ safekeep/tags/Release-safekeep-1_2_0/ChangeLog Removed Paths: ------------- safekeep/tags/Release-safekeep-1_2_0/ChangeLog Deleted: safekeep/tags/Release-safekeep-1_2_0/ChangeLog =================================================================== --- safekeep/trunk/ChangeLog 2009-03-30 06:10:25 UTC (rev 640) +++ safekeep/tags/Release-safekeep-1_2_0/ChangeLog 2009-03-30 06:11:19 UTC (rev 642) @@ -1,2682 +0,0 @@ -2008-10-07 19:57 +0000 [r604] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Update RPM changelog - -2008-10-07 19:55 +0000 [r603] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: New release. - -2008-10-07 19:54 +0000 [r602] Dimi Paun <di...@la...> - - * safekeep/trunk/ANNOUNCE: Prepare the ANNOUNCE file for the - release - -2008-10-07 19:51 +0000 [r601] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO. - -2008-10-07 04:41 +0000 [r600] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Frank Crawford - <fr...@cr...> Modified default options for - special-file exclusions. - -2008-10-07 04:40 +0000 [r599] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.backup.txt, safekeep/trunk/safekeep: - Add support for providing the password for the DB user used for - the dump. - -2008-07-17 23:56 +0000 [r598] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.backup.txt: Use the default version - to avoid copy&paste problems. - -2008-07-17 19:00 +0000 [r597] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Rework a bit the options processing such - that generic rdiff-backup options don't affect the behaviour of - the 'special-files' option. - -2008-07-17 18:52 +0000 [r596] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.backup.txt, safekeep/trunk/safekeep: - Frank Crawford <fr...@cr...> * Added options block - in backup configuration file. * Added option to include - special-files, i.e. device files, fifos and sockets. Default is - to exclude these files. * Added option to allow inclusion of - arbitrary rdiff-backup command. * Updated relevant documentation. - -2008-06-27 12:55 +0000 [r595] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO - -2008-06-27 12:54 +0000 [r594] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Frank Crawford - <fr...@cr...> * Loosen restrictions on running - --server --cleanup so no root parts will still execute. * Allow - local rdiff-backup data cleanup to occur even if client is not - accessible. - -2008-03-18 15:51 +0000 [r593] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Frank Crawford - <fr...@cr...> * Patch client name output for --list - --parsable-output option. - -2008-03-18 15:47 +0000 [r592] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: Frank - Crawford <fr...@cr...> * Added a cleanup option to - client and server modes to remove safekeep LVM snapshots and - mounts after a crash or problem. * Added new communications tag - "SCRUB" to do a full remote cleanup. * Added a warning if there - is a mismatch in the communications protocol minor level. * - Append specific paths (/sbin, /usr/sbin and /usr/local/sbin) to - the client path when run in cleanup mode, to cover any path - issues. * Fixed a couple of issues with pass client exceptions - back to the server, and strip off excess newlines. * Add test and - abort run on client if there are any existing safekeep LVM - snapshots. - -2008-03-01 22:34 +0000 [r591] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: We don't need to rebuild docs at install - time, we do that at release time now. - -2008-02-26 21:07 +0000 [r584] Dimi Paun <di...@la...> - - * safekeep/trunk/ANNOUNCE: Fix URLs - -2008-02-26 20:48 +0000 [r582] Dimi Paun <di...@la...> - - * safekeep/trunk/ChangeLog: Update ChangeLog - -2008-02-26 20:48 +0000 [r581] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Update version. - -2008-02-26 20:46 +0000 [r580] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Update .spec file. - -2008-02-26 18:18 +0000 [r579] Dimi Paun <di...@la...> - - * safekeep/trunk/ANNOUNCE: Prepare the ANNOUNCE file for the - release. - -2008-02-25 01:03 +0000 [r578] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Build docs for build. - -2008-02-25 00:57 +0000 [r577] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.backup.txt, safekeep/trunk/TODO: - Clarify snapshot usage. - -2008-02-24 16:53 +0000 [r576] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/TODO: More portable way - of invoking python, as suggested by Igor Klingen. This fixes it - for FreeBSD. - -2008-02-24 16:49 +0000 [r575] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.backup.txt, safekeep/trunk/safekeep, - safekeep/trunk/doc/safekeep.txt: Frank Crawford - <fr...@cr...> This adds the mode --list, and options - which correspond with rdiff-backup options, i.e. --increments - (equiv --list-increments) - the default, --sizes (equiv - --list-increment-sizes), --changed=DATE (equiv - --list-changed-since), and --at-time=DATE (equiv --list-at-time). - It also adds an option which disables email (--noemail) as when - used interactively it isn't worth generating email messages. - -2008-02-24 16:42 +0000 [r574] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO - -2008-02-24 16:42 +0000 [r573] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Frank Crawford - <fr...@cr...> * Fixed failure when mount table has - extra options. * Tear down FS snapshots in reverse order to the - setup order. * Load the LVM snapshot module, in case it is not - already loaded. * Fixed a minor spelling mistake in an assert - message. - -2007-11-07 15:35 +0000 [r572] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO. - -2007-11-07 15:16 +0000 [r571] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Bit clearer snapshot handling. - -2007-11-07 15:03 +0000 [r570] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO. - -2007-11-07 15:01 +0000 [r569] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile, safekeep/trunk/safekeep.spec.in, - safekeep/trunk/debian/control, safekeep/trunk/TODO: Build docs at - distribution time to remove build-time dependency on asciidoc 6, - which requires python 2.3. These components are not readily - available on older system, making it impossible for packagers to - provide ready-make packages for distros such as RHEL3. Based on a - suggestion from Dag Wieers <da...@wi...>. - -2007-11-07 14:54 +0000 [r568] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Make uses $() not ${} - -2007-11-07 14:52 +0000 [r567] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: More stuff on the wish list - -2007-11-07 14:39 +0000 [r566] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Update test to be explicit with the - mode - -2007-11-07 14:39 +0000 [r565] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Change version to a devel number - -2007-11-07 14:36 +0000 [r564] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/TODO, - safekeep/trunk/doc/safekeep.txt: Always require specification of - the operation mode, based on suggestion from Gert - <ger...@ta...>. - -2007-11-07 14:21 +0000 [r563] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO with feedback from users. - -2007-11-07 14:17 +0000 [r562] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Future import must come first. - -2007-11-07 14:15 +0000 [r561] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Provide Python 2.2 compatibility based - on a suggestion from Gert <ger...@ta...>. - -2007-10-19 17:24 +0000 [r558] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: We have to upload the tarball too to SF. - -2007-10-19 17:17 +0000 [r557] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Automate SF uploading too. - -2007-10-19 17:10 +0000 [r556] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Add simple deploy target to deploy RPMs - to YUM repo - -2007-10-19 16:50 +0000 [r554] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in, safekeep/trunk/ChangeLog: Update - ChangeLog - -2007-10-19 16:47 +0000 [r553] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/ANNOUNCE: Prepare for - release 1.0.3. - -2007-10-19 16:38 +0000 [r552] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Add target to deploy latest docs to - website - -2007-10-12 21:17 +0000 [r550] Stelian Pop <st...@la...> - - * safekeep/trunk/LICENSE, safekeep/trunk/safekeep: Fix the - copyright notices. - -2007-10-09 11:44 +0000 [r549] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep: Give a clear backup status on job end - -2007-10-09 11:44 +0000 [r548] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep: Better error handling and logging in - spawn() - -2007-10-09 11:43 +0000 [r547] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: - Implement --force to handle the unexpected. - -2007-09-08 06:06 +0000 [r546] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Remove macro from comments, it - gets expanded in there otherwise. - -2007-09-07 16:45 +0000 [r544] Dimi Paun <di...@la...> - - * safekeep/trunk/ChangeLog: Update ChangeLog - -2007-09-07 16:40 +0000 [r543] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in, safekeep/trunk/safekeep, - safekeep/trunk/ANNOUNCE: Prepare for 1.0.2. - -2007-09-07 03:15 +0000 [r542] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Remove references to - %{PACKAGE_VERSION}, follow the Fedora guidelines closer. - -2007-09-07 03:12 +0000 [r541] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Provide default attr for all - packages. - -2007-09-07 03:11 +0000 [r540] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Clarify the licensing in .rpm - package - -2007-09-07 03:09 +0000 [r539] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: We don't need to include AUTHORS - COPYING LICENSE multiple times, keeping them in -common is - enough. - -2007-09-07 03:08 +0000 [r538] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: More acceptable SF link - -2007-06-17 23:26 +0000 [r533] Dimi Paun <di...@la...> - - * safekeep/trunk/ANNOUNCE: We now support Fedora 7 too. - -2007-06-17 22:47 +0000 [r532] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Tiny fix for Fedora 7 - -2007-06-17 22:45 +0000 [r531] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Make the tag fully automatic - -2007-06-17 22:38 +0000 [r529] Dimi Paun <di...@la...> - - * safekeep/trunk/ChangeLog: Update ChangeLog - -2007-06-17 22:37 +0000 [r528] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Update version to 1.0.1 - -2007-06-17 22:36 +0000 [r527] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in, safekeep/trunk/ANNOUNCE: Prepare - announcement for version 1.0.1. - -2007-06-11 04:00 +0000 [r526] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Add automatic release detection, - for proper Fedora 7 support. - -2007-06-11 00:41 +0000 [r525] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Remove support for Fedora Core 5, - add support for Fedora 7 and CentOS 5 - -2007-06-10 23:02 +0000 [r524] Dimi Paun <di...@la...> - - * safekeep/trunk, safekeep/trunk/safekeep-test: Adjust the test to - support also Fedora 7, which includes the distro id automatically - in the generated rpm names. - -2007-06-08 22:11 +0000 [r523] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Collect releases in the releases/ dir. - -2007-06-08 22:02 +0000 [r522] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Account for FC7 adding the distro id - (.f7) to the RPM name. - -2007-06-08 21:58 +0000 [r521] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Make sure we don't override - user's configuration - -2007-06-08 21:55 +0000 [r520] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/rules, safekeep/trunk/safekeep.spec.in: - Move the man pages for .backup and .conf to the server package. - -2007-06-08 21:49 +0000 [r519] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Bit nicer gecos field. - -2007-06-08 20:38 +0000 [r518] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/safekeep-server.postinst, - safekeep/trunk/Makefile, safekeep/trunk/safekeep.spec.in: Remove - configuration migration code, it shouldn't be necessary anymore - now that we reached 1.0. Besides it triggers rpm-lint errors. - -2007-06-08 19:46 +0000 [r517] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/safekeep-server.docs, - safekeep/trunk/safekeep.spec.in: Do not package safekeep-test, - it's useful only during development, and creates all sort of - rpm-lint errors. - -2007-05-29 04:30 +0000 [r516] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Do not complain if we can't figure out - the SVN root - -2007-05-29 04:24 +0000 [r515] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Do not complain if .rpmmacros doesn't - exist. - -2007-05-28 23:58 +0000 [r514] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: We no longer need chsh(1). - -2007-05-28 15:46 +0000 [r513] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/safekeep-server.postinst, - safekeep/trunk/safekeep.spec.in: We no longer need to have a - working shell for the safekeep user. Better from a security - perspective. - -2007-05-28 15:39 +0000 [r512] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Explicitely specify the shell to be used - for running the command, in case the default shell is not usable. - Suggested by Jeff Spaleta in order to avoid having a valid shell - for the safekeep account. - -2007-05-27 14:53 +0000 [r511] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Create the safekeep user - following the Fedora policy: - http://fedoraproject.org/wiki/PackagingDrafts/UsersAndGroups - -2007-05-27 14:48 +0000 [r510] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Explicitely add the group, as - per the Fedora policy: - http://fedoraproject.org/wiki/PackagingDrafts/UsersAndGroups The - rationale is: We want to invoke groupadd explicitly instead of - relying on useradd to create the group for us. This is because - useradd alone would fail if the group it tries to create already - existed. - -2007-05-27 14:45 +0000 [r509] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Use abstract paths - -2007-05-27 14:42 +0000 [r508] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/safekeep-server.prerm, - safekeep/trunk/safekeep.spec.in: The Fedora policy states that we - shouldn't delete our user: - http://fedoraproject.org/wiki/PackagingDrafts/UsersAndGroups Here - is the rationale: We never remove users or groups created by - packages. There's no sane way to check if files owned by those - users/groups are left behind (and even if there would, what would - we do to them?), and leaving those behind with ownerships - pointing to now nonexistent users/groups may result in security - issues when a semantically unrelated user/group is created later - and reuses the UID/GID. Also, in some setups deleting the - user/group might not be possible or/nor desirable (eg. when using - a shared remote user/group database). Cleanup of unused - users/groups is left to the system administrators to take care of - if they so desire. - -2007-05-16 14:09 +0000 [r499] Dimi Paun <di...@la...> - - * safekeep/trunk/ChangeLog: Update ChangeLog - -2007-05-16 14:09 +0000 [r498] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Now we're 1.0 - -2007-05-16 14:07 +0000 [r497] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Update .spec changelog - -2007-05-16 14:06 +0000 [r496] Dimi Paun <di...@la...> - - * safekeep/trunk/ANNOUNCE: Prepare the 1.0 release - -2007-05-16 13:55 +0000 [r495] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.backup.txt: Add warning about sharing - repository paths, hopefully this will help people avoid some - nasty situations. - -2007-05-16 13:48 +0000 [r494] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.backup.txt: Fix reference to .backup - files - -2007-04-27 05:05 +0000 [r490] Dimi Paun <di...@la...> - - * safekeep/trunk/ChangeLog: Update ChangeLog - -2007-04-27 05:05 +0000 [r489] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Release 0.9.3 is almost ready... - -2007-04-27 05:04 +0000 [r488] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Update the RPM changelog for - release 0.9.3. - -2007-04-27 05:01 +0000 [r487] Dimi Paun <di...@la...> - - * safekeep/trunk/ANNOUNCE: Prepare the ANNOUNCE file for the - release. - -2007-04-27 04:48 +0000 [r486] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.backup.txt, - safekeep/trunk/doc/safekeep.txt: A few more doc tweaks - -2007-04-27 04:44 +0000 [r485] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.backup.txt, - safekeep/trunk/doc/safekeep.txt: Eduard Malinschi - <ed...@la...> Clarify the docs for database dumps. - -2007-04-25 07:51 +0000 [r484] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep: F i x d e b u g p r i n t o u t l i k e - t h i s . - -2007-04-24 13:27 +0000 [r483] Stelian Pop <st...@la...> - - * safekeep/trunk/debian/control: Ubuntu's chsh is part of 'passwd' - package. - -2007-04-23 21:01 +0000 [r482] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep: Fix the 'one letter per line' email - problem. - -2007-04-21 15:19 +0000 [r481] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/safekeep-server.postinst, - safekeep/trunk/safekeep.spec.in, safekeep/trunk/debian/control: - Switch the default shell for the 'safekeep' account to /bin/bash. - We need it to be able to execute commands as 'safekeep' via - su(1). Also, to help people upgrading, force the shell of already - existing 'safekeep' users to /bin/bash. We can remove this in the - future once we know all old users have upgraded to 0.9.3 or - later. - -2007-03-20 20:40 +0000 [r479] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Force data cleanup in case there have - been multiple backups since the last invocation - -2007-03-16 11:55 +0000 [r478] Stelian Pop <st...@la...> - - * safekeep/trunk/debian/rules: Shell expansion doesn't seem to - happen here for whatever reason, do it manually. - -2007-03-13 18:52 +0000 [r469] Dimi Paun <di...@la...> - - * safekeep/trunk/ChangeLog: Update ChangeLog - -2007-03-13 18:51 +0000 [r468] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Bump the version to 0.9.2 - -2007-03-13 18:41 +0000 [r467] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Make paths absolute only if they exist - -2007-03-13 18:36 +0000 [r466] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in, safekeep/trunk/ANNOUNCE: Update - ANNOUNCE and release changelog - -2007-03-13 17:35 +0000 [r465] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Update RPM changelog - -2007-03-13 06:25 +0000 [r464] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Use the safekeep user for key - deployment for now, it is messy otherwise - -2007-03-13 05:52 +0000 [r463] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Make sure the paths to the SSH keys are - absolute - -2007-03-13 05:25 +0000 [r462] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Bind / in /mnt/ instead of /tmp/ to - avoid unpleasant situations with cleanup scripts. - -2007-03-13 05:22 +0000 [r461] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Run the --server and --key mode as - root to test the new user-changing functionality - -2007-03-13 05:20 +0000 [r460] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Fix typo - -2007-03-09 17:48 +0000 [r459] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Cleanup snapshots as well - -2007-03-09 17:40 +0000 [r458] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Fetch the RPMs from the build dirs. - -2007-03-09 16:02 +0000 [r457] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Streamline the make targets to be closer - to the standard ones. - -2007-03-09 15:28 +0000 [r456] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.backup.txt, - safekeep/trunk/debian/safekeep-server.postinst, - safekeep/trunk/debian/rules, safekeep/trunk/Makefile, - safekeep/trunk/safekeep-test, safekeep/trunk/safekeep.spec.in, - safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt, - safekeep/trunk/debian/safekeep-server.dirs: Rename - /etc/safekeep/clients.d to /etc/safekeep/backup.d - -2007-03-09 02:35 +0000 [r455] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: More tracing - -2007-03-09 02:21 +0000 [r454] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/rules, safekeep/trunk/safekeep.spec.in: Fix - permissions - -2007-03-09 01:04 +0000 [r453] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Fix typo - -2007-03-09 01:03 +0000 [r452] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in, - safekeep/trunk/debian/safekeep-server.dirs: Fix the packages to - include the clients.d dir as well - -2007-03-09 00:33 +0000 [r451] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.txt: Fix docs - -2007-03-08 22:44 +0000 [r450] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO - -2007-03-08 22:43 +0000 [r449] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/rules, safekeep/trunk/Makefile, - safekeep/trunk/debian/safekeep-server.docs, - safekeep/trunk/safekeep.spec.in, safekeep/trunk/safekeep.cron, - safekeep/trunk/sample.conf (removed), - safekeep/trunk/safekeep.conf (added): Install a default - safekeep.conf in /etc/safekeep - -2007-03-08 21:46 +0000 [r448] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Make use of the new config files to - avoid the deprecation warning in tests - -2007-03-08 20:56 +0000 [r447] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.backup.txt: Update docs - -2007-03-08 20:53 +0000 [r446] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Look for the client .backup files in the - clients.d directory that is present in the same directory as the - safekeep.conf file. - -2007-03-08 20:35 +0000 [r445] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.conf.txt, safekeep/trunk/safekeep, - safekeep/trunk/sample.conf: Add property that controls the data - repo base dir - -2007-03-08 20:27 +0000 [r444] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.conf.txt, safekeep/trunk/safekeep, - safekeep/trunk/sample.conf: Instrument the --keys mode to work - with a different backup user. Rename the property to - 'backup.user' instead of just 'user'. - -2007-03-08 03:44 +0000 [r443] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.conf.txt, safekeep/trunk/safekeep, - safekeep/trunk/sample.conf: Teach safekeep to switch to a given - user in server mode. Controlled via the 'user' property in - /etc/safekeep/safekeep.conf - -2007-03-07 22:40 +0000 [r442] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: Allow - for the explicit spcification of an identity file during key - management - -2007-03-07 21:28 +0000 [r441] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: - Deprecate the ability to specify client config files on the - command line - -2007-03-07 19:13 +0000 [r440] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Fix the local test - -2007-03-07 19:13 +0000 [r439] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: We always need a props dict - -2007-03-07 19:07 +0000 [r438] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Look at the default configuration files - only if they exist - -2007-03-07 16:54 +0000 [r437] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.txt: Mention the new conf file - -2007-03-07 16:52 +0000 [r436] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: - Deprecate the email options - -2007-03-07 16:28 +0000 [r435] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.conf.txt (added), - safekeep/trunk/debian/rules, safekeep/trunk/Makefile, - safekeep/trunk/debian/safekeep-server.docs, - safekeep/trunk/safekeep.spec.in, safekeep/trunk/sample.conf - (added): Add man page for safekeep.conf - -2007-03-07 15:23 +0000 [r434] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.backup.txt, - safekeep/trunk/debian/rules, safekeep/trunk/Makefile, - safekeep/trunk/debian/safekeep-server.docs, - safekeep/trunk/safekeep.spec.in, safekeep/trunk/sample.backup - (added), safekeep/trunk/sample.conf (removed): Complete the - renaming of safekeep.conf.txt into safekeep.backup.txt - -2007-03-06 21:15 +0000 [r433] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.backup.txt (added), - safekeep/trunk/doc/safekeep.conf.txt (removed), - safekeep/trunk/doc/safekeep.txt: Rename the man page - safekeep.conf to safekeep.backup to match the new naming - convention. Adjust the docs to the new directory structure. - -2007-03-06 21:07 +0000 [r432] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Read the email properties from the - global config file - -2007-03-06 04:52 +0000 [r431] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Add simple Java-like properties parser - -2007-03-06 04:11 +0000 [r430] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Add (partial) support for a global - configuration file: /etc/safekeep/safekeep.conf Allow the - -c/--conf switch to take both global conf file and client conf - files as parameters. - -2007-03-04 20:15 +0000 [r429] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Add migration code to source install as - well - -2007-03-04 20:13 +0000 [r428] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/safekeep-server.postinst, - safekeep/trunk/debian/rules, safekeep/trunk/safekeep.spec.in, - safekeep/trunk/safekeep, - safekeep/trunk/debian/safekeep-server.dirs: Move the client - configuration files in /etc/safekeep/clients.d Change the - extension of client config files to .backup from .client. Provide - automatic migration code for DEB and RPM packages. - -2007-03-04 17:52 +0000 [r427] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.txt: Fix restore docs. - -2007-03-04 17:52 +0000 [r426] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO - -2007-02-23 22:23 +0000 [r425] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep: Do not stop if a single client fails. - Separate the client outputs to ease log reading. - -2007-02-12 06:29 +0000 [r424] Dimi Paun <di...@la...> - - * safekeep/trunk/ANNOUNCE: Small wording fix - -2007-02-12 05:29 +0000 [r420] Dimi Paun <di...@la...> - - * safekeep/trunk/ChangeLog: Update ChangeLog - -2007-02-12 05:28 +0000 [r419] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Up the version to 0.9.1 - -2007-02-12 05:27 +0000 [r418] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO - -2007-02-12 05:07 +0000 [r416] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO, safekeep/trunk/ANNOUNCE (added): dd an - ANNOUNCE file for release 0.9.1 - -2007-02-12 04:36 +0000 [r415] Dimi Paun <di...@la...> - - * safekeep/trunk/README: Add a little intro about the project - -2007-02-12 04:30 +0000 [r414] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile, safekeep/trunk/README, - safekeep/trunk/TODO: Add a way to install SafeKeep from source. - -2007-02-12 00:40 +0000 [r413] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: "Jeff Spaleta" - <jsp...@gm...> Get RPM into shape for a fedora project - submission. - -2007-02-11 01:17 +0000 [r412] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO, safekeep/trunk/doc/safekeep.txt: More on - include/exclude directives - -2007-02-11 01:07 +0000 [r411] Dimi Paun <di...@la...> - - * safekeep/trunk/README: Update requirements - -2007-02-11 01:03 +0000 [r410] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in, safekeep/trunk/TODO: Python 2.2 - is good enough - -2007-02-10 17:00 +0000 [r409] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO - -2007-02-07 20:02 +0000 [r405] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO - -2007-02-07 01:53 +0000 [r404] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO - -2007-02-07 01:42 +0000 [r402] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO, safekeep/trunk/doc/safekeep.txt: Add some - documentation about data restoration - -2007-02-06 16:30 +0000 [r399] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.conf.txt: Document the auto dir - creation - -2007-02-05 22:33 +0000 [r398] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.conf.txt: Formatting fixes - -2007-02-05 22:18 +0000 [r397] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO - -2007-02-05 22:15 +0000 [r396] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Try to automatically create the data - store dir if it doesn't exist. - -2007-02-05 21:01 +0000 [r395] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: When adding lines to authorized_keys, - always end the last line with a NL - -2007-02-05 18:28 +0000 [r394] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: Avoid - scanning /etc/safekeep.d in non-client mode. - -2007-02-05 06:19 +0000 [r388] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.conf.txt: By default, we exclude - non-matching files, which is different from what rdiff-backup - does. So make it more explicit in the documentation. - -2007-02-05 06:13 +0000 [r387] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.conf.txt: Correct and clarify where - the data will go by default. - -2007-02-05 06:07 +0000 [r386] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update the TODO - -2007-02-04 05:18 +0000 [r369] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.txt: Eduard Malinschi - <ed...@la...> Fix typo. - -2007-02-02 01:16 +0000 [r364] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Fix copy and paste bug - -2007-02-02 01:05 +0000 [r362] Dimi Paun <di...@la...> - - * safekeep/trunk/ChangeLog: Update ChangeLog one more time - -2007-02-02 00:57 +0000 [r361] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Whitespace fix - -2007-02-02 00:53 +0000 [r360] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.txt: Add documentation about keys - deployment - -2007-02-02 00:43 +0000 [r359] Dimi Paun <di...@la...> - - * safekeep/trunk/TODO: Update TODO - -2007-02-02 00:40 +0000 [r358] Dimi Paun <di...@la...> - - * safekeep/trunk/ChangeLog: Update ChangeLog - -2007-02-02 00:39 +0000 [r357] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Bump version to 0.9.0 - -2007-02-02 00:36 +0000 [r356] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Adjust test to match the new - structure used by the repos - -2007-02-02 00:06 +0000 [r355] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Fix safekeep.conf missing - extension - -2007-02-01 22:18 +0000 [r354] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.conf.txt: Finish documenting the - configuration format - -2007-02-01 15:32 +0000 [r353] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/rules, safekeep/trunk/safekeep.spec.in: - Install the daily cron task as 'safekeep', not 'safekeep.cron' to - follow the common practice. - -2007-02-01 04:13 +0000 [r352] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.conf.txt: Start documenting the - configuration format - -2007-02-01 03:43 +0000 [r351] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/rules: Keep the file names consistent - between the .deb and .rpm packages. If we decide to rename them, - we'll do so across both formats. - -2007-02-01 03:40 +0000 [r350] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Repeat the generic description - of the package in all subpackages. - -2007-01-31 23:49 +0000 [r349] Stelian Pop <st...@la...> - - * safekeep/trunk/Makefile: Build DEBs in /tmp to avoid cluttering - the source dir. - -2007-01-31 23:28 +0000 [r348] Stelian Pop <st...@la...> - - * safekeep/trunk/debian/docs (removed), - safekeep/trunk/debian/safekeep-common.dirs (added), - safekeep/trunk/debian/safekeep-server.postinst (added), - safekeep/trunk/debian/rules, - safekeep/trunk/debian/safekeep-server.prerm (added), - safekeep/trunk/debian/safekeep-server.docs (added), - safekeep/trunk/debian/control, - safekeep/trunk/debian/safekeep-common.docs (added), - safekeep/trunk/debian/dirs (removed), - safekeep/trunk/debian/safekeep-client.docs (added), - safekeep/trunk/debian/safekeep-server.dirs (added): Update the - DEB packaging: - split into -server, -client, -common subpackages - - create the 'safekeep' user for the server - install a daily - cron task - etc. - -2007-01-31 20:57 +0000 [r347] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep.spec.in: Typo. - -2007-01-31 20:06 +0000 [r346] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.conf.txt (added), - safekeep/trunk/Makefile, safekeep/trunk/safekeep.spec.in: Add - skeletal man page for the configuration file. - -2007-01-31 19:25 +0000 [r345] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in, safekeep/trunk/TODO (added): Add - a TODO file with ideas for the future - -2007-01-31 16:20 +0000 [r344] Dimi Paun <di...@la...> - - * safekeep/trunk/ChangeLog (added): Add a ChangeLog file - -2007-01-31 16:19 +0000 [r343] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile, safekeep/trunk/doc/users (added): Add - ChangeLog generation support - -2007-01-31 15:55 +0000 [r342] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.cron: Make the reports look a bit more - interesting. - -2007-01-31 15:21 +0000 [r341] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in, safekeep/trunk/safekeep.cron - (added): Install a daily cron task for safekeep - -2007-01-30 19:31 +0000 [r340] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Use the regular logging functions to - complain about ignored files - -2007-01-30 19:21 +0000 [r339] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Make use of the standard safekeep - user instead of inventing our own backup-op user. - -2007-01-30 17:15 +0000 [r338] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Create the .ssh dir at install - time too - -2007-01-30 16:55 +0000 [r337] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Fix string interpolation - -2007-01-30 16:27 +0000 [r336] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Fix installation of packages on the - test boxes - -2007-01-30 15:33 +0000 [r335] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: The new packages superseed the - old ones - -2007-01-30 15:32 +0000 [r334] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Make sure the version we expect - ends up being installed - -2007-01-30 15:25 +0000 [r333] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Instrument the fulltest to deal - with the multiple packages - -2007-01-30 15:01 +0000 [r332] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Add the licensing files to all - packages - -2007-01-30 04:45 +0000 [r331] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Create the homedir in the build - root - -2007-01-30 04:43 +0000 [r330] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Create the home dir during build - -2007-01-29 21:46 +0000 [r329] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Split RPM into 3 packages: - -common, -client, -server Add a bunch more Requires, etc. Create - a 'safekeep' user for the server part. - -2007-01-29 19:13 +0000 [r328] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.txt: Fix the example with the latest - results - -2007-01-29 17:22 +0000 [r327] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Ignode /selinux/ too. - -2007-01-29 05:40 +0000 [r326] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: A more compact representation for the - excludes - -2007-01-29 05:22 +0000 [r325] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Exclude unneeded stuff from named's - chroot. No need to include /, it's implicit in rdiff-backup. - -2007-01-29 01:31 +0000 [r324] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: "Stelian Pop" <st...@la...> - Invoke remote command explicitly in case the wrong SSH key is - used with the client. - -2007-01-28 23:34 +0000 [r323] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep: Let the user know we're excluding some - files because of wrong suffix. - -2007-01-28 23:23 +0000 [r322] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep: List the options in the same order as - the modes. - -2007-01-27 18:13 +0000 [r321] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: Remove - the --client mode from the online help screen, this is an - internal-only mode, and it just makes the output more confusing - and difficult to read. - -2007-01-27 18:10 +0000 [r320] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: We need - to support the -c/--conf in --keys mode too - -2007-01-27 17:11 +0000 [r319] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: Rename - the -m option to -s, now that it's available. - -2007-01-27 17:09 +0000 [r318] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: Use - sendmail is no SMTP server is specified. - -2007-01-26 23:25 +0000 [r317] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Use the standard os.getenv() instead our - ad-hoc version - -2007-01-26 23:16 +0000 [r316] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.txt: Document some more realistic - configuration examples. - -2007-01-26 22:17 +0000 [r315] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Protect against duplicated client IDs - -2007-01-26 22:04 +0000 [r314] Dimi Paun <di...@la...> - - * safekeep/trunk/sample.conf: Cleanup a bit the sample file - -2007-01-26 22:02 +0000 [r313] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/docs, safekeep/trunk/sample.cfg (removed), - safekeep/trunk/safekeep-test, safekeep/trunk/safekeep.spec.in, - safekeep/trunk/safekeep, safekeep/trunk/sample.conf (added), - safekeep/trunk/doc/safekeep.txt: Rename the .cfg extension to - .conf, and the --cfg option to --conf - -2007-01-26 21:46 +0000 [r312] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test, safekeep/trunk/safekeep, - safekeep/trunk/doc/safekeep.txt: Rename the -C option to -c now - that it is available. - -2007-01-26 21:16 +0000 [r311] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.txt: Cleanup the docs a bit - -2007-01-26 21:13 +0000 [r310] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile, safekeep/trunk/doc/Makefile (removed): - Merge the doc Makefile into the main Makefile. It makes it easier - if everything is in one place. - http://members.canb.auug.org.au/~millerp/rmch/recu-make-cons-harm.html - -2007-01-26 20:35 +0000 [r309] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Less confusing name - -2007-01-26 20:28 +0000 [r308] Dimi Paun <di...@la...> - - * safekeep/trunk/doc/safekeep.txt: Update documentation - -2007-01-26 19:03 +0000 [r307] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Cleanup code, we check now the arguments - ahead of time. - -2007-01-26 18:40 +0000 [r306] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Add support for filtering by client-ids - in server mode - -2007-01-26 18:27 +0000 [r305] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Complain if inappropriate options are - used in selected mode - -2007-01-26 18:18 +0000 [r304] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Validate arguments as clientIDs where - appropriate - -2007-01-26 18:10 +0000 [r303] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Transform the list of configurations - into a dictionary. It should make it easier to look through the - known ids. - -2007-01-26 16:47 +0000 [r302] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Default to server mode only at the end. - Small cleanups. - -2007-01-26 16:33 +0000 [r301] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Allow only one mode at a time. - -2007-01-26 16:32 +0000 [r300] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Teach usage() to exit if need be, - simplify the code a bit. - -2007-01-26 16:26 +0000 [r299] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Be a little more careful when accessing - environment variables, provide fallbacks in case they are not - defined - -2007-01-26 11:04 +0000 [r298] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep: Fix backup.log marker logic. - -2007-01-26 04:27 +0000 [r297] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: Make - the keys options more like options rather then mode selectors. - This means that any combination of them is now valid as input on - the command line. Addition documentation work to match these - changes. - -2007-01-26 04:09 +0000 [r296] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: Remove - the short options for selecting the operation mode, since they - were polluting the namespace and they weren't all that useful: - - the server mode is the defalt mode, no switch is required - the - client mode should never be invoked manually - the keys mode - benefits slighly from the additional clarity. This should allow - us in the future more freedom to add other options with those - names. - -2007-01-26 03:56 +0000 [r295] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Reorganize the help message for clarity - -2007-01-25 18:36 +0000 [r294] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: According to the FHS - (http://www.pathname.com/fhs/), we can also exclude the following - dirs: /var/cache /var/lock /var/run /var/tmp - -2007-01-25 16:46 +0000 [r293] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Use os.environ['LOGNAME'] instead of - os.getlogin() to avoid errors when the controlling terminal goes - missing (http://docs.python.org/lib/os-procinfo.html) - -2007-01-25 14:50 +0000 [r292] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep: Fix 'safekeep -k --deploy' problem. - -2007-01-25 04:57 +0000 [r291] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Always nuke yum's cache of our - repo, it's changing too fast and causes problems - -2007-01-25 04:47 +0000 [r290] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Create the config dir so it is - available to receive config files - -2007-01-25 04:21 +0000 [r289] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Fix server namer. - -2007-01-25 04:09 +0000 [r288] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: If the backup.log exists, mark current - possition and dump starting from the marker only - -2007-01-24 19:58 +0000 [r287] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Provide a reasonable set of - includes/excludes if not specified - -2007-01-23 22:11 +0000 [r286] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: Create dirs for the man page too - -2007-01-23 22:04 +0000 [r285] Dimi Paun <di...@la...> - - * safekeep/trunk/README: Document the build requirements - -2007-01-23 22:04 +0000 [r284] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep.spec.in: We need to create the dir for - the binary - -2007-01-12 11:53 +0000 [r281] Stelian Pop <st...@la...> - - * safekeep/trunk/debian/rules, safekeep/trunk/debian/control: Fix - the debian build rules for the manpage. - -2007-01-12 11:45 +0000 [r280] Stelian Pop <st...@la...> - - * safekeep/trunk/debian/rules, safekeep/trunk/Makefile, - safekeep/trunk/sample.cfg, safekeep/trunk/doc/callouts.xsl - (added), safekeep/trunk/safekeep.spec.in, - safekeep/trunk/debian/control, safekeep/trunk/doc/Makefile - (added), safekeep/trunk/safekeep, safekeep/trunk/doc (added), - safekeep/trunk/doc/safekeep.txt (added), - safekeep/trunk/doc/asciidoc.conf (added): Add documentation and - rework the sample configuration file. - -2007-01-12 05:02 +0000 [r279] Dimi Paun <di...@la...> - - * safekeep/trunk/.project: Fix project name - -2007-01-04 00:36 +0000 [r276] Dimi Paun <di...@la...> - - * safekeep/trunk/README: Test checkin 2 - -2007-01-04 00:31 +0000 [r275] Dimi Paun <di...@la...> - - * safekeep/trunk/README: Test checkin 1 - -2007-01-03 14:36 +0000 [r274] Stelian Pop <st...@la...> - - * safekeep/trunk/Makefile: Update packaging/versionning to SVN - instead of CVS. - -2007-01-03 14:18 +0000 [r273] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep.spec.in: No need for python_sitelib for - SafeKeep. - -2007-01-03 06:46 +0000 [r272] Dimi Paun <di...@la...> - - * safekeep/trunk/README: Fix protocol docs - -2007-01-03 00:32 +0000 [r271] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep: Misc typo fixes. Use python provided - os.getlogin() and os.uname()[1] instead of looking at possibly - inexistent environment variables. - -2007-01-03 00:30 +0000 [r270] Stelian Pop <st...@la...> - - * safekeep/trunk/sample.cfg: Fix retention parameter and XML syntax - -2007-01-02 23:39 +0000 [r269] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep: Fix --status argument parsing and - reorganize the option list. - -2007-01-02 23:18 +0000 [r268] Stelian Pop <st...@la...> - - * safekeep/trunk/safekeep: Whitespace cleanup. - -2007-01-02 23:11 +0000 [r267] Stelian Pop <st...@la...> - - * safekeep/trunk/debian/docs (added), safekeep/trunk/debian/rules, - safekeep/trunk/Makefile, safekeep/trunk/safekeep.spec.in (added), - safekeep/trunk/debian/dirs: Packaging (rpm and deb) enhancements: - - first version of safekeep.spec.in - install documentations - (AUTHORS, README, LICENSE, etc) - use $(name) in Makefile instead - of safekeep when possible - -2006-12-27 21:21 +0000 [r266] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/rules, safekeep/trunk/Makefile, - safekeep/trunk/README, safekeep/trunk/debian/changelog.in, - safekeep/trunk/sample.cfg, safekeep/trunk/safekeep-test, - safekeep/trunk/LICENSE, safekeep/trunk/debian/control, - safekeep/trunk/safekeep, safekeep/trunk/AUTHORS: Rename LaBackup - to SafeKeep, using the following rules: - in natural language, it - is spelled SafeKeep - the binary, package, dirs, etc. are all - lower case: safekeep This follows the pattern used by - SpamAssassin. Please note that the files have been manipulated in - the CVS repo to maintain the history. The new CVS module is - called 'SafeKeep', the old 'LaBackup' module still exists in CVS - as read-only. - -2006-12-27 20:50 +0000 [r265] Dimi Paun <di...@la...> - - * safekeep/trunk/LICENSE (added), safekeep/trunk/AUTHORS (added), - safekeep/trunk/COPYING (added): Add OSS structure - -2006-12-27 20:39 +0000 [r264] Dimi Paun <di...@la...> - - * safekeep/trunk/README, safekeep/trunk/safekeep: Add protocol - versioning. - -2006-12-24 17:04 +0000 [r263] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Pass the default id to the client as - well. - -2006-12-20 03:55 +0000 [r262] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Make use of our wrapper spawn() - function. - -2006-12-20 03:46 +0000 [r261] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Replace the '+' in the snapshot version - with '.', the '+' is too unusual. Report the date in UTC to avoid - the need for a timezone. Don't separate time from date to create - one nr for the snapshot id. - -2006-12-20 03:40 +0000 [r260] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Get rid of extranous white space at end - of line - -2006-12-20 03:36 +0000 [r259] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Capture stdout and stderr of child - processes and redirect it to the logs - -2006-12-19 05:50 +0000 [r258] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Exclude /etc/mtab and /etc/lvm - during backup, they change during snapshotting - -2006-12-19 05:36 +0000 [r257] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Add ability to pass extra args to - LaBackup, such as -vv flags for debugging - -2006-12-19 05:30 +0000 [r256] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Add parameter to control nr of test - iterations - -2006-12-19 05:29 +0000 [r255] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Fix typo - -2006-12-19 01:34 +0000 [r254] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Rerooting the paths on the rbind root - requires special attention - -2006-12-19 01:27 +0000 [r253] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Fix snapshot syntax and enable - snapshots during testing. - -2006-12-14 04:49 +0000 [r252] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Fix typo - -2006-12-14 04:45 +0000 [r251] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Always reset the known_hosts file - -2006-12-14 04:32 +0000 [r250] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Always reset the host file - -2006-12-14 04:21 +0000 [r249] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Be a bit more explicit - -2006-12-14 04:19 +0000 [r248] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Fix typo - -2006-12-14 04:07 +0000 [r247] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Fix typo - -2006-12-14 04:05 +0000 [r246] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Add support for deploying to - multiple distros - -2006-12-14 04:03 +0000 [r245] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Add automatic distribution - detection - -2006-12-14 03:49 +0000 [r244] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Use a more distinctive name for the - devel repo - -2006-12-14 03:26 +0000 [r243] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Bunch of little fixes - -2006-12-14 02:57 +0000 [r242] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: If the client is remote (that is, we - have a host), we must have a username and an identity file, so - reflect that in the code by removing all the code testing for - their existance. - -2006-12-14 02:46 +0000 [r241] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Use the default user too - -2006-12-14 02:45 +0000 [r240] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Use the default key for ctrl to - test that portion of the code - -2006-12-14 02:42 +0000 [r239] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Always perform the LVM check for - now - -2006-12-14 02:42 +0000 [r238] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Check for removed --rbinds - -2006-12-14 02:40 +0000 [r237] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Mark the rbind dir so we can later find - it easily - -2006-12-14 02:32 +0000 [r236] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Add conditional snapshotting - -2006-12-14 02:23 +0000 [r235] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Mark TODOs clearly - -2006-12-14 02:21 +0000 [r234] Dimi Paun <di...@la...> - - * safekeep/trunk/README: More instructions. - -2006-12-14 02:21 +0000 [r233] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Ensure RDBMSes are installed and - running - -2006-12-13 04:43 +0000 [r232] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Ignore clients that don't have proper - keys - -2006-12-13 04:39 +0000 [r231] Dimi Paun <di...@la...> - - * safekeep/trunk/README (added): Add a small README with info about - the full test - -2006-12-13 04:37 +0000 [r230] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Add client automatically to the - server's /etc/hosts - -2006-12-13 04:08 +0000 [r229] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Move fingerprint setup in the - server section - -2006-12-13 04:00 +0000 [r228] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Automatically deploy client's - fingerprint to the server so we avoid any kind of interactivity - during key management. - -2006-12-13 03:24 +0000 [r227] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Add support for local commands to - all helper functions. Take over client before we take over the - server. - -2006-12-12 05:21 +0000 [r226] Dimi Paun <di...@la...> - - * safekeep/trunk/Makefile: Rename testfull to fulltest, it's easier - on the tongue. - -2006-12-12 05:20 +0000 [r225] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/rules: Rename /etc/LaBackup to - /etc/LaBackup.d - -2006-12-12 05:16 +0000 [r224] Dimi Paun <di...@la...> - - * safekeep/trunk/debian/rules, safekeep/trunk/Makefile, - safekeep/trunk/debian/changelog.in, safekeep/trunk/sample.cfg, - safekeep/trunk/safekeep-test, safekeep/trunk/debian/control, - safekeep/trunk/safekeep: Standardize capitalization to - 'LaBackup'. Rename /etc/labackuip --> /etc/LaBackup.d - -2006-12-12 04:49 +0000 [r223] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Backup /srv instead of /var, there - we have too many files changing. Exclude a few problematic files - from the backup. Small misc fixes. - -2006-12-11 19:05 +0000 [r222] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Make the MD5 sums gathered on - client and server as simialar as possible in terms of the - filenames - -2006-12-11 04:21 +0000 [r221] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Prepare the server to receive the - data; better tracing - -2006-12-11 03:55 +0000 [r220] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Fix copy&paste bug - -2006-12-11 03:46 +0000 [r219] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Install/upgrade appropriately. Also - make sure to blow the cache away to we get the latest - -2006-12-11 03:35 +0000 [r218] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: We renamed the key-{ctrl,data} to - key_{ctrl,data} - -2006-12-11 03:33 +0000 [r217] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Do not attempt to cleanup non-existant - dir - -2006-12-11 03:31 +0000 [r216] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Make package optional, and turn it - off by default. - -2006-12-11 03:28 +0000 [r215] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Tiny fix - -2006-12-11 02:56 +0000 [r214] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Now we have LaBack in repo, install - it - -2006-12-11 02:55 +0000 [r213] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Build, sign and deploy the .rpm - -2006-12-11 01:45 +0000 [r212] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Deploty the server's ID to the - cliend a bit smarter, so we don't keep on adding it ad-infinitum. - -2006-12-11 01:40 +0000 [r211] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Getting rid of the .ssh dir is not - a good idea as we lose access to the box - -2006-12-11 01:38 +0000 [r210] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Add the key blindly to make sure we - have it, and we are asked the passwd only once. - -2006-12-11 01:32 +0000 [r209] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Fix typo - -2006-12-11 01:31 +0000 [r208] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Use the new func to reimplement - writefile() - -2006-12-11 01:29 +0000 [r207] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Add function that supports feeding - input to the remote command - -2006-12-11 01:28 +0000 [r206] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Generate a server id file, and - install it on client. Then install the control and data keys via - key management functionality. - -2006-12-10 19:48 +0000 [r205] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep-test: Nicer key naming for test server - -2006-12-10 19:05 +0000 [r204] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Introduce a --status action for the - --keys mode, and made it default. It displays the key status - (e.g. what will happen on --deploy) for each of the named - clients. Fix a few bugs left over in the key management code. - -2006-12-10 08:00 +0000 [r203] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Remove debug statement - -2006-12-10 07:56 +0000 [r202] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Remember the original line and feed that - to the client - -2006-12-10 07:54 +0000 [r201] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Render the keys back to text form - -2006-12-10 07:51 +0000 [r200] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Actually returned the parsed keys - -2006-12-10 07:50 +0000 [r199] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Implement parse_authorized_keys() - function. Disable agent forwarding for the commands we are - running on clients. - -2006-12-10 00:36 +0000 [r198] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Never return non-zero exit code - -2006-12-09 22:07 +0000 [r197] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Better key comment - -2006-12-09 22:04 +0000 [r196] Dimi Paun <di...@la...> - - * safekeep/trunk/safekeep: Automatically generate keys if they - don't exist. Rename some variables for c... [truncated message content] |
From: <di...@us...> - 2009-03-30 06:11:20
|
Revision: 641 http://safekeep.svn.sourceforge.net/safekeep/?rev=641&view=rev Author: dimi Date: 2009-03-30 06:11:10 +0000 (Mon, 30 Mar 2009) Log Message: ----------- Update ChangeLog Modified Paths: -------------- safekeep/trunk/ChangeLog Modified: safekeep/trunk/ChangeLog =================================================================== --- safekeep/trunk/ChangeLog 2009-03-30 06:10:25 UTC (rev 640) +++ safekeep/trunk/ChangeLog 2009-03-30 06:11:10 UTC (rev 641) @@ -1,3 +1,164 @@ +2009-03-30 06:10 +0000 [r640] Dimi Paun <di...@la...> + + * safekeep/trunk/ANNOUNCE: Prep the ANNOUNCE file + +2009-03-30 06:01 +0000 [r639] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in, safekeep/trunk/safekeep: Pre + release + +2009-03-16 15:05 +0000 [r638] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: Update changelog + +2009-03-16 15:05 +0000 [r637] Dimi Paun <di...@la...> + + * safekeep/trunk/doc/safekeep.backup.txt, safekeep/trunk/safekeep, + safekeep/trunk/samples/sample.backup: Frank Crawford + <fr...@cr...> Rework the handling of device files, + fifos and sockets as data attributes. Now special files are by + default included, unless explicitely excluded. A bunch of + spelling fixes sprinkled throughout. + +2009-03-15 14:52 +0000 [r636] Dimi Paun <di...@la...> + + * safekeep/trunk/debian/safekeep-server.docs, + safekeep/trunk/debian/safekeep-common.docs: Fix the DEB packages + for the new samples/ dir. + +2009-03-15 14:50 +0000 [r635] Dimi Paun <di...@la...> + + * safekeep/trunk/samples/client-script-sample.sh (added), + safekeep/trunk/doc/client-script-sample.sh (removed), + safekeep/trunk/safekeep.spec.in, safekeep/trunk/samples (added), + safekeep/trunk/sample.backup (removed), + safekeep/trunk/samples/sample.backup (added): Move the samples to + a separate directory. + +2009-03-14 21:17 +0000 [r634] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: Update changelog + +2009-03-14 21:14 +0000 [r633] Dimi Paun <di...@la...> + + * safekeep/trunk/doc/safekeep.backup.txt, + safekeep/trunk/doc/client-script-sample.sh (added), + safekeep/trunk/safekeep.spec.in, + safekeep/trunk/debian/safekeep-common.docs, + safekeep/trunk/safekeep, safekeep/trunk/sample.backup: Frank + Crawford <fr...@cr...> Implements the discussion of + invoking an external script on the client side, during a backup + being run. + +2009-03-01 06:17 +0000 [r632] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: Update changelog + +2009-03-01 06:16 +0000 [r631] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Frank Crawford + <fr...@cr...> Fix serious typo. + +2009-02-01 17:18 +0000 [r630] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Frank Crawford + <fr...@cr...> Avoid errors when dealing with mounts + containing spaces. + +2009-01-13 05:11 +0000 [r629] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Frank Crawford + <fr...@cr...> Don't send out empty emails. + +2008-11-19 20:42 +0000 [r628] Dimi Paun <di...@la...> + + * safekeep/trunk/doc/safekeep.backup.txt, + safekeep/trunk/doc/safekeep.conf.txt, + safekeep/trunk/safekeep.conf: Document the new bandwidth limiting + feature. + +2008-11-19 19:33 +0000 [r627] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Fix a few typos + +2008-11-19 19:21 +0000 [r626] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: Update ChangeLog + +2008-11-19 19:19 +0000 [r625] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Frederic Bourqui <fbo...@ya...> + Recover escaped dashes ('-'). + +2008-11-19 19:05 +0000 [r624] Dimi Paun <di...@la...> + + * safekeep/trunk/doc/safekeep.backup.txt, + safekeep/trunk/safekeep.spec.in, safekeep/trunk/safekeep: Allow + passing the pgpasswd to PostgreSQL as well. + +2008-11-19 18:40 +0000 [r623] Dimi Paun <di...@la...> + + * safekeep/trunk/doc/safekeep.backup.txt, + safekeep/trunk/safekeep.spec.in, safekeep/trunk/safekeep: Add + pass-through options for the DB dump command + +2008-11-19 18:16 +0000 [r622] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in, safekeep/trunk/safekeep, + safekeep/trunk/TODO: First cut at implementing bandwidth limiting + based on trickle. + +2008-11-19 16:39 +0000 [r621] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in, safekeep/trunk/safekeep.conf: By + default, run safekeep with nice +10 on the server side + +2008-11-19 16:37 +0000 [r620] Dimi Paun <di...@la...> + + * safekeep/trunk/doc/safekeep.conf.txt, + safekeep/trunk/safekeep.spec.in, safekeep/trunk/safekeep, + safekeep/trunk/TODO: Run ssh/rdiff through nice so we can control + the load better on the server. + +2008-11-19 15:05 +0000 [r619] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in, safekeep/trunk/TODO: Remove + implemented items + +2008-11-19 14:59 +0000 [r618] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Do not compress the SSH transport. This + places significantly higher load on the system, and it's not + likely to be useful as it is handled by rdiff-backup anyway. + +2008-11-19 14:58 +0000 [r617] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Add SSH verbosity control + +2008-11-19 14:19 +0000 [r616] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Add -C to the PG dumps. + +2008-10-16 16:14 +0000 [r615] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: Update changelog + +2008-10-16 16:14 +0000 [r614] Dimi Paun <di...@la...> + + * safekeep/trunk/TODO: Update TODO. + +2008-10-14 22:07 +0000 [r613] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Fix dopey MySQL dump. + +2008-10-07 20:33 +0000 [r609] Dimi Paun <di...@la...> + + * safekeep/trunk/ANNOUNCE: Update list of supported Fedoras + +2008-10-07 19:58 +0000 [r605] Dimi Paun <di...@la...> + + * safekeep/trunk/ChangeLog: Update ChangeLog + 2008-10-07 19:57 +0000 [r604] Dimi Paun <di...@la...> * safekeep/trunk/safekeep.spec.in: Update RPM changelog This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-30 06:10:34
|
Revision: 640 http://safekeep.svn.sourceforge.net/safekeep/?rev=640&view=rev Author: dimi Date: 2009-03-30 06:10:25 +0000 (Mon, 30 Mar 2009) Log Message: ----------- Prep the ANNOUNCE file Modified Paths: -------------- safekeep/trunk/ANNOUNCE Modified: safekeep/trunk/ANNOUNCE =================================================================== --- safekeep/trunk/ANNOUNCE 2009-03-30 06:01:13 UTC (rev 639) +++ safekeep/trunk/ANNOUNCE 2009-03-30 06:10:25 UTC (rev 640) @@ -1,35 +1,39 @@ -This is release 1.0.5 of SafeKeep, a centralized and easy to use +This is release 1.2.0 of SafeKeep, a centralized and easy to use backup application that combines the best features of a mirror and an incremental backup. What's new in this release: - - Allow providing the password for the DB user used for the DB dump - - Add config option for passing additional flags to rdiff-backup - - Avoid backing up special files by default - - Avoid creating multiple LVM snapshots (avoids some LVM bugs) - - Add new --cleanup option to help recovery from crashes - - Make it easier to package on platforms that don't have asciidoc + - Implement bandwidth limiting, based on trickle + - Add support for niced backup server (defaults to nice +10) + - External callbacks throughout the backup process + - Several minor improvements and fixes in usability + - We now backup all special files by default + - Add pass-through options for the DB dump command + - Allow passing the pgpasswd to PostgreSQL + - Avoid errors for mounts containing spaces + - Correctly handle LVM names that contain dashes + - Fix dopey MySQL dump. -Many thanks to Frank Crawford for providing patches for -most of the new features and bug fixes in this release! +Many thanks to Frank Crawford for providing many patches +for new features and bug fixes in this release. Because of lags created by using mirrors, this message may reach you before the release is available at the public sites. Sources and binaries will be available from the following locations: - RedHat EL 3,4,5, CentOS 3,4,5, Fedora 4,5,6,7,8,9,10: - http://prdownloads.sourceforge.net/safekeep/safekeep-common-1.0.5-1.fc8.noarch.rpm - http://prdownloads.sourceforge.net/safekeep/safekeep-client-1.0.5-1.fc8.noarch.rpm - http://prdownloads.sourceforge.net/safekeep/safekeep-server-1.0.5-1.fc8.noarch.rpm - http://prdownloads.sourceforge.net/safekeep/safekeep-1.0.5-1.fc8.src.rpm + http://prdownloads.sourceforge.net/safekeep/safekeep-common-1.2.0-1.fc8.noarch.rpm + http://prdownloads.sourceforge.net/safekeep/safekeep-client-1.2.0-1.fc8.noarch.rpm + http://prdownloads.sourceforge.net/safekeep/safekeep-server-1.2.0-1.fc8.noarch.rpm + http://prdownloads.sourceforge.net/safekeep/safekeep-1.2.0-1.fc8.src.rpm - Ubuntu Edgy, Dapper, and Breezy: - http://prdownloads.sourceforge.net/safekeep/safekeep-common_1.0.5_all.deb - http://prdownloads.sourceforge.net/safekeep/safekeep-client_1.0.5_all.deb - http://prdownloads.sourceforge.net/safekeep/safekeep-server_1.0.5_all.deb + http://prdownloads.sourceforge.net/safekeep/safekeep-common_1.2.0_all.deb + http://prdownloads.sourceforge.net/safekeep/safekeep-client_1.2.0_all.deb + http://prdownloads.sourceforge.net/safekeep/safekeep-server_1.2.0_all.deb - Source: - http://prdownloads.sourceforge.net/safekeep/safekeep-1.0.5.tar.gz + http://prdownloads.sourceforge.net/safekeep/safekeep-1.2.0.tar.gz To find out more about the project visit on our website: http://safekeep.sourceforge.net This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-30 06:01:23
|
Revision: 639 http://safekeep.svn.sourceforge.net/safekeep/?rev=639&view=rev Author: dimi Date: 2009-03-30 06:01:13 +0000 (Mon, 30 Mar 2009) Log Message: ----------- Pre release Modified Paths: -------------- safekeep/trunk/safekeep safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2009-03-16 15:05:43 UTC (rev 638) +++ safekeep/trunk/safekeep 2009-03-30 06:01:13 UTC (rev 639) @@ -58,7 +58,7 @@ default_bandwidth = {} PROTOCOL = "1.1" -VERSION = "1.0.5" +VERSION = "1.2.0" VEBOSITY_BY_CLASS = {'DBG': 3, 'INFO': 2, 'WARN': 1, 'ERR': 0} ###################################################################### Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2009-03-16 15:05:43 UTC (rev 638) +++ safekeep/trunk/safekeep.spec.in 2009-03-30 06:01:13 UTC (rev 639) @@ -116,6 +116,7 @@ %doc samples/sample.backup %changelog +* Mon Mar 30 2009 Dimi Paun <di...@la...> 1.2.0-1 - Rework the handling of device files, fifos and sockets as data attributes. - Now special files are by default included, unless explicitely excluded. - A bunch of spelling fixes sprinkled throughout. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-16 15:05:46
|
Revision: 638 http://safekeep.svn.sourceforge.net/safekeep/?rev=638&view=rev Author: dimi Date: 2009-03-16 15:05:43 +0000 (Mon, 16 Mar 2009) Log Message: ----------- Update changelog Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2009-03-16 15:05:14 UTC (rev 637) +++ safekeep/trunk/safekeep.spec.in 2009-03-16 15:05:43 UTC (rev 638) @@ -116,6 +116,9 @@ %doc samples/sample.backup %changelog + - Rework the handling of device files, fifos and sockets as data attributes. + - Now special files are by default included, unless explicitely excluded. + - A bunch of spelling fixes sprinkled throughout. - Move the samples to a separate directory - Add a few trigger points where external scripts can be executed - Less verbosity from external helpers when invoked with -v This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-16 15:05:28
|
Revision: 637 http://safekeep.svn.sourceforge.net/safekeep/?rev=637&view=rev Author: dimi Date: 2009-03-16 15:05:14 +0000 (Mon, 16 Mar 2009) Log Message: ----------- Frank Crawford <fr...@cr...> Rework the handling of device files, fifos and sockets as data attributes. Now special files are by default included, unless explicitely excluded. A bunch of spelling fixes sprinkled throughout. Modified Paths: -------------- safekeep/trunk/doc/safekeep.backup.txt safekeep/trunk/safekeep safekeep/trunk/samples/sample.backup Modified: safekeep/trunk/doc/safekeep.backup.txt =================================================================== --- safekeep/trunk/doc/safekeep.backup.txt 2009-03-15 14:52:52 UTC (rev 636) +++ safekeep/trunk/doc/safekeep.backup.txt 2009-03-16 15:05:14 UTC (rev 637) @@ -38,16 +38,12 @@ and for how long (D=days, W=weeks, M=months, or Y=years) --> <repo path="./data" retention="10D"/> - <options> - <special-files include="false" /> - </options> - <!-- settings for database dump and for volume snapshot --> <setup> <!-- database type ("postgres" or "mysql"), and database name, DB user with backup rights, location of the dump file on the client host, and flag to remove or not the dump file after the backup is done. - Databases can be dumped individualy using a dump clause for each database. --> + Databases can be dumped individually using a dump clause for each database. --> <dump type="postgres" db="my_db" @@ -74,7 +70,7 @@ </setup> <!-- data to be backup --> - <data> + <data exclude-fifos="true" exclude-sockets="true"> <!-- each type of tag can be present more than one time --> <!-- if a database dump was created, it must be added in this section --> <include path="/home"/> @@ -156,7 +152,7 @@ will fail altogether if the directory can not be created. Optional, defaults to the client ID, see `/backup/@id`. Use of the default value is *highly* recommended. - *NOTE*: if you must set this value explicitely, you must + *NOTE*: if you must set this value explicitly, you must make sure that the path is not shared between different boxes; a shared repository path _will_ result in data loss. @@ -179,11 +175,12 @@ Optional, defaults to empty (unlimited retention). /backup/options/special-files/@include:: + NOTE: THIS OPTION HAS BEEN DEPRECATED. See data attributes below. One of "true" or "false". If "true", the dump file will include all special files, including device files, fifo files and socket files. Optional, defaults to "false". - *NOTE*: specification of no options is equalent to false, but the + *NOTE*: specification of no options is equivalent to false, but the inclusion of other options may cause the underlying backup defaults to be use. @@ -267,6 +264,30 @@ See the `CLIENT SCRIPT` section for more information. Mandatory for a `<script>` element. +/backup/data/@exclude-devices:: + One of "true" or "false". If "true", the dump file will + exclude all device files. + Optional, defaults to "false". + *NOTE*: specification of no attributes is equivalent to false, but the + inclusion of other options may cause the underlying backup defaults + to be use. + +/backup/data/@exclude-fifos:: + One of "true" or "false". If "true", the dump file will + exclude all fifos. + Optional, defaults to "false". + *NOTE*: specification of no attributes is equivalent to false, but the + inclusion of other options may cause the underlying backup defaults + to be use. + +/backup/data/@exclude-sockets:: + One of "true" or "false". If "true", the dump file will + exclude all sockets. + Optional, defaults to "false". + *NOTE*: specification of no attribute is equivalent to false, but the + inclusion of other options may cause the underlying backup defaults + to be use. + /backup/data/exclude/@path:: Exclude the file or files matched by the path. If a directory is matched, then files under that directory will also @@ -314,7 +335,7 @@ Each file selection condition either matches or doesn't match a given file. A given file is included or excluded by the file selection system when the first matching file selection condition specifies that the file be included -or excluded respecively; if the file matches no include or exclude +or excluded respectively; if the file matches no include or exclude statement, it is by default excluded. When backing up, if a file is excluded, `safekeep(1)` acts @@ -340,7 +361,7 @@ The steps currently defined and tokens passed, are: - STARTUP - prior to any execution, however, if it exits with a non-zero -status this constitues an error and the backup is aborted. +status this constitutes an error and the backup is aborted. - PRE-SETUP - prior to running any setup steps being run. A non-zero status is considered a warning and execution continues. - POST-SETUP - after setup, but prior to execution of backup. A non-zero Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2009-03-15 14:52:52 UTC (rev 636) +++ safekeep/trunk/safekeep 2009-03-16 15:05:14 UTC (rev 637) @@ -263,6 +263,13 @@ 'upload': int(bw_el.getAttribute('upload') or 0) } +def parse_data_attributes(data_el): + return { + 'exclude-devices': (data_el.getAttribute('exclude-devices') or 'false'), + 'exclude-sockets': (data_el.getAttribute('exclude-sockets') or 'false'), + 'exclude-fifos': (data_el.getAttribute('exclude-fifos') or 'false') + } + def parse_config(backup_el, dflt_id): if backup_el.tagName != 'backup': raise ConfigException('Invalid config file, the top level element must be <backup>') @@ -293,7 +300,7 @@ if len(bw_el) == 1: bw = parse_bandwidth(bw_el[0]) elif len(bw_el) > 1: - raise ConfigException('Can not have more than a bandwidth element') + raise ConfigException('Can not have more than one bandwidth element') repo_el = backup_el.getElementsByTagName('repo') dir = None @@ -302,7 +309,7 @@ dir = repo_el[0].getAttribute('path') retention = repo_el[0].getAttribute('retention') elif len(repo_el) > 1: - raise ConfigException('Can not have more than a repo element') + raise ConfigException('Can not have more than one repo element') if not dir: dir = id dir = os.path.join(base_dir, dir) @@ -313,6 +320,8 @@ if options_el.nodeType != options_el.ELEMENT_NODE: continue option = options_el.nodeName + if option == 'special-files': + warn('options element special-files is deprecated, use data attributes instead') if option in ('special-files', 'rdiff-backup'): if options_el.hasAttributes(): for key, value in options_el.attributes.items(): @@ -339,9 +348,11 @@ elif len(script_el) > 1: raise ConfigException('Can not have more than one setup script element') + data_options = {} data_el = backup_el.getElementsByTagName('data') - if data_el: + if len(data_el) == 1: + data_options = parse_data_attributes(data_el[0]) child_els = data_el[0].childNodes cludes = [] for child_el in child_els: @@ -351,6 +362,8 @@ continue cludes.append(parse_clude(child_el)) cludes.append({ 'type' : 'exclude', 'path' : '', 'glob' : '', 'regexp' : '.*' }) + elif len(data_el) > 1: + raise ConfigException('Can not have more than one data element') else: path_xcludes = [ '/dev/', '/media/', '/mnt/', '/net/', '/proc/', '/selinux/', '/sys/', '/tmp/', '/var/cache', '/var/lock', '/var/run', '/var/tmp', @@ -360,7 +373,7 @@ return { 'id': id, 'host' : host, 'user' : user, 'key_ctrl' : key_ctrl, 'key_data' : key_data, 'dir' : dir, 'retention' : retention, 'dumps' : dumps, 'snaps' : snaps, 'script' : script, - 'cludes' : cludes, 'options' : options, 'bw': bw} + 'cludes' : cludes, 'data_options' : data_options, 'options' : options, 'bw' : bw} def parse_locs(cfglocs): cfgfiles = [] @@ -497,7 +510,7 @@ def do_client_dbdump_teardown(cfg): debug('Tear down DB dumps') for dump in cfg['dumps']: - if dump['cleanup'] != 'true': + if dump['cleanup'].lower() != 'true': continue try: os.remove(dump['file']) @@ -844,7 +857,15 @@ args.extend(['--force']) options_append = [] - special_files = ['--exclude-device-files', '--exclude-sockets', '--exclude-fifos'] + + special_files = [] + if cfg['data_options'].get('exclude-devices').lower() == 'true': + special_files.extend(['--exclude-device-files']) + if cfg['data_options'].get('exclude-sockets').lower() == 'true': + special_files.extend(['--exclude-sockets']) + if cfg['data_options'].get('exclude-fifos').lower() == 'true': + special_files.extend(['--exclude-fifos']) + for option in cfg['options']: if 'special-files' in option: if 'include' in option['special-files']: Modified: safekeep/trunk/samples/sample.backup =================================================================== --- safekeep/trunk/samples/sample.backup 2009-03-15 14:52:52 UTC (rev 636) +++ safekeep/trunk/samples/sample.backup 2009-03-16 15:05:14 UTC (rev 637) @@ -9,7 +9,7 @@ key-data="/home/jdoe/.ssh/backup2_id_dsa" /> - <!-- location where the backuped data will be stored on the server + <!-- location where the backed up data will be stored on the server and for how long (s=sec, m=min, h=hours, D=days, W=weeks, M=months, or Y=years) --> <repo path="./data" @@ -45,8 +45,8 @@ /> </setup> - <!-- data to be backuped --> - <data> + <!-- data to be backed up --> + <data exclude-fifos="true" exclude-sockets="true"> <!-- each type of tag can be present more than one time --> <!-- if a database dump was created, it must be added in this section --> <include path="/home"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-15 14:52:57
|
Revision: 636 http://safekeep.svn.sourceforge.net/safekeep/?rev=636&view=rev Author: dimi Date: 2009-03-15 14:52:52 +0000 (Sun, 15 Mar 2009) Log Message: ----------- Fix the DEB packages for the new samples/ dir. Modified Paths: -------------- safekeep/trunk/debian/safekeep-common.docs safekeep/trunk/debian/safekeep-server.docs Modified: safekeep/trunk/debian/safekeep-common.docs =================================================================== --- safekeep/trunk/debian/safekeep-common.docs 2009-03-15 14:50:38 UTC (rev 635) +++ safekeep/trunk/debian/safekeep-common.docs 2009-03-15 14:52:52 UTC (rev 636) @@ -3,4 +3,4 @@ LICENSE README TODO -client-script-sample.sh +samples/client-script-sample.sh Modified: safekeep/trunk/debian/safekeep-server.docs =================================================================== --- safekeep/trunk/debian/safekeep-server.docs 2009-03-15 14:50:38 UTC (rev 635) +++ safekeep/trunk/debian/safekeep-server.docs 2009-03-15 14:52:52 UTC (rev 636) @@ -1,4 +1,4 @@ AUTHORS COPYING LICENSE -sample.backup +samples/sample.backup This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-15 14:50:53
|
Revision: 635 http://safekeep.svn.sourceforge.net/safekeep/?rev=635&view=rev Author: dimi Date: 2009-03-15 14:50:38 +0000 (Sun, 15 Mar 2009) Log Message: ----------- Move the samples to a separate directory. Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Added Paths: ----------- safekeep/trunk/samples/ safekeep/trunk/samples/client-script-sample.sh safekeep/trunk/samples/sample.backup Removed Paths: ------------- safekeep/trunk/doc/client-script-sample.sh safekeep/trunk/sample.backup Deleted: safekeep/trunk/doc/client-script-sample.sh =================================================================== --- safekeep/trunk/doc/client-script-sample.sh 2009-03-14 21:17:23 UTC (rev 634) +++ safekeep/trunk/doc/client-script-sample.sh 2009-03-15 14:50:38 UTC (rev 635) @@ -1,19 +0,0 @@ -#! /bin/sh -# -# Safekeep client script -# API: $1 = Step, $2 = Safekeep ID, $3 = Backup Root Directory -# -# Sample script, please configure as appropriate for your site. -# -# Note: output from this script is normally only seen in debug mode. -# - -case $1 in -'STARTUP') mail -s "Safekeep Backup: Started $2" root < /dev/null ;; -'PRE-SETUP') ;; -'POST-SETUP') /etc/init.d/autofs condrestart 2>&1 | mail -s "Safekeep Backup: $1 $2" root ;; -'POST-BACKUP') /etc/init.d/autofs condrestart 2>&1 | mail -s "Safekeep Backup: $1 $2" root ;; -'POST-SCRUB') ;; -esac - -exit 0 Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2009-03-14 21:17:23 UTC (rev 634) +++ safekeep/trunk/safekeep.spec.in 2009-03-15 14:50:38 UTC (rev 635) @@ -98,7 +98,7 @@ %defattr(-,root,root,-) %{_bindir}/safekeep %{_mandir}/man1/safekeep.1* -%doc AUTHORS COPYING LICENSE README TODO client-script-sample.sh +%doc AUTHORS COPYING LICENSE README TODO samples/client-script-sample.sh %files client %defattr(-,root,root,-) @@ -113,9 +113,10 @@ %{_sysconfdir}/cron.daily/safekeep %{_mandir}/man5/safekeep.conf.5* %{_mandir}/man5/safekeep.backup.5* -%doc sample.backup +%doc samples/sample.backup %changelog + - Move the samples to a separate directory - Add a few trigger points where external scripts can be executed - Less verbosity from external helpers when invoked with -v - Avoid errors when dealing with mounts containing spaces. Deleted: safekeep/trunk/sample.backup =================================================================== --- safekeep/trunk/sample.backup 2009-03-14 21:17:23 UTC (rev 634) +++ safekeep/trunk/sample.backup 2009-03-15 14:50:38 UTC (rev 635) @@ -1,61 +0,0 @@ -<!-- the client backup id --> -<backup id="my_workstation"> - - <!-- the client backup host, the user under which the servers will connect, - the SSH keys used for launching "safekeep -c" and "rdiff-backup" --> - <host - name="my_box.corp.com" user="root" - key-ctrl="/home/jdoe/.ssh/backup_id_dsa" - key-data="/home/jdoe/.ssh/backup2_id_dsa" - /> - - <!-- location where the backuped data will be stored on the server - and for how long (s=sec, m=min, h=hours, D=days, W=weeks, M=months, or Y=years) --> - <repo - path="./data" - retention="10D" - /> - - <!-- settings for database dump and for volume snapshot --> - <setup> - - <!-- database type ("postgres" or "mysql"), user with backup rights, - location of the dump file on the client host, and flag to remove - or not the dump file after the backup is done --> - <dump - type="postgres" - db="dbname" - user="foobar" - file="/var/backup/dumps/mydata" - cleanup="true" - /> - - <!-- what volume is to be snapshoted (device location) and the size - of the snapshot (unallocated space must exist in the volume group) --> - <snapshot - device="/path/to/volume" - size="500M" - /> - - <!-- location of a script to be executed on the client at different - stages of the run. It is called with three arguments: - the step of the backup, backup id and the backup root directory --> - <script - path="/path/to/script" - /> - </setup> - - <!-- data to be backuped --> - <data> - <!-- each type of tag can be present more than one time --> - <!-- if a database dump was created, it must be added in this section --> - <include path="/home"/> - <exclude path="/home/guest"/> - - <include glob="**/important/"/> - <exclude glob="/home/*/tmp"/> - - <include regexp=".*\.ogg"/> - <exclude regexp=".*\.mp3"/> - </data> -</backup> Copied: safekeep/trunk/samples/client-script-sample.sh (from rev 633, safekeep/trunk/doc/client-script-sample.sh) =================================================================== --- safekeep/trunk/samples/client-script-sample.sh (rev 0) +++ safekeep/trunk/samples/client-script-sample.sh 2009-03-15 14:50:38 UTC (rev 635) @@ -0,0 +1,19 @@ +#! /bin/sh +# +# Safekeep client script +# API: $1 = Step, $2 = Safekeep ID, $3 = Backup Root Directory +# +# Sample script, please configure as appropriate for your site. +# +# Note: output from this script is normally only seen in debug mode. +# + +case $1 in +'STARTUP') mail -s "Safekeep Backup: Started $2" root < /dev/null ;; +'PRE-SETUP') ;; +'POST-SETUP') /etc/init.d/autofs condrestart 2>&1 | mail -s "Safekeep Backup: $1 $2" root ;; +'POST-BACKUP') /etc/init.d/autofs condrestart 2>&1 | mail -s "Safekeep Backup: $1 $2" root ;; +'POST-SCRUB') ;; +esac + +exit 0 Copied: safekeep/trunk/samples/sample.backup (from rev 633, safekeep/trunk/sample.backup) =================================================================== --- safekeep/trunk/samples/sample.backup (rev 0) +++ safekeep/trunk/samples/sample.backup 2009-03-15 14:50:38 UTC (rev 635) @@ -0,0 +1,61 @@ +<!-- the client backup id --> +<backup id="my_workstation"> + + <!-- the client backup host, the user under which the servers will connect, + the SSH keys used for launching "safekeep -c" and "rdiff-backup" --> + <host + name="my_box.corp.com" user="root" + key-ctrl="/home/jdoe/.ssh/backup_id_dsa" + key-data="/home/jdoe/.ssh/backup2_id_dsa" + /> + + <!-- location where the backuped data will be stored on the server + and for how long (s=sec, m=min, h=hours, D=days, W=weeks, M=months, or Y=years) --> + <repo + path="./data" + retention="10D" + /> + + <!-- settings for database dump and for volume snapshot --> + <setup> + + <!-- database type ("postgres" or "mysql"), user with backup rights, + location of the dump file on the client host, and flag to remove + or not the dump file after the backup is done --> + <dump + type="postgres" + db="dbname" + user="foobar" + file="/var/backup/dumps/mydata" + cleanup="true" + /> + + <!-- what volume is to be snapshoted (device location) and the size + of the snapshot (unallocated space must exist in the volume group) --> + <snapshot + device="/path/to/volume" + size="500M" + /> + + <!-- location of a script to be executed on the client at different + stages of the run. It is called with three arguments: + the step of the backup, backup id and the backup root directory --> + <script + path="/path/to/script" + /> + </setup> + + <!-- data to be backuped --> + <data> + <!-- each type of tag can be present more than one time --> + <!-- if a database dump was created, it must be added in this section --> + <include path="/home"/> + <exclude path="/home/guest"/> + + <include glob="**/important/"/> + <exclude glob="/home/*/tmp"/> + + <include regexp=".*\.ogg"/> + <exclude regexp=".*\.mp3"/> + </data> +</backup> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-14 21:17:36
|
Revision: 634 http://safekeep.svn.sourceforge.net/safekeep/?rev=634&view=rev Author: dimi Date: 2009-03-14 21:17:23 +0000 (Sat, 14 Mar 2009) Log Message: ----------- Update changelog Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2009-03-14 21:14:03 UTC (rev 633) +++ safekeep/trunk/safekeep.spec.in 2009-03-14 21:17:23 UTC (rev 634) @@ -116,6 +116,8 @@ %doc sample.backup %changelog + - Add a few trigger points where external scripts can be executed + - Less verbosity from external helpers when invoked with -v - Avoid errors when dealing with mounts containing spaces. - Don't send out empty emails. - Correctly handle LVM names that contain dashes This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-14 21:14:11
|
Revision: 633 http://safekeep.svn.sourceforge.net/safekeep/?rev=633&view=rev Author: dimi Date: 2009-03-14 21:14:03 +0000 (Sat, 14 Mar 2009) Log Message: ----------- Frank Crawford <fr...@cr...> Implements the discussion of invoking an external script on the client side, during a backup being run. Modified Paths: -------------- safekeep/trunk/debian/safekeep-common.docs safekeep/trunk/doc/safekeep.backup.txt safekeep/trunk/safekeep safekeep/trunk/safekeep.spec.in safekeep/trunk/sample.backup Added Paths: ----------- safekeep/trunk/doc/client-script-sample.sh Modified: safekeep/trunk/debian/safekeep-common.docs =================================================================== --- safekeep/trunk/debian/safekeep-common.docs 2009-03-01 06:17:14 UTC (rev 632) +++ safekeep/trunk/debian/safekeep-common.docs 2009-03-14 21:14:03 UTC (rev 633) @@ -3,3 +3,4 @@ LICENSE README TODO +client-script-sample.sh Added: safekeep/trunk/doc/client-script-sample.sh =================================================================== --- safekeep/trunk/doc/client-script-sample.sh (rev 0) +++ safekeep/trunk/doc/client-script-sample.sh 2009-03-14 21:14:03 UTC (rev 633) @@ -0,0 +1,19 @@ +#! /bin/sh +# +# Safekeep client script +# API: $1 = Step, $2 = Safekeep ID, $3 = Backup Root Directory +# +# Sample script, please configure as appropriate for your site. +# +# Note: output from this script is normally only seen in debug mode. +# + +case $1 in +'STARTUP') mail -s "Safekeep Backup: Started $2" root < /dev/null ;; +'PRE-SETUP') ;; +'POST-SETUP') /etc/init.d/autofs condrestart 2>&1 | mail -s "Safekeep Backup: $1 $2" root ;; +'POST-BACKUP') /etc/init.d/autofs condrestart 2>&1 | mail -s "Safekeep Backup: $1 $2" root ;; +'POST-SCRUB') ;; +esac + +exit 0 Property changes on: safekeep/trunk/doc/client-script-sample.sh ___________________________________________________________________ Added: svn:executable + * Modified: safekeep/trunk/doc/safekeep.backup.txt =================================================================== --- safekeep/trunk/doc/safekeep.backup.txt 2009-03-01 06:17:14 UTC (rev 632) +++ safekeep/trunk/doc/safekeep.backup.txt 2009-03-14 21:14:03 UTC (rev 633) @@ -64,6 +64,13 @@ size="500M" /> + <!-- location of a script to be executed on the client at different + stages of the run. It is called with three arguments: + the step of the backup, backup id and the backup root directory --> + <script + path="/path/to/script" + /> + </setup> <!-- data to be backup --> @@ -250,6 +257,16 @@ of the original device's size. Mandatory for a `<snapshot>` element. +/backup/setup/script/@path:: + Execute the script specified path on the client at certain steps + of the backup process. + This script is executed with three arguments: + - Backup id (/backup/@id) + - Backup step + - Backup root directory (valid after creation of a snapshot) + See the `CLIENT SCRIPT` section for more information. + Mandatory for a `<script>` element. + /backup/data/exclude/@path:: Exclude the file or files matched by the path. If a directory is matched, then files under that directory will also @@ -306,7 +323,47 @@ For more information on file selection semantics, please see `rdiff-backup(1)`. +CLIENT SCRIPT +------------- +`safekeep(1)` support the optional execution of a script or program +on the client system at different steps during execution of the backup. +Note: specification of a script which does not exist is not considered an +error, and is treated as the same as not specifying a script. However, if +the specified path does match a file or directory, the security tests listed +below will occur. + +This script is executed with the following three arguments: +- Safekeep step +- Backup id +- Backup root directory, which may be set during the creation of a snapshot. + +The steps currently defined and tokens passed, are: +- STARTUP - prior to any execution, however, if it exits with a non-zero +status this constitues an error and the backup is aborted. +- PRE-SETUP - prior to running any setup steps being run. A non-zero status +is considered a warning and execution continues. +- POST-SETUP - after setup, but prior to execution of backup. A non-zero +status is considered a warning, and execution continues. +- POST-BACKUP - after execution of backup. A non-zero status is considered +a warning, and execution continues. +- POST-SCRUB - after execution of a server cleanup step, normally only seen +after a backup failure. A non-zero status is considered a warning, and +execution continues. + +Due to security considerations, there are a number of checks made on this +script prior to execution and failure of any of these steps will cause the +backup for that client to be aborted. The following tests are applied prior +to each execution of the script (i.e. multiple time per backup), in order: +- script is a regular file, not a directory or special file, +- script is executable by the user running on the client system, +- script is owned by root or the user running on the client system, +- script is NOT writable by any one except the script owner. + +Note: no test is made on the ownership of the parent directory or any other +directories. + + FILES ----- /etc/safekeep/backup.d/ Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2009-03-01 06:17:14 UTC (rev 632) +++ safekeep/trunk/safekeep 2009-03-14 21:14:03 UTC (rev 633) @@ -16,7 +16,7 @@ # along with Safekeep. If not, see <http://www.gnu.org/licenses/>. from __future__ import generators -import getopt, os, os.path, popen2, re, sys, fnmatch +import getopt, os, os.path, popen2, re, sys, fnmatch, stat import commands, tempfile, time, traceback import getpass, pwd, xml.dom.minidom import socket, smtplib @@ -325,6 +325,7 @@ setup_el = backup_el.getElementsByTagName('setup') dumps = [] snaps = [] + script = None if len(setup_el) > 0: dump_els = setup_el[0].getElementsByTagName('dump') for dump_el in dump_els: @@ -332,6 +333,11 @@ snap_els = setup_el[0].getElementsByTagName('snapshot') for snap_el in snap_els: snaps.append(parse_snap(snap_el)) + script_el = setup_el[0].getElementsByTagName('script') + if len(script_el) == 1: + script = script_el[0].getAttribute('path') + elif len(script_el) > 1: + raise ConfigException('Can not have more than one setup script element') data_el = backup_el.getElementsByTagName('data') @@ -353,7 +359,7 @@ cludes = [{ 'type' : 'exclude', 'path' : path, 'glob' : None, 'regexp' : None } for path in path_xcludes] return { 'id': id, 'host' : host, 'user' : user, 'key_ctrl' : key_ctrl, 'key_data' : key_data, - 'dir' : dir, 'retention' : retention, 'dumps' : dumps, 'snaps' : snaps, + 'dir' : dir, 'retention' : retention, 'dumps' : dumps, 'snaps' : snaps, 'script' : script, 'cludes' : cludes, 'options' : options, 'bw': bw} def parse_locs(cfglocs): @@ -394,11 +400,43 @@ return cfgs ###################################################################### -# DB and SNAPSHOT support +# Script, DB and SNAPSHOT support # setup methods can raise exception to signal errors # teardown methods must succeed and cleanup the state ###################################################################### +def check_script_permissions(script): + if not os.path.isfile(script): + return '%s is not a regular file' % script + if not os.access(script, os.X_OK): + return '%s is not executable' % script + + statinfo = os.stat(script) + if statinfo.st_uid and statinfo.st_uid != os.getuid(): + return '%s is owned by others' % script + + if (statinfo.st_mode & (stat.S_IWGRP | stat.S_IWOTH)): + return '%s is writable by others' % script + + return None + +def client_side_script(step, cfg, bdir): + debug('Do client_side_script: step %s' % step) + + ret = None + script = cfg['script'] + + if script: + debug('client_side_script: script = %s' % script) + if os.path.exists(script): + ret = check_script_permissions(script) + if not ret: + ret = spawn([script, step, cfg['id'], bdir]) + else: + debug('client_side_script: %s not found' % script) + + return ret + def do_client_dbdump(cfg): debug('Doing DB dumps') for dump in cfg['dumps']: @@ -715,21 +753,29 @@ try: line = sys.stdin.readline() if line.startswith('ALOHA'): - do_client_compat(line.split(':', 1)[1]) + do_client_compat(line.strip().split(':', 1)[1]) send('OK %s, %s' % (PROTOCOL, VERSION)) elif line.startswith('CONFIG'): cfg = do_client_config(line) - send('OK') + ret = client_side_script('STARTUP', cfg, bdir) + if ret: + send('ERROR Client-side setup script failed: %s' % ret) + else: + send('OK') elif line.startswith('SETUP'): + client_side_script('PRE-SETUP', cfg, bdir) bdir = do_client_setup(cfg) + client_side_script('POST-SETUP', cfg, bdir) send('OK ' + bdir) elif line.startswith('CLEANUP'): dir = line[7:].strip() if dir == bdir: should_cleanup = False do_client_cleanup(cfg, dir) + client_side_script('POST-BACKUP', cfg, bdir) send('OK') elif line.startswith('SCRUB'): do_client_scrub() + client_side_script('POST-SCRUB', cfg, bdir) send('OK') elif not line: break @@ -1362,8 +1408,8 @@ try: global is_client, verbosity_level, verbosity_ssh, verbosity_trickle - if verbosity > 0: - verbosity_trickle = verbosity_ssh = '-' + verbosity * 'v' + if verbosity > 2: + verbosity_trickle = verbosity_ssh = '-' + (verbosity-2) * 'v' if mode is 'server': is_client = False verbosity_level = 1 + verbosity Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2009-03-01 06:17:14 UTC (rev 632) +++ safekeep/trunk/safekeep.spec.in 2009-03-14 21:14:03 UTC (rev 633) @@ -98,7 +98,7 @@ %defattr(-,root,root,-) %{_bindir}/safekeep %{_mandir}/man1/safekeep.1* -%doc AUTHORS COPYING LICENSE README TODO +%doc AUTHORS COPYING LICENSE README TODO client-script-sample.sh %files client %defattr(-,root,root,-) Modified: safekeep/trunk/sample.backup =================================================================== --- safekeep/trunk/sample.backup 2009-03-01 06:17:14 UTC (rev 632) +++ safekeep/trunk/sample.backup 2009-03-14 21:14:03 UTC (rev 633) @@ -37,6 +37,12 @@ size="500M" /> + <!-- location of a script to be executed on the client at different + stages of the run. It is called with three arguments: + the step of the backup, backup id and the backup root directory --> + <script + path="/path/to/script" + /> </setup> <!-- data to be backuped --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-01 06:17:19
|
Revision: 632 http://safekeep.svn.sourceforge.net/safekeep/?rev=632&view=rev Author: dimi Date: 2009-03-01 06:17:14 +0000 (Sun, 01 Mar 2009) Log Message: ----------- Update changelog Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2009-03-01 06:16:52 UTC (rev 631) +++ safekeep/trunk/safekeep.spec.in 2009-03-01 06:17:14 UTC (rev 632) @@ -116,6 +116,8 @@ %doc sample.backup %changelog + - Avoid errors when dealing with mounts containing spaces. + - Don't send out empty emails. - Correctly handle LVM names that contain dashes - Allow passing the pgpasswd to PostgreSQL as well - Add pass-through options for the DB dump command This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-03-01 06:16:57
|
Revision: 631 http://safekeep.svn.sourceforge.net/safekeep/?rev=631&view=rev Author: dimi Date: 2009-03-01 06:16:52 +0000 (Sun, 01 Mar 2009) Log Message: ----------- Frank Crawford <fr...@cr...> Fix serious typo. Modified Paths: -------------- safekeep/trunk/safekeep Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2009-02-01 17:18:42 UTC (rev 630) +++ safekeep/trunk/safekeep 2009-03-01 06:16:52 UTC (rev 631) @@ -791,7 +791,7 @@ warn('Trickle not available, bandwidth limiting disabled') trickle = '' - schema = '% ssh %s -i %s %%s rdiff-backup --server' % (trickle, verbosity_ssh, cfg['key_data']) + schema = '%s ssh %s -i %s %%s rdiff-backup --server' % (trickle, verbosity_ssh, cfg['key_data']) args.extend(['--remote-schema', schema]) if force: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-02-01 17:18:43
|
Revision: 630 http://safekeep.svn.sourceforge.net/safekeep/?rev=630&view=rev Author: dimi Date: 2009-02-01 17:18:42 +0000 (Sun, 01 Feb 2009) Log Message: ----------- Frank Crawford <fr...@cr...> Avoid errors when dealing with mounts containing spaces. Modified Paths: -------------- safekeep/trunk/safekeep Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2009-01-13 05:11:57 UTC (rev 629) +++ safekeep/trunk/safekeep 2009-02-01 17:18:42 UTC (rev 630) @@ -486,11 +486,13 @@ cout.close() cin.close() mounts = [] + pattern = re.compile(r"^(\S+) on (.+) type (\S+) \((\S+)\)") if reverse: lines.reverse() for line in lines: - (device, blah1, mountpoint, blah2, mounttype, mountoptions) = line.split() - mounts.append([device, mountpoint, mounttype, mountoptions[1:-1]]) + matches = pattern.match(line) + if not matches is None: + mounts.append(matches.groups()) return mounts def map_lvm_device(device): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2009-01-13 05:12:01
|
Revision: 629 http://safekeep.svn.sourceforge.net/safekeep/?rev=629&view=rev Author: dimi Date: 2009-01-13 05:11:57 +0000 (Tue, 13 Jan 2009) Log Message: ----------- Frank Crawford <fr...@cr...> Don't send out empty emails. Modified Paths: -------------- safekeep/trunk/safekeep Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2008-11-19 20:42:39 UTC (rev 628) +++ safekeep/trunk/safekeep 2009-01-13 05:11:57 UTC (rev 629) @@ -161,8 +161,9 @@ return ret def send_notification(email, smtp): + global logbuf + if not logbuf: return info('Sending email to %s via %s' % (','.join(email), smtp)) - global logbuf hostname = socket.gethostname() msg = 'From: SafeKeep@' + hostname + \ '\r\nTo: ' + ', '.join(email) + \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2008-11-19 20:42:42
|
Revision: 628 http://safekeep.svn.sourceforge.net/safekeep/?rev=628&view=rev Author: dimi Date: 2008-11-19 20:42:39 +0000 (Wed, 19 Nov 2008) Log Message: ----------- Document the new bandwidth limiting feature. Modified Paths: -------------- safekeep/trunk/doc/safekeep.backup.txt safekeep/trunk/doc/safekeep.conf.txt safekeep/trunk/safekeep.conf Modified: safekeep/trunk/doc/safekeep.backup.txt =================================================================== --- safekeep/trunk/doc/safekeep.backup.txt 2008-11-19 19:33:33 UTC (rev 627) +++ safekeep/trunk/doc/safekeep.backup.txt 2008-11-19 20:42:39 UTC (rev 628) @@ -30,6 +30,10 @@ key-data="/home/jdoe/.ssh/backup2_id_dsa" /> + <!-- you can customize the bandwidth limit on a client basis, + for example to 50KB/s download/upload --> + <bandwidth overall="80" download="50" upload="50" /> + <!-- location where the backups will be stored on the server and for how long (D=days, W=weeks, M=months, or Y=years) --> <repo path="./data" retention="10D"/> @@ -118,6 +122,23 @@ is recommended. Optional, defaults to `~/.ssh/safekeep-server-data-key`. +/backup/bandwidth/@overall:: + This is the client bandwidth limit for both upload and download. + It is an integer number of KB/s (see the NOTES section in + `safekeep.conf(5)` for more information). + Optional, overrides `bandwidth.overall` in `safekeep.conf(5)` + if specified. + +/backup/bandwidth/@download:: + This is the client bandwidth limit for download (see + `/backup/bandwidth/@overall` for more information). + Optional, overrides `/backup/bandwidth/@overall` if specified. + +/backup/bandwidth/@upload:: + This is the client bandwidth limit for upload (see + `/backup/bandwidth/@overall` for more information). + Optional, overrides `/backup/bandwidth/@overall` if specified. + /backup/repo/@path:: The path under which the backups will be stored. Relative paths are based on the 'base.dir' setting from the 'safekeep.conf(5)'. @@ -292,5 +313,5 @@ SEE ALSO -------- -safekeep(1), rdiff-backup(1), lvcreate(8) +safekeep(1), safekeep.conf(5), rdiff-backup(1), lvcreate(8) Modified: safekeep/trunk/doc/safekeep.conf.txt =================================================================== --- safekeep/trunk/doc/safekeep.conf.txt 2008-11-19 19:33:33 UTC (rev 627) +++ safekeep/trunk/doc/safekeep.conf.txt 2008-11-19 20:42:39 UTC (rev 628) @@ -53,11 +53,44 @@ to 19 (least favorable). If no nice level is specified, safekeep is not niced. +bandwidth.overall:: + This is the default bandwidth limit for both upload and + download for all the clients. It is an integer number of KB/s + (see NOTES section for more information). + This value is optional. + +bandwidth.download:: + This is the default bandwidth limit for download across all clients. + If specified (with a value greater than 0) it will override + the value set in `bandwidth.overall` (refer to it for more + informatio). This value is optional. + +bandwidth.upload:: + This is the default bandwidth limit for upload across all clients. + If specified (with a value greater than 0) it will override + the value set in `bandwidth.overall` (refer to it for more + informatio). This value is optional. + +NOTES +----- +Safekeep uses `trickle` to implement bandwidth throttling (see +http://monkey.org/~marius/pages/?page=trickle for more information). +You will need to install it separately to use this feature (most +Linux distributions have it packaged as `trickle`). + +The bandwidth is calculated as an average over a 256KB window, +and it is expressed as an integer number of kilo-bytes per second +(e.g. 100, meaning 100KB/s). Bandwidth limits of zero are ignored. + +The bandwidth throtlling can be customized for both download and upload +(see `bandwidth.download` and `bandwidth.upload`) as well as on a per-client +basis (see `safekeep.backup(5)` for more information). + FILES ----- /etc/safekeep/safekeep.conf SEE ALSO -------- -safekeep(1), safekeep.backup(5), rdiff-backup(1), lvcreate(8) +safekeep(1), safekeep.backup(5), rdiff-backup(1), trickle(1), lvcreate(8) Modified: safekeep/trunk/safekeep.conf =================================================================== --- safekeep/trunk/safekeep.conf 2008-11-19 19:33:33 UTC (rev 627) +++ safekeep/trunk/safekeep.conf 2008-11-19 20:42:39 UTC (rev 628) @@ -13,6 +13,15 @@ # by default, be nice to the server during backup nice.adjustment = 10 +# A default bandwidth limit for both download/upload +# bandwidth.overall=100 + +# A default bandwidth limit for download +# bandwidth.download=100 + +# A default bandwidth limit for upload +# bandwidth.upload=100 + # a comma separated list of emails to receive the logs # email.to=pe...@co...,ro...@co... This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2008-11-19 19:33:35
|
Revision: 627 http://safekeep.svn.sourceforge.net/safekeep/?rev=627&view=rev Author: dimi Date: 2008-11-19 19:33:33 +0000 (Wed, 19 Nov 2008) Log Message: ----------- Fix a few typos Modified Paths: -------------- safekeep/trunk/safekeep Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2008-11-19 19:21:51 UTC (rev 626) +++ safekeep/trunk/safekeep 2008-11-19 19:33:33 UTC (rev 627) @@ -784,7 +784,7 @@ trickle += ' -u ' + limit_ul if trickle: - if !try_to_run(trickle_cmd + ' -V'): + if not try_to_run(trickle_cmd + ' -V'): warn('Trickle not available, bandwidth limiting disabled') trickle = '' @@ -1301,7 +1301,7 @@ cfgfile = config_file props = {} - def get_int(prop): + def get_int(p): v = props.get(p) if v is not None and v is not '': return int(v) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2008-11-19 19:21:56
|
Revision: 626 http://safekeep.svn.sourceforge.net/safekeep/?rev=626&view=rev Author: dimi Date: 2008-11-19 19:21:51 +0000 (Wed, 19 Nov 2008) Log Message: ----------- Update ChangeLog Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2008-11-19 19:19:22 UTC (rev 625) +++ safekeep/trunk/safekeep.spec.in 2008-11-19 19:21:51 UTC (rev 626) @@ -116,6 +116,7 @@ %doc sample.backup %changelog + - Correctly handle LVM names that contain dashes - Allow passing the pgpasswd to PostgreSQL as well - Add pass-through options for the DB dump command - Implement bandwidth limiting, based on trickle This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2008-11-19 19:19:28
|
Revision: 625 http://safekeep.svn.sourceforge.net/safekeep/?rev=625&view=rev Author: dimi Date: 2008-11-19 19:19:22 +0000 (Wed, 19 Nov 2008) Log Message: ----------- Frederic Bourqui <fbo...@ya...> Recover escaped dashes ('-'). Modified Paths: -------------- safekeep/trunk/safekeep Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2008-11-19 19:05:57 UTC (rev 624) +++ safekeep/trunk/safekeep 2008-11-19 19:19:22 UTC (rev 625) @@ -493,7 +493,7 @@ return mounts def map_lvm_device(device): - device = device.replace('/mapper','').replace('-','/') + device = device.replace('/mapper','').replace('-','/').replace('//', '-') return device.split('/')[-2:] def check_lvm_information(device): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2008-11-19 19:06:02
|
Revision: 624 http://safekeep.svn.sourceforge.net/safekeep/?rev=624&view=rev Author: dimi Date: 2008-11-19 19:05:57 +0000 (Wed, 19 Nov 2008) Log Message: ----------- Allow passing the pgpasswd to PostgreSQL as well. Modified Paths: -------------- safekeep/trunk/doc/safekeep.backup.txt safekeep/trunk/safekeep safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/doc/safekeep.backup.txt =================================================================== --- safekeep/trunk/doc/safekeep.backup.txt 2008-11-19 18:40:03 UTC (rev 623) +++ safekeep/trunk/doc/safekeep.backup.txt 2008-11-19 19:05:57 UTC (rev 624) @@ -179,8 +179,10 @@ based on the system user. /backup/setup/dump/@dbpasswd:: - Password of the database user to use while doing the dump. - This is currently supported only for MySQL databases. + Password of the database user to use while doing the dump. + NB: this makes the DB password available in a plain text file. + Make sure you use appropriate read permissions on the backup + configuration file to prevent unauthorized access to the password. Optional, it has no default value. /backup/setup/dump/@options:: Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2008-11-19 18:40:03 UTC (rev 623) +++ safekeep/trunk/safekeep 2008-11-19 19:05:57 UTC (rev 624) @@ -403,6 +403,7 @@ for dump in cfg['dumps']: type = dump['type'] opts = dump['opts'] + passwdfile = None if type in ('postgres', 'postgresql', 'pgsql'): if dump['db']: args = ['pg_dump'] @@ -414,6 +415,12 @@ args.extend(opts) if dump['db']: args.append(dump['db']) + if dump['dbpasswd']: + (fd, passwdfile) = tempfile.mkstemp() + f = file(fd) + f.write(dump['dbpasswd']) + f.close() + elif type in ('mysql'): args = ['mysqldump'] if dump['dbuser']: @@ -425,15 +432,26 @@ args.extend(opts) if dump['db']: args.append(dump['db']) + else: warn('Invalid database type: ' + type) continue + if dump['user']: cmd = ' '.join([commands.mkarg(arg) for arg in args]) args = [ 'su', '-c', cmd, '-', dump['user'] ] cmd = ' '.join([commands.mkarg(arg) for arg in args]) cmd = '%s > %s' % (cmd, commands.mkarg(dump['file'])) - ec = spawn(cmd) + + + if passwdfile: + environ['PGPASSFILE'] = passwdfile + try: + ec = spawn(cmd) + finally: + if passwdfile: + del os.environ['PGPASSFILE'] + os.remove(passwdfile) if ec: warn('Can not dump the database: ' + dump['db']) Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2008-11-19 18:40:03 UTC (rev 623) +++ safekeep/trunk/safekeep.spec.in 2008-11-19 19:05:57 UTC (rev 624) @@ -116,6 +116,7 @@ %doc sample.backup %changelog + - Allow passing the pgpasswd to PostgreSQL as well - Add pass-through options for the DB dump command - Implement bandwidth limiting, based on trickle - By default, run safekeep with nice +10 on the server side This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |