[SERVER-46366] Append the backup cursors user arguments to the metadata document Created: 24/Feb/20  Updated: 29/Oct/23  Resolved: 25/Feb/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.2.4, 4.3.4

Type: Improvement Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Execution Team 2020-02-24, Execution Team 2020-03-09
Participants:

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



 Comments   
Comment by Githook User [ 25/Feb/20 ]

Author:

{'username': 'GWlodarek', 'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com'}

Message: SERVER-46366 Append the backup cursors user arguments to the metadata document

(cherry picked from commit 6bdc216f37eb5bb0ad4589a5d8b9acb5b5549d04)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/dd19df808e5adfc8a9346b1af126a9aa0af3c1c5

Comment by Githook User [ 25/Feb/20 ]

Author:

{'username': 'GWlodarek', 'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com'}

Message: SERVER-46366 Append the backup cursors user arguments to the metadata document
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/6bdc216f37eb5bb0ad4589a5d8b9acb5b5549d04

Generated at Thu Feb 08 05:11:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.