In order to print the list of all snapshots created so far, use
- dss --list
+ dss --ls
Yes, it's really that easy. Of course, dss supports many more
features and config options such as taking snapshots from remote
clean:
rm -f *.o dss dss.1 dss.1.html Makefile.deps *.ppm *.png *~ cmdline.c cmdline.h index.html
-index.html: dss.1.html index.html.in INSTALL README
+index.html: dss.1.html index.html.in INSTALL README NEWS
sed -e '/@README@/,$$d' index.html.in > $@
grutatxt -nb < README >> $@
- sed -e '1,/@README@/d' -e '/@INSTALL@/,$$d' index.html.in >> $@
+ sed -e '1,/@README@/d' -e '/@NEWS@/,$$d' index.html.in >> $@
+ grutatxt -nb < NEWS >> $@
+ sed -e '1,/@NEWS@/d' -e '/@INSTALL@/,$$d' index.html.in >> $@
grutatxt -nb < INSTALL >> $@
sed -e '1,/@INSTALL@/d' -e '/@MAN_PAGE@/,$$d' index.html.in >> $@
sed -e '1,/Return to Main Contents/d' -e '/Index/,$$d' dss.1.html >> $@
--- /dev/null
+0.1.4 (2010-11-08)
+~~~~~~~~~~~~~~~~~~
+This version of dss contains some new features, many improvements of
+existing features and several bug fixes.
+
+Support for resuming snapshot creation after restart has been added
+and snapshot removal is deferred until at least one current snapshot
+exists. The internal handling of the various hooks has been simplified
+and many error messages have been clarified. On SIGHUP, dss now writes
+its configuration and internal state to the log file.
+
+0.1.3 (2009-06-06)
+~~~~~~~~~~~~~~~~~~
+You can now specify pre-rm/post-rm-hooks that are executed whenever
+a snapshot is deleted. This release adds better compatibility with
+rsync 3.0, and avoids busy loops when automatically restarting the
+rsync process.
+
+0.1.2 (2009-03-05)
+~~~~~~~~~~~~~~~~~~
+This release includes the reason why a snapshot gets removed in the
+log message. It will never remove the snapshot that is currently
+being created. It will really pass the full path to the last complete
+snapshot in the post_create_hook.
+
+0.1.1 (2008-11-13)
+~~~~~~~~~~~~~~~~~~
+This release prevents busy loops on rsync exit code 13. It ignores
+any snapshot directory with creation time > completion time. It
+opens /dev/null for reading and writing when executing rsync. It shows
+human readable snapshot creation duration when listing snapshots. It
+restarts the rsync process if it returned with exit code 13.
+
+0.1.0 (2008-10-10)
+~~~~~~~~~~~~~~~~~~
+Initial public release.
/*
- * Copyright (C) 1997-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 1997-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/*
- * Copyright (C) 2008-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2008-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/*
- * Copyright (C) 2008-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2008-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
conf.logfile_given = 1;
}
}
- if (conf.logfile_given) {
+ if (conf.logfile_given && conf.run_given && conf.daemon_given) {
logfile = open_log(conf.logfile_arg);
log_welcome(conf.loglevel_arg);
}
-# Copyright (C) 2008-2009 Andre Noll <maan@systemlinux.org>
+# Copyright (C) 2008-2010 Andre Noll <maan@systemlinux.org>
#
# Licensed under the GPL v2. For licencing details see COPYING.
package "dss"
-version "0.1.3"
+version "0.1.4"
purpose "the dyadic snapshot scheduler
dss creates hardlink-based snapshots of a given directory on a remote
"Logfile for the dss daemon process"
string typestr="filename"
optional
-details="
- This option is mostly useful for the run command if --daemon
- is also given.
+details = "
+ This option is only honored if both --run and --daemon are
+ given. Otherwise it is silently ignored and log output is
+ written to stderr.
"
##################
#~~~~~~~~~~~~~~~~~~~~~~~~~~
"Executed before snapshot creation"
string typestr="command"
-default = "/bin/true"
+default = "true"
optional
details="
Execute this command before trying to create a new snapshot.
#~~~~~~~~~~~~~~~~~~~~~~~~~~
"Executed after snapshot creation"
string typestr="command"
-default = "/bin/true"
+default = "true"
optional
details="
Execute this after a snapshot has successfully been
#~~~~~~~~~~~~~~~~~~~~~~~~~~
"Executed before snapshot removal"
string typestr="command"
-default = "/bin/true"
+default = "true"
optional
details="
Execute this command before removing a snapshot. The full
#~~~~~~~~~~~~~~~~~~~~~~~~~~
"Executed after snapshot removal"
string typestr="command"
-default = "/bin/true"
+default = "true"
optional
details="
Execute this after a snapshot has successfully been removed. As
#~~~~~~~~~~~~~~~~~~~
"Executed if run command exits"
string typestr="command"
-default = "/bin/true"
+default = "true"
optional
details="
This hook is only used if the --run command was given which
Note that not every file system supports the concept of inodes.
Moreover it is not possible to reliably detect whether this is
the case. Therefore this feature is disabled by default. It's
- safe to enable it for ext3 file systems on linux though.
+ safe to enable it for ext2/ext3/ext4 file systems on linux
+ though.
A value of zero (the default) deactivates this check.
"
/*
- * Copyright (C) 2006-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/*
- * Copyright (C) 2003-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2003-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/*
- * Copyright (C) 2006-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/*
- * Copyright (C) 2006-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
<hr>
[<a href="#readme">README</a>]
+ [<a href="#news">NEWS</a>]
[<a href="#download">Download</a>]
[<a href="#install">INSTALL</a>]
[<a href="#license">License</a>]
<hr>
+ <center>
+ <h2>
+ <a name="news">NEWS</a>
+ </h2>
+ </center>
+
+ @NEWS@
+
+ <hr>
<center>
<h2>
<a href="http://git.tuebingen.mpg.de/cgi-bin/gitweb.cgi?p=dss.git;a=snapshot;h=HEAD;sf=tgz">tarball</a>
- of the current tree. If you prefer to download the tarball of
+ of the current master branch. If you prefer to download the tarball of
the latest release, select the corresponding <em>snapshot</em>
link on the
<p> André Noll, <a
href="mailto:maan@systemlinux.org">maan@systemlinux.org</a>
- </p> Comments and bug reports are welcome Please provide
+ </p> Comments and bug reports are welcome. Please provide
enough info such as the version of dss you are using and
relevant parts of the logs. Including the string [dss] in
the subject line is also a good idea.
/*
- * Copyright (C) 1997-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 1997-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/*
- * Copyright (C) 2004-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2004-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/*
- * Copyright (C) 2007-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2007-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/*
- * Copyright (C) 2008-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2008-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/*
- * Copyright (C) 2008-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2008-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/*
- * Copyright (C) 2004-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2004-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/*
- * Copyright (C) 2005-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2010 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/