Skip to main content
Direct intervention to data in production environments is never recommended. Before any operation or change to be made in production environments, the relevant steps must be tested in the test environment and a current backup of the system must be taken.

Connecting to MongoDB

For All Operations After Connection

You should switch to the correct database and work here:

General Commands

Searching Which Variable is Used in Which Methods of Which API Proxies

Before running the function, you must switch to the correct database with the use apinizerdb command.

Update

Delete

Replicaset Operations

Backup and Restore

Bulk database backups can be compressed with gzip, in this case you can create a proper archive using the command below and run the above command again.

Logs

Recreating API Proxy in Apinizer and Accessing Elasticsearch Logs

These commands are used to access Elasticsearch logs through the same API Proxy when an API Proxy is deleted and recreated or when export/import operations are performed.