Content Server Manual / Version 2301
Table Of ContentsThis section describes the operational server utilities. Before you apply these tools, you should read the respective documentation thoroughly. The operational tools perform highly privileged tasks some of which are not subject to any consistency checks. An improper usage of the tools may severely affect the performance of the CoreMedia CMS or even damage the repository.
Repository tools
cleanrecyclebin/cleanversions:
Delete obsolete content items and versions from the repositoryserverexport:
Stores the content of the repository as XML filesserverimport:
Upload content stored byserverexport
usedlicenses:
Withdraws a license from a userjshell:
The JShell wrapper lets you interactively access the Content Server using the Unified API.groovysh:
The Groovy Shell lets you interactively access the Content Server using the Unified API.content-uuid-export, generate-content-uuid-map, content-uuid-export: These tools will assist you synchronizing content UUIDs between different environments, like development and production, and for transferring content UUIDs from the Content Management Server to its live servers. Running these tools is part of the upgrade steps as documented in the release notes for upgrading from old releases that did not yet support UUIDs. Another use case is for example, to synchronize UUIDs after serverimport was executed without importing content UUIDs.
Database tools
sql:
Provides direct access to the databasedbindex:
Creates a database index over the folder structure
Server tools
cancelpublication
: Cancel a running publicationkillsession:
Kills a sessiontracesession:
Causes a session to be tracedrunlevel:
Changes the runlevel of the serverunlockcontentserver
: Remove a lock that stops a Content Server from starting upencryptpasswordproperty
: Encrypt a given password for use in property files
User tools
changepassword
: Changes the password.dumpusers
: Writes an XML file containing a representation of the users and groups defined in the internal user administration, and of all rights rules.restoreusers
: Updates the internal user administration and the rights rules from an XML file containing a representation of users, groups and rules.
Note that some of the operational tools do not access the CoreMedia CMS server but work on database level. Those tools don't support the standard options because they don't need a user to open a session.