mkdir -p $CONFIG_PATH
-The create a directory for each host you want to backup there, the directory
+Then create a directory for each host you want to backup there, the directory
name should be the name of the host (as you would use to connect to it using
ssh_). For now let's say we will only backup ``localhost``::
echo /home/rata/ > $CONFIG_PATH/$LOCALHOST/excludes
+Also, if you don't want to exclude files matching some pattern, you can create
+a file named ``includes`` with the patterns you want to include (you can use
+anything supported by the ``--include-from`` rsync_ option)
+
That's pretty much it. If you want to add other hosts, just create the host
directory and the needed host configuration files.
A symbolic link is created at the end of the backup, with the name
``$BACKUP_PATH/$host/current``, and pointing to the newly created directory.
+Also, to see what have actually changed between two backups you can run rsync
+with your usual flags plus "-nv --delete". For example if you just use "-a", to
+see the differences between lolaus/2010-07-11 and lolaus/2010-07-12 you can run::
+ rsync -nav --delete lolaus/2010-07-11/ lolaus/2010-07-12/
Similar alternatives