Skip to content

A simple script to backup all your GitHub organization repositories.

License

Notifications You must be signed in to change notification settings

dukechain2333/github-repo-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-repo-backup

A simple script to backup all your GitHub organization repositories.

Usage

  1. Clone this repository to your local directory. Then run the following command to install the dependencies:

    npm install
  2. Create a new Github personal access token

  3. Fill in the Main.js file with your Github personal access token, the name of the organization you want to backup and the backup directory.

    Parameters Description
    auth_key Github personal access token
    org_name The name of the organization
    path Backup directory
  4. Run the following command to start the process, the process will automatically be excuted every hour. You may also find logs in your backup directory.

    node Main.js

About

A simple script to backup all your GitHub organization repositories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published