Menu

Tree [b7d59e] master /
 History

HTTPS access


File Date Author Commit
 src 2013-05-26 StorageBat Admin StorageBat Admin [b7d59e] Modified test script and replaced lseek+write w...
 README 2013-05-14 StorageBat Admin StorageBat Admin [2d5c71] Updated README.
 SConstruct 2013-05-12 StorageBat Admin StorageBat Admin [a89c55] Initial commit.
 quicktest.sh 2013-05-14 StorageBat Admin StorageBat Admin [b8b64e] Renamed scripts, misc cleanups and updated README.

Read Me

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
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.