Skip to content

Commit

Permalink
chore: work on new backup job
Browse files Browse the repository at this point in the history
  • Loading branch information
bnussman committed Oct 18, 2024
1 parent 7268220 commit 4127760
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ jobs:
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
DB_HOST_PUBLIC: ${{ secrets.DB_HOST_PUBLIC }}

- name: Set permissions
run: chmod 0600 ~/.pgpass

- name: Dump database
run: pg_dump | gzip > $(date -u +'%Y-%m-%d-%H-%M-%S').sql.gz

0 comments on commit 4127760

Please sign in to comment.