Project

easy_sync

0.0
No commit activity in last 3 years
No release in over 3 years
Ruby wrapper around rsync to easily create incremental backups.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

easy_sync

Why?

  • Did you just get a shiny new 1TB 2.5 inch external hard drive and suddenly have the urge to back 💩 up?
  • Did you just hear about CryptoLocker and thought crap how can i protect my friends and family?

Note: Once you get CryptoLocker it will encrypt the crap out of any drive letter it can find including mapped network shares 😢

Now if you use Ruby plus Rsync you can easily have many cold snapshots to restore from 👍

Installation

gem install easy_sync

Requirements

  • rsync 2.5.6 and up

Usage

Just run easy_sync to generate a template mapping file, configure your paths and next time you run easy_sync it will create the first backup. After first backup it will create incremental backups.

Todo

  • Given a source and destination a snapshot should be created.
  • It should use the latest backup for Rsync's --link-dest option and create a new snapshot with the files that changed.
  • Add logging
  • If source or destination doesn't exists don't run rsync
  • excluded list
  • Support multiple source and destination configurations by using a yaml config file.
  • Convert to a gem and create a easy_sync bin file