OTP: Fix runtime upload limit config being ignored
[akkoma] / docs / administration / CLI_tasks / config.md
1 # Transfering the config to/from the database
2
3 !!! danger
4 This is a Work In Progress, not usable just yet.
5
6 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
7 `mix pleroma.config`.
8
9 ## Transfer config from file to DB.
10
11 ```sh
12 $PREFIX migrate_to_db
13 ```
14
15 ## Transfer config from DB to `config/env.exported_from_db.secret.exs`
16
17 ```sh
18 $PREFIX migrate_from_db <env>
19 ```