Skip to main content

Site User Commands

Site User Commands


Permissions Reset#

To reset the permissions of a file or directories, log in via SSH and modify the command below to your needs:

clpctl system:permissions:reset --directories=770 --files=660 --path=.


Database Export#

With the command db:export, you can export a database as dump.


The database dump will be gzipped if you add .sql.gz at the end of the file name. If you want to export the database uncompressed, use .sql.

clpctl db:export --databaseName=my-database --file=dump.sql.gz

Database Import#

To import a database, go to the database dump's directory and use the following command to import.

clpctl db:import --databaseName=my-database --file=dump.sql.gz