Vacuum

Contents

Vacuum

Vacuum

Removes unused data from storage.

Working with the current running sandbox, the vacuum command will clean up the version history and the index segments that are not in use. To also clean up binary files and data, add the -b option.

To list available configuration options, type:

$ enonic vacuum -h

  Removes old version history and segments from content storage.

  USAGE:
     enonic vacuum [command options] [arguments...]

  OPTIONS:
     --blob, -b              Also removes unused blobs
     --auth value, -a value  Authentication token for basic authentication (user:password)
if auth param is missing and there is no valid session CLI will look for ENONIC_CLI_REMOTE_USER and ENONIC_CLI_REMOTE_PASS environment variables. See configuration section.
Example
$ enonic vacuum -b

Contents