X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=README;h=756e2bef17b280e4f113a466833e5f1bb154fcab;hb=6eb043231f2a4e6150574d26ef0ed19305056ad9;hp=4a8fc610647721e2b32260cbfcf10f2ba11f4a0b;hpb=3e0374a904fbfcb6ac1b1e65b6d1f2359f4e05bd;p=cloudstore.git diff --git a/README b/README index 4a8fc61..756e2be 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,7 +11,37 @@ 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 + - 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 + - create/remove user's directory and data + +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 -- data-worker - - gearman worker to store rsync transfer log into PostgreSQL -