Skip to content

Conversation

@andreaangiolillo
Copy link
Collaborator

@andreaangiolillo andreaangiolillo commented Dec 18, 2024

Proposed changes

Jira ticket: CLOUDP-285952

Flex Cluster
./bin/atlas backup restore list ClusterFlex -P prod                                                                                       
ID                         SNAPSHOT                   CLUSTER       TYPE      EXPIRES AT
676199f379377141139ad79c   6760158f52708c22437edb7a   ClusterFlex   RESTORE   2024-12-17 21:34:11 +0000 UTC
./bin/atlas backup restore list ClusterFlex -P prod -o json                                                                               
{
  "links": [
    {
      "href": "https://cloud.mongodb.com/api/atlas/v2/groups/663268874ddd3b236fd2f107/flexClusters/ClusterFlex/backup/restoreJobs?includeCount=true\u0026pageNum=1\u0026itemsPerPage=100",
      "rel": "self"
    }
  ],
  "results": [
    {
      "deliveryType": "RESTORE",
      "expirationDate": "2024-12-17T21:34:11Z",
      "id": "676199f379377141139ad79c",
      "instanceName": "ClusterFlex",
      "projectId": "663268874ddd3b236fd2f107",
      "restoreFinishedDate": "2024-12-17T15:35:01Z",
      "restoreScheduledDate": "2024-12-17T15:34:11Z",
      "snapshotFinishedDate": "2024-12-16T11:58:50Z",
      "snapshotId": "6760158f52708c22437edb7a",
      "status": "COMPLETED",
      "targetDeploymentItemName": "ClusterFlex",
      "targetProjectId": "663268874ddd3b236fd2f107"
    }
  ],
  "totalCount": 1
}
Dedidcated Clusters
./bin/atlas backup restore list ClusterFlex1 -P prod                                                                                    
ID                         SNAPSHOT                   CLUSTER        TYPE          EXPIRES AT
6762b574ac7a500609061084   676145dc6af0b746ef72aaec   ClusterDedicated   pointInTime   <nil>
./bin/atlas backup restore list ClusterFlex1 -P prod -o json                                                                          
{
  "links": [
    {
      "href": "https://cloud.mongodb.com/api/atlas/v2/groups/663268874ddd3b236fd2f107/clusters/ClusterFlex1/backup/restoreJobs?includeCount=true\u0026pageNum=1\u0026itemsPerPage=100",
      "rel": "self"
    }
  ],
  "results": [
    {
      "cancelled": false,
      "deliveryType": "pointInTime",
      "deliveryUrl": [],
      "desiredTimestamp": {
        "date": "2024-12-17T12:00:00Z",
        "increment": 0
      },
      "expired": false,
      "failed": false,
      "finishedAt": "2024-12-18T11:57:40Z",
      "id": "6762b574ac7a500609061084",
      "links": [
        {
          "href": "https://cloud.mongodb.com/api/atlas/v2/groups/663268874ddd3b236fd2f107/clusters/ClusterFlex1/backup/restoreJobs/6762b574ac7a500609061084",
          "rel": "self"
        },
        {
          "href": "https://cloud.mongodb.com/api/atlas/v2/groups/663268874ddd3b236fd2f107/clusters/ClusterFlex1/backup/snapshots/676145dc6af0b746ef72aaec",
          "rel": "https://cloud.mongodb.com/snapshot"
        },
        {
          "href": "https://cloud.mongodb.com/api/atlas/v2/groups/663268874ddd3b236fd2f107/clusters/ClusterFlex1",
          "rel": "https://cloud.mongodb.com/cluster"
        },
        {
          "href": "https://cloud.mongodb.com/api/atlas/v2/groups/663268874ddd3b236fd2f107",
          "rel": "https://cloud.mongodb.com/group"
        }
      ],
      "snapshotId": "676145dc6af0b746ef72aaec",
      "targetClusterName": "ClusterDedicated",
      "targetGroupId": "663268874ddd3b236fd2f107",
      "timestamp": "2024-12-17T09:37:50Z"
    }
  ],
  "totalCount": 1
}

@andreaangiolillo andreaangiolillo marked this pull request as ready for review December 18, 2024 12:15
@andreaangiolillo andreaangiolillo requested a review from a team as a code owner December 18, 2024 12:15
@apix-bot
Copy link
Contributor

apix-bot bot commented Dec 18, 2024

Coverage Report 📈

Branch Commit Coverage
CLOUDP-287238_flex_cluster_feature_branch 7db2572 38.5%
CLOUDP-285952 ca25919 38.6%
Difference .1%

@andreaangiolillo andreaangiolillo merged commit 4c6b485 into CLOUDP-287238_flex_cluster_feature_branch Dec 18, 2024
20 checks passed
@andreaangiolillo andreaangiolillo deleted the CLOUDP-285952 branch December 18, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants