summaryrefslogtreecommitdiff
path: root/docs/administration/CLI_tasks/config.md
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-10-10 14:40:59 +0200
committerlain <lain@soykaf.club>2019-10-10 14:40:59 +0200
commitc54ae662dcc08c0c04a1dff7bb7a361665e877b8 (patch)
treeafb9cce0d7bcc15cd2fe3221609d7883d45d0057 /docs/administration/CLI_tasks/config.md
parent02f8e2a8ab65c3e8497bab4576ce4e75f8df3217 (diff)
parent6355694309b0bad3687a8a7820b81ebf6625751d (diff)
downloadpleroma-c54ae662dcc08c0c04a1dff7bb7a361665e877b8.tar.gz
pleroma-c54ae662dcc08c0c04a1dff7bb7a361665e877b8.zip
Merge remote-tracking branch 'origin/develop' into benchmark-finishing
Diffstat (limited to 'docs/administration/CLI_tasks/config.md')
-rw-r--r--docs/administration/CLI_tasks/config.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/administration/CLI_tasks/config.md b/docs/administration/CLI_tasks/config.md
new file mode 100644
index 000000000..ce19e2402
--- /dev/null
+++ b/docs/administration/CLI_tasks/config.md
@@ -0,0 +1,19 @@
+# Transfering the config to/from the database
+
+!!! danger
+ This is a Work In Progress, not usable just yet.
+
+Every command should be ran with a prefix, in case of OTP releases it is `./bin/pleroma_ctl config` and in case of source installs it's
+`mix pleroma.config`.
+
+## Transfer config from file to DB.
+
+```sh
+$PREFIX migrate_to_db
+```
+
+## Transfer config from DB to `config/env.exported_from_db.secret.exs`
+
+```sh
+$PREFIX migrate_from_db <env>
+```