Docs Menu

Storage Configuration Commands

On this page

  • storageGetConfig
  • storageSetConfig
  • storageGenerateConfig
  • storageValidateConfig

The storageGetConfig command returns the current federated database instance configuration.

db.runCommand( { "storageGetConfig" : 1 } )

To learn more about this command, see Retrieve Federated Database Instance Configuration.

The storageSetConfig command replaces the current federated database instance configuration with a JSON document.

db.runCommand( { "storageSetConfig" : <config> } )

To learn more about this command, see Set or Update Federated Database Instance Configuration.

The storageGenerateConfig command generates a configuration for your federated database instance in JSON format.

db.runCommand( { "storageGenerateConfig" : 1 } )

To learn more about this command, see Generate Federated Database Instance Configuration.

The storageValidateConfig command validates the given federated database instance configuration.

db.runCommand( { "storageValidateConfig" : <config> } )

To learn more about this command, see Validate Federated Database Instance Configuration.

←  Role Management CommandsSupported Aggregation Pipeline Stages and Operators →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.