Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-3743

Tutorial on how to pull a restore using scp

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Cloud Manager
    • None

    Description

      Here is the tutorial to add:

       
      stepnum: 1
      source:
        file: steps-steps-restore-snapshot-download.yaml
        ref: backups-tab
      ---
      stepnum: 2
      source:
        file: steps-steps-restore-snapshot-download.yaml
        ref: click-resource
      ---
      stepnum: 3
      source:
        file: steps-steps-restore-snapshot-download.yaml
        ref: select-snapshot
      ---
      stepnum: 4
      title: Select SCP as the delivery method for the snapshot.
      content: |
        In the :guilabel:`Select Restore Destination` screen's
        :guilabel:`Delivery Method` field, select :guilabel:`Pull via Secure
        HTTP (HTTPS)` to create a one-time download link.
       
        - :guilabel:`Push via Secure Copy (SCP)` to download the backup to your server via SCP.
      ---
      title: Enter SCP information.
      stepnum: 5
      ref: enter-info
      content: |
        Enter the following:
       
        :guilabel:`Format`: Select the file format. The :guilabel:`Individual DB
        Files` option copies the data files directly to the target directory.
        This option is faster but requires additional file space on the
        destination server. The :guilabel:`Archive (tar.gz)` option downloads
        the data files as a ``tar.gz`` file that you must extract before
        reconstructing databases. For a replica set, you receive a single
        ``.tar.gz`` file. For a sharded cluster, you receive a series of
        ``.tar.gz`` files.
       
        :guilabel:`SCP Host`: Your server.
       
        :guilabel:`SCP Port`: SCP runs over port 22 by default.
       
        :guilabel:`SCP User`: A username for your server.
       
        :guilabel:`Auth Method`: Select either password or SSH as the
        authentication method.
       
        :guilabel:`Password`: If using a password for authentication, enter the
        password. To test the authentication, click :guilabel:`Test`.
       
        :guilabel:`Target Directory`: The server location to which to download the snapshot.
      ---
      stepnum: 6
      source:
        file: steps-steps-restore-snapshot-download.yaml
        ref: finalize
      post: |
        MMS pushes the snapshot to the location you specified.
      ...
       

      Additional information:

      You can retrieve the snapshot via a link or by having MMS copy to your server via SCP. If you choose SCP, you must grant MMS access to the server, either by providing a username and password or by providing a username with an SSH public key.

      To grant access via SSH public key, see :doc:`/tutorial/restore-select-delivery-format`.

      Attachments

        Activity

          People

            allison.moore@mongodb.com Allison Reinheimer Moore
            bgrabar Bob Grabar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 31 weeks, 6 days ago