A Backup Tool built on Ruby
-
ruby backitup.rb “absolute-folder-path” “time”
time should be passed in 24hrs format.
For example, if you need to backup a folder ruby on your Desktop, everyday at 11:00PM for 5 days then:
-
ruby backitup.rb “/Users/utkarsh/Desktop/ruby” “23:00” “5”
If backup should be on ruby folder everyday at 12:30AM for 2 days then:
-
ruby backitup.rb “/Users/utkarsh/Desktop/ruby” “00:30” “2”
-
Implement daemons.rubyforge.org/
-
Fork the project.
-
Make your feature addition or bug fix.
-
Add tests for it. This is important so I don’t break it in a future version unintentionally.
-
Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
-
Send me a pull request. Bonus points for topic branches.
Copyright © 2010 Utkarsh Sengar. See LICENSE for details.