1
0

docs: adjust documentation to reflect single-binary deployments

This commit is contained in:
kolaente
2024-02-09 19:09:19 +01:00
parent 11b72765c9
commit 1984527fae
28 changed files with 732 additions and 1226 deletions

View File

@ -24,33 +24,33 @@ To back up attachments and other files, it is enough to copy them [from the atta
To create a backup from mysql use the `mysqldump` command:
{{< highlight bash >}}
```
mysqldump -u <user> -p -h <db-host> <database> > vkunja-backup.sql
{{< /highlight >}}
```
You will be prompted for the password of the mysql user.
To restore it, simply pipe it back into the `mysql` command:
{{< highlight bash >}}
```
mysql -u <user> -p -h <db-host> <database> < vkunja-backup.sql
{{< /highlight >}}
```
### PostgreSQL
To create a backup from PostgreSQL use the `pg_dump` command:
{{< highlight bash >}}
```
pg_dump -U <user> -h <db-host> <database> > vikunja-backup.sql
{{< /highlight >}}
```
You might be prompted for the password of the database user.
To restore it, simply pipe it back into the `psql` command:
{{< highlight bash >}}
```
psql -U <user> -h <db-host> <database> < vikunja-backup.sql
{{< /highlight >}}
```
For more information, please visit the [relevant PostgreSQL documentation](https://www.postgresql.org/docs/12/backup-dump.html).