Doc backup db command

This commit is contained in:
Фролов 2021-09-29 10:09:40 +05:00
parent dd1d24a7e3
commit 2887327d5f

View File

@ -13,3 +13,9 @@ dotnet ef migrations remvoe <MigrationName> --project AsbCloudDb
```
dotnet ef database update --project .\AsbCloudDb
```
#backup
```
sudo -u postgres pg_dump -U postgres postgres -W | gzip > 2021-09-27_dump.sql
```