forked from ddrilling/AsbCloudServer
Doc backup db command
This commit is contained in:
parent
dd1d24a7e3
commit
2887327d5f
@ -13,3 +13,9 @@ dotnet ef migrations remvoe <MigrationName> --project AsbCloudDb
|
|||||||
```
|
```
|
||||||
dotnet ef database update --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