https://github.com/pitops/gh-actions-prisma-db-backup
https://github.com/pitops/gh-actions-prisma-db-backup
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/pitops/gh-actions-prisma-db-backup
- Owner: pitops
- Created: 2020-03-21T18:46:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-16T22:13:26.000Z (over 4 years ago)
- Last Synced: 2025-01-29T07:34:25.994Z (over 1 year ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prisma-S3-Backup (as a Github action)
## Instructions
- Download repo locally
- Create an AWS account
- Create AWS credentials (ACCESS ID/SECRET)
- Create an S3 Bucket
Add following secrets to github
```bash
PRISMA_ENDPOINT=''
PRISMA_SECRET='' # Optional if your database is not protected by a secret
AWS_ACCESS_ID=""
AWS_ACCESS_SECRET=""
AWS_BUCKET_NAME=''
```
If all has been setup successfully script should export prisma db and upload to S3 every hour.