forked from ddrilling/AsbCloudServer
Doc backup db command
This commit is contained in:
parent
dd1d24a7e3
commit
2887327d5f
@ -12,4 +12,10 @@ 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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user