Skip to content

pkdevbox/snapbackup-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnapBackup

Summary

SnapBackup is a very lightweight backup framework designed from the ground up for simplicity and ease of extension and deployment. The codebase is kept very small on purpose and you should be able to start backing up filesystem, database, application and server data in only a few minutes.

Because SnapBackup is so modular, it is completely language agnostic and anyone with moderate programming skills can create new backup targets and storage connectors.

SnapBackup is still very much alpha software, but it has been in use in production on several servers that I manage for over a year. Expect things to change.

SnapBackup is only compatible with Linux at this time. OSX support should be coming in the future.

Quick Start

By default, SnapBackup is configured to use Amazon's S3 service as it's configured storage connector. The connector uses the following ENV variables for it's configuration:

  • S3_BUCKET_NAME
  • AMAZON_ACCESS_KEY_ID
  • AMAZON_SECRET_ACCESS_KEY

Those should be set up in the config.sh file.

Once those variables are set up, you must enable policies. At the time of this writing, backup policies are stored in the policies directory in the same directory as the snapbackup executable. Example policies are stored in the policies-available directory. By symlinking policies into the policies directory, that enables them.

To run SnapBackup, execute the following as root:

./snapbackup

About

SnapBackup is written by Spike Grobstein me@spike.cx
http://github.com/spikegrobstein/snapbackup
http://spike.grobste.in
http://sadistech.com

About

simple, modular, extensible backup script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 83.2%
  • Ruby 16.8%