A simple PHP script to backup your BitBucket and GitHub repositories
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
RepoSources.php
Repobackup.php
composer.json
contributors.txt

README.md

RepoBackup

A simple PHP script to backup your BitBucket and GitHub repositories

Install

First grab a copy via github:

git clone https://github.com/JimMackin/RepoBackup.git

Grab any dependencies (you'll need a copy of composer):

composer install

Use

Run the script and follow the prompts. You will need your GitHub username, GitHub API token and your BitBucket Username and password.

php Repobackup.php