Repository is archived
No commit activity in last 3 years
No release in over 3 years
incremental_backup can make incremental backups by hour/day/week/month/year remotely through ssh and rsync
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.0.3
~> 0.8.8
~> 2.12

Runtime

~> 2.6
 Project Readme

incremental_backup

NOTE: This repo is no longer maintained

Creates incremental backups via ssh and rsync.

Description

incremental_backup is a tool to easily create incremental backups to a local directory or to a remote server using ssh and rsync.

The backup is by default performed every hour of a determined set of files and folders. The backup is easily restorable from every hour in the last day, every day in the last week, every week in the last month, every month in the past three months and every year forever. These default settings can be changed to suit your needs.

Dependencies

  • Ruby (tested on 1.9.3)
  • ssh
  • rsync
  • trickle (only needed if using throttling)

Installation

$ gem install incremental_backup

Usage

The recommended usage is to create a small ruby application with a gemfile. Take a look at the example.

Cron

It's recommended to setup a cron job to handle scheduling of the backup.

The cron job can be triggered as often as you would like to, the script still only at most perform one backup per hour. This is useful if your computer is usually not online for more than an hour.

Alternatives

  • meskyanichi/backup - An all-in-one solution for backups of files and databases. Pretty awesome!

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request