init slice zfs pool
[cloudstore.git] / README
1 Central rsync backup server
2
3 Features:
4
5 RSYNC_PORT=6502 ./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
15 data-worker.pl
16         - gearman worker to store rsync transfer log into PostgreSQL
17
18 create-user.sh
19 remove-user.sh
20         - create/remove user's directory and data
21
22 test.sh
23         - excercise rsync server to test basic operation and deduplication
24
25
26 Installation on Debian:
27
28 $ ./bin/debian-install.sh
29
30 Disk quota calculation depends on custom POSIX ids created using libnss-extrausers
31 so ensure that /etc/nsswitch.conf has extrausers enabled:
32
33 $ egrep '^(passwd|group):' /etc/nsswitch.conf 
34 passwd:         compat extrausers
35 group:          compat extrausers
36
37 Now you will want to end env.sh configuration for this slice
38
39 $ vi env.sh
40
41 And create ZFS filesystem and md5 pool in it:
42
43 $ sudo ./bin/init-slice.sh
44