test md5 chown
[cloudstore.git] / README
1 Central rsync backup server
2
3 Features:
4
5 sudo ./rsync-piper.pl
6         - generate rsync configuration based on content of RSYNC_DIR/users
7         - start rsync server on specified port
8         - follow rsync transfer log, parse it and trigger events
9         - file/dir metadata in json (with VFS-like API)
10         - deduplicate files using md5 pool and hardlinks
11         - gearman log shipping in json format
12         - support login+host usernames for client secrets
13         - push md5sum file to create files from server's md5 pool
14         - track quota usage using uid/gid using libnss-extrausers
15
16 create-user.sh
17 remove-user.sh
18         - create/remove user's directory and data
19
20 test.sh
21         - excercise rsync server to test basic operation and deduplication
22
23
24 Installation on Debian:
25
26 $ ./bin/debian-install.sh
27
28 Disk quota calculation depends on custom POSIX ids created using libnss-extrausers
29 so ensure that /etc/nsswitch.conf has extrausers enabled:
30
31 $ egrep '^(passwd|group):' /etc/nsswitch.conf 
32 passwd:         compat extrausers
33 group:          compat extrausers
34
35 Now you will want to end env.sh configuration for this slice
36
37 $ vi env.sh
38
39 And create ZFS filesystem and md5 pool in it:
40
41 $ sudo ./bin/init-slice.sh
42