diff options
author | feld <feld@feld.me> | 2019-10-04 14:16:28 +0000 |
---|---|---|
committer | feld <feld@feld.me> | 2019-10-04 14:16:28 +0000 |
commit | 31e57cd1b34798afb07a8de4c0c95ef3c15e22ed (patch) | |
tree | 461d3d50b855d080eb17f0946213168a87ac7625 /docs/administration/CLI_tasks/config.md | |
parent | b8b98ac40f042a8c3d2562edc095f0e1a309760f (diff) | |
parent | 27110793a7d8e3aa6434bde63a1f687424ae779c (diff) | |
download | pleroma-31e57cd1b34798afb07a8de4c0c95ef3c15e22ed.tar.gz |
Merge branch 'develop' into 'fix/extended-nickname-format-default-config'
# Conflicts:
# CHANGELOG.md
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> +``` |