Skip to content

Commit

Permalink
Add blank lines around headers in pgbackup.md
Browse files Browse the repository at this point in the history
  • Loading branch information
smilerz authored Nov 9, 2023
1 parent 03aec9a commit 97397df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/apps/pgbackup.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Set your postgres host, username and password in the .env file along with a comm
By default, backups run daily. Change PGBACKUP_SCHEDULE to any valid [cron schedule](http://godoc.org/github.com/robfig/cron#hdr-Predefined_schedules) to modify the default.

### Recommended docker-compose overrides

For extra security, it is recommended to limit permissions on the backup folder to a priviledged user. Modify docker-compose.override.yml as below.

If you are using postgres docker container, add a dependency to the container
Expand All @@ -27,9 +28,11 @@ If you are using postgres docker container, add a dependency to the container
```

## Manually trigger a backup

`docker exec -it pgbackup ./backup.sh`

## Restore from latest backup

If the database already exists, drop it.
Create a database <db_name>

Expand Down

0 comments on commit 97397df

Please sign in to comment.