Add pg_dump command

This commit is contained in:
Eduardo Silva 2024-04-05 22:59:08 -03:00
parent 0714eff28a
commit 4dcc6e7dba

View file

@ -78,7 +78,9 @@ To maintain security, performance, and access to new features in RouterFleet, it
1.**Backup Database**
Before starting the upgrade, it's crucial to back up your database. This step ensures you can revert to the previous state if the upgrade encounters problems. For the database, we recommend manually running a `pg_dump` command to create a backup.
```bash
docker exec -e PGPASSWORD=your_password routerfleet-postgres pg_dump -U routerfleet -d routerfleet > /root/routerfleet-$(date +%Y-%m-%d-%H%M%S).sql
```
2.**Preparation:**