projects
/
manivelle-srv
/
manivelle-srv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DOC: memento Postgres
[manivelle-srv/manivelle-srv.git]
/
Documentation
/
Operations.md
diff --git a/Documentation/Operations.md
b/Documentation/Operations.md
new file mode 100644
(file)
index 0000000..
88ad56d
--- /dev/null
+++ b/
Documentation/Operations.md
@@ -0,0
+1,14
@@
+# Operations on Comptoir du Libre
+
+## Backup
+
+### 1. Dump database
+
+```sh
+pg_dump -U comptoir -W -f SAVE_comptoir.sql
+```
+
+### 2. Copy uploaded files
+
+From the "-srv" project, backup the `webroot/files` directory.
+