Skip to content

preynolds/git-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

git-backup

A ruby script used to maintain an offsite backup of git repositories.

Usage

Clone your repositories to be backed up into a single directory on some server:

mkdir /home/myuser/mybackups
cd /home/myuser/mybackups
git clone user@server:repo1
git clone user@server:repo2

Modify baseDir to match the full path to the directory you used in step 1

Run ./backup.rb

Add it to cron via crontab -e for scheduled backups

About

Backup all of your git repositories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages