Backup-script is a utility which help you backing up git repositories in one line of command
-
Clone the repository
git clone https://github.com/crziter/Backup-script.git
-
Fix permission (if necessary)
chmod +x do-backup.sh chmod +x add-repo.sh chmod +x rm-repo.sh chmod +x ls-repo.sh
-
Add repo to library
./add-repo.sh "Repo name" "/repo/location" "remote"
-
Do backup every time you need
./do-backup-sh
-
Fork and do-every-thing-you-want