-
Notifications
You must be signed in to change notification settings - Fork 9
Configuration
Leslie Leung edited this page Nov 13, 2023
·
2 revisions
repository:
- name: reaper # the name of this task
url: github.com/leslieleung/reaper # the url of the repository
cron: "0 * * * *" # only works in daemon mode
storage: # storages defined in the storage part of the config
- localFile
- backblaze
useCache: True # if enabled, REAPER would keep the cloned repository and use git pull on next run
- name: me
orgName: LeslieLeung # the name of the user or the organization
type: user # repo, user, org (default: repo)
storage:
- localFile
If you wish to backup all of the repos of a user or an organization, you can simple add an item with either type user or org, and specify the name of the desired user/org. Please note that PAT(Personal Access Token) might be needed, see below.
storage:
- name: localFile
type: file
path: ./repo
- name: backblaze
type: s3
endpoint: s3.us-west-000.backblazeb2.com
region: us-west-000
bucket: your-bucket-name
accessKeyID: your-access-key-id
secretAccessKey: your-secret-access-key
You need a PAT(Personal Access Token) to access some of the repos. You can generate one HERE, make sure it has repo READ
rights.
githubToken: xxx