projects
/
manivelle-srv
/
manivelle-srv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf11c17
)
DOC export DB data or DB structure
author
Matthieu FAURE
<mfaure@asqatasun.org>
Sun, 19 Jun 2016 18:07:05 +0000
(20:07 +0200)
committer
Matthieu FAURE
<mfaure@asqatasun.org>
Sun, 19 Jun 2016 18:07:05 +0000
(20:07 +0200)
Documentation/Operations.md
patch
|
blob
|
history
diff --git
a/Documentation/Operations.md
b/Documentation/Operations.md
index
88ad56d
..
799230e
100644
(file)
--- a/
Documentation/Operations.md
+++ b/
Documentation/Operations.md
@@
-12,3
+12,14
@@
pg_dump -U comptoir -W -f SAVE_comptoir.sql
From the "-srv" project, backup the `webroot/files` directory.
+## Export DB Scructure only
+
+```shell
+pg_dump -U comptoir -W --schema-only -f COMPTOIR_DB_Structure.sql
+```
+## Export DB data only
+
+```shell
+pg_dump -U comptoir -W --data-only -f COMPTOIR_Data_only.sql
+```
+