From: Martin Langhoff <[EMAIL PROTECTED]> postprocess.py now provides hardlinked timestamped directories, and maintains a symlink pointing to the latest transferred directory.
The timestamped directories are maintained with a resolution of the nearest minute - we don't expect to have more than one per hour. The incrond crontab gets updated to deal well with rsync clients too. To work well with rsync, the rsync client must use the -T option to avoid creating tempfiles in the monitored directory. Strangely, incrond cannot handle comments on its tab files, so we workaround that for the moment. This is known as bug 173 in the incrond bugtracker (bts.aiken.cz). --- server/incron-ds-backup.comments | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 server/incron-ds-backup.comments diff --git a/server/incron-ds-backup.comments b/server/incron-ds-backup.comments new file mode 100644 index 0000000..6edb8d8 --- /dev/null +++ b/server/incron-ds-backup.comments @@ -0,0 +1,11 @@ +## NOTE: incrond v0.5.5 cannot cope with +## comments in its "tab" files. So we +## put them here, until incrontab gets +## better at this :-) + +# We monitor create and move to, because +# while touch/echo will trigger IN_CREATE, +# rsync transfers (use the -T flag!) will +# create the file in a tempdir and then mv +# it into place. Again: use rsync -T /tmp +# : [EMAIL PROTECTED] -- 1.5.6.dirty _______________________________________________ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel