Merge pull request #8298 from ToolJet/docs/update-docker-page

[docs]:add backup info for docker setup
This commit is contained in:
Adish M 2023-12-12 18:04:18 +05:30 committed by GitHub
commit f0cdcbd9e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View file

@ -133,6 +133,16 @@ Confused about which setup to select? Feel free to ask the community via Slack:
</TabItem>
</Tabs>
## Docker Backup
The is a Docker-specific feature that assists in backing up the database during an upgrade process. If you plan to utilize this feature, uncomment the backup service in the docker-compose file. Additionally, you need to set an environment variable: `DATABASE_BACKUP=true`. This enables the creation of a `pg_dump` file, which will be stored in the backup folder.
To restore the database from this dump, execute the following command:
```
cat your_dump.sql | docker exec -i --user postgres <postgres-db-container-name> psql -U postgres
```
## Upgrading to v2.24.3-ee2.10.2
Version v2.24.3-ee2.10.2 includes architectural changes and, hence, comes with new migrations.

View file

@ -133,6 +133,15 @@ Confused about which setup to select? Feel free to ask the community via Slack:
</TabItem>
</Tabs>
## Docker Backup
The is a Docker-specific feature that assists in backing up the database during an upgrade process. If you plan to utilize this feature, uncomment the backup service in the docker-compose file. Additionally, you need to set an environment variable: `DATABASE_BACKUP=true`. This enables the creation of a `pg_dump` file, which will be stored in the backup folder.
To restore the database from this dump, execute the following command:
```
cat your_dump.sql | docker exec -i --user postgres <postgres-db-container-name> psql -U postgres
```
## Upgrading to v2.24.3-ee2.10.2
Version v2.24.3-ee2.10.2 includes architectural changes and, hence, comes with new migrations.