From ArchWiki
Jump to navigation Jump to search

I think its a good idea to mention dirvish here. --Moere 03:34, 1 March 2010 (EST)

rsyncd.conf for ssh transfers.

It should be mentioned on this page that in order to use modules, one has to put an rsyncd.conf file in the home directory of the user who is ssh'ing in. This is not very obvious.

rsync for snapshot backups

After a bit of reading, i found out that plain rsync is pretty much capable of snapshot backups, like time-machine inspired stuff. Not sure if this is the appropriate place. It would be something like this:
DATESTAMP=$(date +%Y-%m-%d)
rsync -rltgo --chmod=a-w --link-dest=$SNAPS/latest $HOME $SNAPS/$DATESTAMP
rm latest

There is a much better discussion here: