mongocli ops-manager admin backup filesystem delete
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
Note
You must be a Global Owner
to run admin
commands.
The admin backup filesystem delete
command deletes the
configuration of the specified file system store. You can also delete
the configuration of a file system store using the API.
Syntax
mongocli ops-manager|om admin backup filesystem|fileSystem delete <file-system-config-ID> [ --force ] [ --profile|-P <profile-name> ]
Arguments
Option | Type | Description | Required? |
---|---|---|---|
file-system-config-ID | string | Unique name of the file system store configuration. | yes |
Options
Option | Type | Description | Required? |
---|---|---|---|
--force | Flag that indicates that the configuration can
be deleted without requiring confirmation. | no | |
--profile , -P | string | Name of the profile where the public and private
keys for accessing Ops Manager are saved. If omitted, uses the
default profile. To learn more about creating a
profile, see Configure the MongoDB CLI. | no |
Output
If successful, the command returns the following message:
File system configuration '<configuration-ID>' deleted
Example
The following example uses the mongocli om admin backup filesystem
delete
command to deletes the configuration of the file system store
whose ID is test
. The command uses the --force
option to bypass
the confirmation prompt and the default profile to access Ops Manager.
mongocli om admin backup filesystem delete test --force
The previous command returns the following:
File system configuration 'test' deleted