https://github.com/animmouse/postgresql-backup-workflow
PostgreSQL Backup Reusable Workflows
https://github.com/animmouse/postgresql-backup-workflow
Last synced: 2 months ago
JSON representation
PostgreSQL Backup Reusable Workflows
- Host: GitHub
- URL: https://github.com/animmouse/postgresql-backup-workflow
- Owner: AnimMouse
- License: mpl-2.0
- Created: 2025-07-13T16:12:21.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-11-29T03:06:50.000Z (5 months ago)
- Last Synced: 2025-12-01T04:07:52.596Z (5 months ago)
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PostgreSQL Backup Reusable Workflows
Reusable GitHub Actions workflows for backing up PostgreSQL databases.
## Rclone
Example workflow:
```yaml
name: Backup PostgreSQL
on:
schedule:
- cron: '7 1,10 * * 1-5'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
jobs:
backup:
uses: AnimMouse/PostgreSQL-Backup-Workflow/.github/workflows/rclone.yaml@v1
with:
file_name: postgresql-backup
dbname: postgres
host: aws-0-ap-southeast-1.pooler.supabase.com
port: 5432
username: postgres
postgresql_version: 17
zstd_clevel: 17
rclone_remote_to: "dest:PostgreSQL Backups"
secrets:
password: ${{ secrets.PASSWORD }}
rclone_config: ${{ secrets.RCLONE_CONFIG }}
````