From: Andre Noll Date: Mon, 1 Feb 2010 09:21:35 +0000 (+0100) Subject: Introduce --no-resume. X-Git-Tag: v0.1.4~15 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;ds=sidebyside;h=17e6c1cc9412026d87f4a70a5e86b39e2e13ce62;hp=17e6c1cc9412026d87f4a70a5e86b39e2e13ce62;p=dss.git Introduce --no-resume. If the dss daemon (or the rsync process) is killed while a snaphot is being created, e.g. because of a server shutdown, the latest snapshot remains incomplete until it is removed by the usual shapshot pruning mechanism. This patch changes the snapshot creation behaviour if the most recently created snapshot happens to be incomplete and the new --no-resume option is not given. In this case the directory of the incomplete snapshot is reused as the destination directory for the the new snapshot. This change saves disk space and reduces the snapshot creation time, depending of course on how far the previous rsync process got before it was interrupted. ---