diff options
author | lain <lain@soykaf.club> | 2019-10-10 14:40:59 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-10-10 14:40:59 +0200 |
commit | c54ae662dcc08c0c04a1dff7bb7a361665e877b8 (patch) | |
tree | afb9cce0d7bcc15cd2fe3221609d7883d45d0057 /docs/administration/CLI_tasks/config.md | |
parent | 02f8e2a8ab65c3e8497bab4576ce4e75f8df3217 (diff) | |
parent | 6355694309b0bad3687a8a7820b81ebf6625751d (diff) | |
download | pleroma-c54ae662dcc08c0c04a1dff7bb7a361665e877b8.tar.gz |
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.md | 19 |
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> +``` |