Features:
-RSYNC_PORT=6502 ./rsync-piper.pl
+sudo ./rsync-piper.pl
- generate rsync configuration based on content of RSYNC_DIR/users
- start rsync server on specified port
- follow rsync transfer log, parse it and trigger events
- gearman log shipping in json format
- support login+host usernames for client secrets
- push md5sum file to create files from server's md5 pool
-
-data-worker.pl
- - gearman worker to store rsync transfer log into PostgreSQL
+ - track quota usage using uid/gid using libnss-extrausers
+ - store md5 sums generated by rsync transfer in md5 file attr
+ - force sane permissions on files (important for Windows rsync client)
create-user.sh
remove-user.sh
test.sh
- excercise rsync server to test basic operation and deduplication
+FULL=1 ./user-md5sum.pl u2001 | md5sum -c
+ - generates md5sum file for user with optional full paths for easy scrubing
+
Installation on Debian:
passwd: compat extrausers
group: compat extrausers
-Install default test user and first slice:
+Now you will want to end env.sh configuration for this slice
+
+$ vi env.sh
+
+And create ZFS filesystem and md5 pool in it:
-$ sudo cp -v extrausers/* /var/lib/extrausers/
-`extrausers/group' -> `/var/lib/extrausers/group'
-`extrausers/passwd' -> `/var/lib/extrausers/passwd'
+$ sudo ./bin/init-slice.sh