README, INSTALL improvements.
[dss.git] / INSTALL
diff --git a/INSTALL b/INSTALL
index bebfe05f5e50cad84c138a38a26ba85697a2c126..58a03fbae85a5e73962d53b2fa3364c6e9c47bf8 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -12,45 +12,40 @@ NetBSD. However, it is run-tested on Linux only.
 Also make sure that rsync, http://rsync.samba.org/, is installed on
 your system. Version 2.6.1 or newer is required.
 
-In order to create snapshots of the existing directory
+Example:
+--------
 
-       /tmp/foo
+Suppose you'd like to create snapshots of the existing directory
 
-in the directory
-
-       /tmp/bar,
-
-execute the commands
+       /foo/bar
 
-       mkdir /tmp/bar
-       ./dss --run --source-dir /tmp/foo --dest-dir /tmp/bar
-
-To print a list of all snapshots created so far, use
+in the directory
 
-       ./dss --list --source-dir /tmp/foo --dest-dir /tmp/bar
+       /baz/qux.
 
-You might want to create the config file
+Create the config file
 
        ~/.dssrc
 
-that contains the values for the source and the destination
-directories. In the above example, this file would contain the
-following lines:
+that contains the values for the source and the destination directories
+as follows:
 
-       source-dir "/tmp/foo"
-       dest-dir "/tmp/bar"
+       echo 'source-dir "/foo/bar"' > ~/.dssrc
+       echo 'dest-dir "/baz/qux"' >> ~/.dssrc
 
-Using a configuration file allows you to simply type
+Then execute the commands
 
+       mkdir /baz/qux
        ./dss --run
 
-to start snapshot creation and
+In order to print the list of all snapshots created so far, use
 
        ./dss --list
 
-to list all avalable snapshots.
-
-Try
+Yes, it's really that easy. Of course, dss supports many more
+features and config options such as taking snapshots from remote
+hosts and several hooks that are executed whenever on certain events,
+for example whenever a snapshot was created successfully.  Try
 
        ./dss -h