Backup script for *nix systems,
using Ruby, for configurable redundancy across >=1 physical
device
Paranoid Packrat is a Ruby program to help you backup multiple
directories and files, to either one or more hard drives.
It
is a wrapper for Rsync to make it much easier to perform backups.
We are still in development, and are exploring the many possible
ways of doing things. There are many things that we want it to
do,
- Backup to destinations on remote machines via SSH
- Optional encrypted backups of various scopes (per file/dir, per backup destination, etc)
- Geolocational awareness of where your remote backups are
- If we get Geolocational awareness,
you can say "I want to always have a backup of this on another
continent." and it will work as long as you've configured enough remote
backup destinations.
- A special IRB API for ease of use in IRB.
- Optionally use your system's mail facilities to mail you if there are errors
- Configurable redundancy across multiple hard drives
- Backups _need_ to be stored in a human browsable directory structure
- Support for disconnecting, as well as reconnecting and syncing up again backup hard drives
- Avoid unnecessary duplication in backup destinations using hardlinks (For this to work backups MUST be atomic [do not edit them/cannot edit them])
- Watch directories and files that you've backup for changes (similar to tripwire)
- Configurable backup durations ("I want to store daily backups for the last 30 days, and monthly backups until capacity")
Currently, it does
simpleBackup() is just a simple wrapper for rsync to hardlink to olderbackups if they exist.
- More to come as the monkeys mash their keyboards...
Docs
The more recent documentation, which you yourself can update
by clicking Update in the top right corner, is here,
And theres probably less up to date versions of those same
docs over
here.
There are also configuration examples in the ParanoidPackrat.default.config.rb
file
Dependencies
For the rspec specs, you will also need
Install/Use
git clone git://github.com/jeffWelling/ParanoidPackrat.git
cd ParanoidPackrat
cp ParanoidPackrat.default.config.rb ParanoidPackrat.config.rb
Edit ParanoidPackrat.config.rb to configure your desired
backups
./ParanoidPackrat.rb
License
GPL Version 3.0
Authors
jeffWelling
wnight
kelora
Contact
jeffWelling (Jeff.Welling (a) Gmail)
I'm no web developer I'm a
programmer, these pages are crude but they work. If you'd like to
submit a pull request with an improved version, I'd happily pull it in,
but please don't mail me just to comment on the site.
Download
You can download this project in either zip
or tar
formats.
You can also clone the project with Git by running:
$ git clone git://github.com/jeffWelling/ParanoidPackrat