.. _mongocli-ops-manager-diagnoseArchives-download:

==============================================
mongocli ops-manager diagnoseArchives download
==============================================

.. default-domain:: mongodb

.. contents:: On this page
   :local:
   :backlinks: none
   :depth: 1
   :class: singlecol

Download diagnose archives.

Syntax
------

.. code-block::
   :caption: Command Syntax

   mongocli ops-manager diagnoseArchives download [options]

.. Code end marker, please don't delete this comment

Options
-------

.. list-table::
   :header-rows: 1
   :widths: 20 10 10 60

   * - Name
     - Type
     - Required
     - Description
   * - -h, --help
     - 
     - false
     - help for download
   * - --limit
     - int
     - false
     - Max number of entries for the diagnose archive.
   * - --minutes
     - int
     - false
     - Beginning of the period, in UNIX Epoch format, from which to start retrieving the diagnose archive. Ops Manager takes out minutes from the current time.
   * - --out
     - string
     - false
     - Optional output file name. This value defaults to diagnose-archive.tar.gz. This value defaults to "diagnose-archive.tar.gz".
   * - --projectId
     - string
     - false
     - Hexadecimal string that identifies the project to use. This option overrides the settings in the configuration file or environment variable.

Inherited Options
-----------------

.. list-table::
   :header-rows: 1
   :widths: 20 10 10 60

   * - Name
     - Type
     - Required
     - Description
   * - -P, --profile
     - string
     - false
     - Name of the profile to use from your configuration file. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file.

