Cockpit comes with a CLI containing useful commands to interract from the command line.
List of commands:
Export all data from cockpit to a directory
--target: The destination directory for the export of the cockpit data
Possible subcommands to export only certain types of data:
Imports data from a folder. It expects the structure of a
cp export result.
--src: the source folder containing the cockpit data to import
Possible subcommands to import only certain types of data:
Deletes all the data in cockpit (from the db)
Possible subcommands to flush only certain types of data:
Create language file for the admin ui in
--lang: target language