-
-
Notifications
You must be signed in to change notification settings - Fork 32
Examples
username: your-github-username
token: your-personal-access-token
include_repos: []
exclude_repos: []
include_orgs: []
exclude_orgs: []
backup_dir: /path/to/backup
include_forks: true
platform: github
server:
domain: github.com
protocol: httpsusername: your-gitlab-username
token: your-personal-access-token
include_repos: []
exclude_repos: []
include_orgs: []
exclude_orgs: []
backup_dir: /path/to/backup
include_forks: false
platform: gitlab
server:
domain: gitlab.com
protocol: httpsusername: your-bitbucket-username
token: your-app-password
workspace: you-bitbucker-workspace
include_repos: []
exclude_repos: []
include_orgs: []
exclude_orgs: []
backup_dir: /path/to/backup
include_forks: false
platform: bitbucket
server:
domain: bitbucket.org
protocol: httpsNOTE: For BitBucket you need to also add the
workspacekey which is not required for GitHub or GitLab
username: your-github-username
token: your-personal-access-token
include_repos: []
exclude_repos: []
include_orgs: []
exclude_orgs: []
backup_dir: /path/to/backup
include_forks: true
platform: github
server:
domain: github.com
protocol: httpsusername: your-github-username
token: your-personal-access-token
include_repos: []
exclude_repos: []
include_orgs: []
exclude_orgs: []
backup_dir: /path/to/backup
include_forks: false
platform: github
server:
domain: github.com
protocol: httpsusername: your-github-username
token: your-personal-access-token
include_repos: []
exclude_repos: ["repo1", "repo2"]
include_orgs: []
exclude_orgs: []
backup_dir: /path/to/backup
include_forks: false
platform: github
server:
domain: github.com
protocol: httpsusername: your-github-username
token: your-personal-access-token
include_repos: ["repo1"]
exclude_repos: []
include_orgs: []
exclude_orgs: []
backup_dir: /path/to/backup
include_forks: false
platform: github
server:
domain: github.com
protocol: httpsNOTE: In the above example if you passed
exclude_reposas well then it will be ignored since you have passedinclude_repos. So an example like below will still have the same effect as above and only "repo1" will be backed up.
username: your-github-username
token: your-personal-access-token
include_repos: ["repo1"]
exclude_repos: ["repo2", "repo3"]
include_orgs: []
exclude_orgs: []
backup_dir: /path/to/backup
include_forks: false
platform: github
server:
domain: github.com
protocol: httpsusername: your-github-username
token: your-personal-access-token
include_repos: []
exclude_repos: []
include_orgs: ["org1", "org2"]
exclude_orgs: []
backup_dir: /path/to/backup
include_forks: false
platform: github
server:
domain: github.com
protocol: httpsSimilarly, you can exclude repositories from specific organizations:
username: your-github-username
token: your-personal-access-token
include_repos: []
exclude_repos: []
include_orgs: []
exclude_orgs: ["org1", "org2"]
backup_dir: /path/to/backup
include_forks: false
platform: github
server:
domain: github.com
protocol: httpsNOTE: When you are using
exclude_orgsoption, it means that all organization repositories from the organizations mentioned in the list will be excluded from the backup. If you want to exclude only specific repositories from the organizations then you can useexclude_reposoption.
To include all repos which start with repo, you can use the following configuration:
username: your-github-username
token: your-personal-access-token
include_repos: ["repo*"]
exclude_repos: []
include_orgs: []
exclude_orgs: []
backup_dir: /path/to/backup
include_forks: false
platform: github
server:
domain: github.com
protocol: httpsSame way, you can exclude all repos which start with repo:
username: your-github-username
token: your-personal-access-token
include_repos: []
exclude_repos: ["repo*"]
include_orgs: []
exclude_orgs: []
backup_dir: /path/to/backup
include_forks: false
platform: github
server:
domain: github.com
protocol: https