Storage Bat - Efficient Data Archiver
-
Storage Bat runs on on x86 Linux.
-
It is primarily designed for storage backup/archiving.
-
It optimizes storage by removing duplicate blocks across files.
The following steps will help you get quickly started with Storage Bat.
1. Install mongodb binaries and start mongod service.
2. Check that mongo client is able to connect
3. Add the path <install_dir>/src/third_party/lib /etc/ld.so.con and run ldconfig</install_dir>
- Or set the LD_LIBRARY_PATH to point to the above path.
4. Build
5. Run a quick test and it it passes you are nearly there!
6. Mount the storage bat as a file system
- cd out/debug/bin
- ./sbat_start
7. You are all set, if you see:
- storagebat on /mnt/sbat type fuse.storagebat (rw,nosuid,nodev,allow_other)
8. 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.
9. To stop/unmount storage bat (it needs to sleep sometimes :)) for upgrades/maintenance:
In case you want to absolutely clean it all up, run
Don't forget to clean up library paths you added in step #3.