Skip to content

Commit

Permalink
Update FAQ entry about backups
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Sep 2, 2023
1 parent d9c7997 commit cc9cf14
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion content/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,16 @@ standard_init_linux.go:178: exec user process caused "exec format error"

<h2 id="backup">How to backup my data? <a class="anchor" href="#backup" title="Permalink">¶</a></h2>

You can use standard Postgresql tools: [pgdump](https://www.postgresql.org/docs/current/app-pgdump.html)
Refer to the [official Postgres documentation](https://www.postgresql.org/docs/current/backup.html) for details about backing up and restoring a Postgres database.

Basic SQL dump example:

```bash
# Backup
pg_dump miniflux2 -f miniflux.dump

# Restore
psql miniflux2 < miniflux.dump
```

There many other options available, refer to the official documentation of `pg_dump` and `pg_restore`.

0 comments on commit cc9cf14

Please sign in to comment.