User Tools

Site Tools


docu:csheet:sysadm:web:apps:nextcloud:export_import_config

Export and import Nextcloud App configuration


Export the configuration from the selected Nextcloud App:

# example: "user_ldap"  App
php occ config:list --private user_ldap > user_ldap-dump.json

Now, you can modify it and/or import it to the destination server:

php occ config:import < user_ldap-dump.json

Alternatively, you can write your own config manually or in a single-script, by doing:

php occ config:import << EOS
{
    "apps": {
        "user_ldap": {
            "s01ldap_userlist_filter": "(|(objectclass=user))",
        }
    }
}
EOS
docu/csheet/sysadm/web/apps/nextcloud/export_import_config.txt · Last modified: 2021/06/18 11:26 by admin