X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=README;h=5facca8f94d262fd16cd4476b309de86529f1018;hb=ddf7f5d29633547c4dc83c67fdd55f3995375a72;hp=b704218a7be6f0bbda0ce61c2cca0933b6503ee3;hpb=20eb827228c293e522014c7692d3641fe9869d32;p=cloudstore.git diff --git a/README b/README index b704218..5facca8 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ Central rsync backup server 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 @@ -11,9 +11,9 @@ RSYNC_PORT=6502 ./rsync-piper.pl - 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 TokyoCabinet database + - force sane permissions on files (important for Windows rsync client) create-user.sh remove-user.sh @@ -22,3 +22,26 @@ 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: + +$ ./bin/debian-install.sh + +Disk quota calculation depends on custom POSIX ids created using libnss-extrausers +so ensure that /etc/nsswitch.conf has extrausers enabled: + +$ egrep '^(passwd|group):' /etc/nsswitch.conf +passwd: compat extrausers +group: compat extrausers + +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 ./bin/init-slice.sh +