0. Install mongodb binaries and start mongod service.
Follow the steps documented at
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux
Check, the status of the service
$ service status mongod
Check that mongo client is able to connect
$ mongo
2. Add the path <install_dir>/src/third_party/lib /etc/ld.so.conf
and run
$ ldconfig
3. Build
$ scons
4. Do a quick test
$ ./quicktest.sh
5. Mount storage bat
$ cd out/debug/bin
$ ./sbat_start
You should see:
storagebat on /mnt/sbat type fuse.storagebat (rw,nosuid,nodev,allow_other)
You are all set!
Now you can archive/backup files by copying them under /mnt/sbat which is the root dir of storage bat.
Note that storage bat will optimize data storage by eliminating duplicate storage blocks from the archives.
To stop storage bat (it needs to sleep sometimes :)) for maintenance:
$ ./sbat_stop