
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
best-github-backup
Advanced tools
this is the best GitHub backup program. it does not suck, and here is why:
JSON.stringify()
the entire database 🙈
npm i -g best-github-backup
you'll need a GitHub API token with at least repo
and read:org
scopes 🔭
BEST-GITHUB-BACKUP(1) General Commands Manual BEST-GITHUB-BACKUP(1)
NAME
best-github-backup - the best GitHub backup program (trust me bro)
SYNOPSIS
best-github-backup -t token -o organization [-afgv] [-d daysThreshold]
[-e repo1,repo2,...]
best-github-backup --help
best-github-backup --version
(See the OPTIONS section for alternate option syntax with long option
names.)
DESCRIPTION
Takes a backup for a given GitHub organization of all repositories that
the provided token can access.
It will run in one of two modes:
1. Backup mode (default), where information is pulled from GitHub, or
2. Archive mode (option -a), where compressed files are created for
backups that have been taken already with backup mode.
OPTIONS
-a, --archive
Create compressed files for archiving.
-d daysThreshold, --days daysThreshold
Skip backup for repos that have been successfully backed up within
the last daysThreshold days.
-e repo1,repo2,..., --exclude repo1,repo2,...
Exclude specified repos from backup.
Note: this option is ignored in archive mode (option -a).
Archive mode will process whatever exists from the previously taken
backup(s). If you want to exclude anything from the archive, it
must have been excluded from all backups. If you are uncertain, you
should delete the data folder (data/orgName) and take a new backup
with the exclude option.
-f, --force
Force update GitHub content. (By default, we only query for new
content since the last successful backup was taken.)
-g, --git
Clone (or update existing clone of) git repos.
-h, --help
🆘 HELP!
-o org, --org org
GitHub organization to backup.
-t token, --token token
GitHub token to use for authentication.
-v, --verbose
Verbose logging.
--version
Show version.
EXAMPLES
best-github-backup -t token -o organization
Backup an organization.
best-github-backup -t token -o organization -a
Create compressed files for archiving.
best-github-backup -t token -o organization -g
Backup an organization, including git repositories.
best-github-backup -t token -o organization -ag
Create compressed files for archiving, including git repositories.
best-github-backup -t token -o organization -g -e repo1,repo2,...
Backup an organization, including git repositories, but excluding
some repositories.
FAQs
the best GitHub backup program (trust me bro)
The npm package best-github-backup receives a total of 12 weekly downloads. As such, best-github-backup popularity was classified as not popular.
We found that best-github-backup demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.