feat: dump in every format import understands
This commit is contained in:
@@ -85,6 +85,10 @@ ahab django make-command <app> <name>
|
||||
```bash
|
||||
ahab postgres dump <path> # pg_dump, custom format
|
||||
ahab postgres dump -F plain <path> # pg_dump, plain sql
|
||||
ahab postgres dump -F tar <path> # pg_dump, tar
|
||||
ahab postgres dump -F directory <d> # pg_dump, a directory of files
|
||||
ahab postgres dump -F cluster <path> # pg_dumpall, roles and all databases
|
||||
ahab postgres dump -F plain -z <path> # any of them, gzipped
|
||||
ahab postgres import <path> # drop, create, then restore
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user