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

Append the backup cursors user arguments to the metadata document

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.4, 4.3.4
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • v4.2
    • Execution Team 2020-02-24, Execution Team 2020-03-09

      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"
          }
       }
       
      

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

              Created:
              Updated:
              Resolved: