Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-46366

Append the backup cursors user arguments to the metadata document

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.4, 4.3.4
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.2
    • Sprint:
      Execution Team 2020-02-24, Execution Team 2020-03-09

      Description

      Doing this will allow the Cloud Backup team to simplify the usage of backup cursors.

      > primary.getDB("admin").aggregate([{$backupCursor: {incrementalBackup: true, thisBackupName: "bar", srcBackupName: "foo"}}]);
       
       {
          "metadata" : {
              "backupId" : UUID("83f0327d-5194-4e14-b3bb-1c676450794d"),
              "dbpath" : "/data/db/job0/mongorunner/backup_cursor_format-0",
              "oplogStart" : {
                  "ts" : Timestamp(1582568119, 1),
                  "t" : NumberLong(-1)
              },
              "oplogEnd" : {
                  "ts" : Timestamp(1582568162, 1),
                  "t" : NumberLong(1)
              },
              "checkpointTimestamp" : Timestamp(1582568162, 1),
              "disableIncrementalBackup" : false,
              "incrementalBackup" : true,
              "blockSize" : 16,
              "thisBackupName" : "bar",
              "srcBackupName" : "foo"
          }
       }
       
      

        Attachments

          Activity

            People

            Assignee:
            gregory.wlodarek Gregory Wlodarek
            Reporter:
            gregory.wlodarek Gregory Wlodarek
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: