X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=README;h=756e2bef17b280e4f113a466833e5f1bb154fcab;hb=41187c9904153b484a817883805fb8ad6a206b40;hp=447a0c8d7b65287fdc606c1648cc894dae7aba78;hpb=139feb5df0a4ea8af88557640a96a4f854a970d1;p=cloudstore.git diff --git a/README b/README index 447a0c8..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,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 md5 file attr + - force sane permissions on files (important for Windows rsync client) create-user.sh remove-user.sh @@ -22,6 +22,9 @@ 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: @@ -34,9 +37,11 @@ $ egrep '^(passwd|group):' /etc/nsswitch.conf 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