Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ / /

mongocli ops-manager clusters reclaimFreeSpace

On this page

  • Syntax
  • Arguments
  • Options
  • Inherited Options

Reclaim unused space for a cluster.

mongocli ops-manager clusters reclaimFreeSpace <clusterName> [options]
Name
Type
Required
Description
clusterName
string
false
Name of the cluster for which you want to reclaim free space.
Name
Type
Required
Description
--force
false
Don't ask for confirmation.
-h, --help
false
help for reclaimFreeSpace
--processName
strings
false
The unique identifier for the host of a MongoDB process in the following format: {hostname}:{port}.
--projectId
string
false
Project ID to use. Overrides configuration file or environment variable settings.
--timestamp
string
false
Timestamp in ISO 8601 format when the service reclaims the space. If not set, defaults to the current timestamp.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Back

list