This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 87ef5369158c446db96686f42e2de24bc3811167
tree dd15f9d9c971ad24ff7ae4a9dd8b02837c4fc30e
parent 343095aa18ccb198b1d46254b37f43be02312851
tree dd15f9d9c971ad24ff7ae4a9dd8b02837c4fc30e
parent 343095aa18ccb198b1d46254b37f43be02312851
| name | age | message | |
|---|---|---|---|
| |
LICENSE | Tue Jun 10 06:06:22 -0700 2008 | |
| |
README | Wed Jun 25 14:00:38 -0700 2008 | |
| |
bin/ | Sun Nov 30 11:14:02 -0800 2008 | |
| |
doc/ | Fri Jun 20 09:52:41 -0700 2008 | |
| |
lib/ | Fri Nov 28 11:20:51 -0800 2008 | |
| |
s3rbackup.gemspec | Sun Nov 30 11:14:02 -0800 2008 |
README
- s3rbackup It's a backup system based on amazon s3 backend. - Features * One command to backup a directory, one command to retrieve. * Compressed file on S3, transparent compression/decompression on local system. * Local database with metadata of every file, database can be also automatically saved and retrived from S3. * Query to database for file searching. * Multiple database at one time * Multiple compression type (see doc/stats.txt for speed results) selectable from config or command line - Install sudo gem install niky81-s3rbackup -s http://gems.github.com - Configure You need a file called ~/.s3rbackup/config.yml in your home directory (see doc/config.*) with: access_key_id: your_amazon_access_key secret_access_key: your_secret_access_key bucket: your_default_bucket (can be changed in command line) sync_db: false (true if local db must be sync with remote S3 db) bucket_db: your_database_bucket (if sync_db is true) bucket_log: s3rbackup_nik_log (if you want to specify where to log) log: true (if you want logging) - How work There are three file: s3rbackup.rb script for backup s3query.rb script for quering the database s3dbsync.rb library * s3rbackup.rb To backup a directory: s3rbackup.rb test_dir/ To backup a directory with a backup name and a description: s3rbackup.rb -n "backup name" -d "backup description" test_dir/ You can add multiple directory to a single backup: s3rbackup.rb -n "backup name" -d "backup description" test_dir/ test_dir1/ test_dir2/ * s3query.rb To query your database and get backup files it's based on command: s3query.rb [options] <search|get|unpack|delete> parameters To search a word on database: s3query.rb search test To search file only by name on database: s3query.rb search name=test To search only file bigger than 1Mb on database: s3query.rb search size>1000000 To search by date s3query.rb search "datetime<2008/06/25_22:10" to get all file that match name=test: s3query.rb get name=test to get and extract all file that match name=test s3query.rb unpack name=test to get and extract only the lastest version of all file that match name=test s3query.rb unpack name=test --newer In similar way you can use delete. - Question Ask to me sacchi.nicola@gmail.com. - FAQ








