1 # Transfering the config to/from the database
4 This is a Work In Progress, not usable just yet.
6 {! backend/administration/CLI_tasks/general_cli_task_info.include !}
8 ## Transfer config from file to DB.
11 ./bin/pleroma_ctl config migrate_to_db
14 ```sh tab="From Source"
15 mix pleroma.config migrate_to_db
19 ## Transfer config from DB to `config/env.exported_from_db.secret.exs`
22 ./bin/pleroma_ctl config migrate_from_db <env>
25 ```sh tab="From Source"
26 mix pleroma.config migrate_from_db <env>