juno-fx/Back up a GitHub org/namespace with restic
An action to perform and manage retention of encrypted backups for a GitHub organization/namespace, using restic (https://restic.net/).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_namespace | Organization or user namespace to backup (eg. 'juno-fx' backs up all repos in the juno-fx org) | yes | — |
| github_access_token | GitHub access token to use for the backup - must be able to read all target repos in the org/namespace | yes | — |
| restic_password | Restic password to use for the backup | yes | — |
| restic_image_tag | Restic image tag to use for the backup (default: 'latest') | — | latest |
| restic_repository | Restic repository URL to use for the backup, eg. s3:https://s3.us-east-1.amazonaws.com/juno-example-bucket .Upstream docs can be found here: https://restic.readthedocs.io/en/latest/index.html | no | — |
| s3_access_key_id | S3 access key ID to use for the restic backup | yes | — |
| s3_secret_access_key | S3 secret access key to use for the restic backup | yes | — |
| restic_keep_last | How many last backups to keep. When one of the restic_keep inputs is set, we keep them indefinitely | no | — |
| restic_keep_daily | How many daily backups to keep. When one of the restic_keep inputs is set, we keep them indefinitely | no | — |
| restic_keep_weekly | How many weekly backups to keep. When one of the restic_keep inputs is set, we keep them indefinitely | no | — |
| restic_keep_monthly | How many monthly backups to keep. When one of the restic_keep inputs is set, we keep them indefinitely | no | — |
| validate_private_repos_presence | If true, the action will fail if there are no private repos in the org/namespace. This sanity-checks your token has the correct permissions. | no | false |
Outputs
no outputs