use parablumsg

db.createUser( {user:"neil",pwd: "parablu",roles: [{role:"readWrite",db:"parablumsg"}]});

db.setProfilingLevel(1, { slowms: 5000 })
db.setProfilingLevel(1)

db.tmp.insert({"id":1})

use parablu

db.CLOUD.update({},{$addToSet: {"cloudCustomisableDetails":DBRef("CLOUD_CUSTOMIZABLE_DETAILS", ObjectId("55968a0d8af4190fb7a4075c"))}})

db.CLOUD_PROPERTIES.update({},{$set:{"defaultO365PolicyName" : "STATISTICS_ODB_POLICY"}})

db.CLOUD.update({},{$set:{"noOfOdbBackupUsersAllowed" : "ODBUSER_PLACEHOLDER"}})

use parablu001

db.BACKUP_FOLDERS.insert({ "_id" : ObjectId("5d47ffffe4b0e16df84e13dc"), "_class" : "com.parablu.pcbd.domain.BackupFolders", "folderPath" : "/", "os" : "universal" })

db.ODB_BACKUP_POLICY.insert({ "_id" : ObjectId("5cfe2728e4b0fa447cd0351d"), "_class" : "com.parablu.pcbd.domain.OneDriveBackupPolicy", "destination" : "", "vssEnabled" : true, "isStatisticsCollectorEnabled" : false, "crawlLimit" : 500, "legalHoldEnabled" : false, "backupSystemFilesEnabled" : false, "fullBackupSchedule" : "", "isShareEnabled" : true, "isComplexPassword" : true, "shareExpireDateEnable" : false, "isAllowDownload" : true, "isHighSecureShareEnabled" : false, "fullBackupEnabled" : false, "fullBackupStartDate" : NumberLong(0), "canBackupHiddenFiles" : true, "isBlocked" : false, "emailsRestriction" : { "createUser" : "admins,readonlyadmins", "userDeleted" : "admins,readonlyadmins", "userBlocked" : "admins,readonlyadmins", "deviceDeleted" : "admins,readonlyadmins", "deviceBlocked" : "admins,readonlyadmins", "deviceDecoupled" : "admins,readonlyadmins", "deviceLimitReached" : "admins,readonlyadmins", "weeklyBkpreport" : "admins,readonlyadmins", "firstBkpCompleted" : "admins,readonlyadmins", "restoreInitiated" : "admins,readonlyadmins", "storageLimitReached" : "admins,readonlyadmins" }, "cpuThrottling" : 5, "menuOptions" : { "open" : true, "view" : true, "versions" : true, "share" : true, "download" : true }, "msAppBluKrypt" : "", "policyName" : "STATISTICS_ODB_POLICY", "osType" : "universal", "policyRefresh" : "4:00", "maxFileSize" : "1048576", "pftEnabled" : true, "pftSize" : 5, "fileChunkableSize" : 4, "compressionEnabled" : true, "maxVersions" : -1, "userSizeAllowed" : 102400, "cpuUtilization" : NumberLong(80), "memoryUtilization" : NumberLong(128), "nwFromClientToPG" : NumberLong(10000), "nwFromClientToPGMB" : 10000, "nwFromPGToCloud" : NumberLong(4), "filterInclusionName" : "all_files", "lastModifiedTimestamp" : NumberLong("1560160040493"), "dcmEnabled" : false, "isContentIndexEnabled" : false, "isDeDuplicationEnabled" : false, "cacheUsedData" : false, "searchAlgoForPg" : "NEAREST", "dedup" : "User", "endpointUiPreferences" : [ "EXIT", "DECOUPLE", "SUPPORT", "INTIATE_BACKUP", "RESTORE", "STOP_BACKUP", "BACKUP_SETTINGS", "BACKUP_FILES", "REFRESH_BACKUP_POLICY", "PAUSE_BACKUP", "ABOUT", "UPDATE_AGENT" ], "canUserChangePassword" : false, "canAdminChangeUserPassword" : false, "isTwoWayShareEnabled" : false, "downloadAgent" : true, "description" : "", "backupFolders" : [ DBRef("BACKUP_FOLDERS", ObjectId("5d47ffffe4b0e16df84e13dc")) ], "schedules" : [ DBRef("SCHEDULE", ObjectId("57483affe4b0c27348270c38")) ], "calloutScripts" : [ ], "privacyGateways" : [ DBRef("PRIVACY_GATEWAY", ObjectId("54e178a9e4b0a58779bc34d5")) ], "networkThrottlings" : [ ], "inclusionFilter" : DBRef("INCLUSION_FILTER", ObjectId("574c1f0ae4b04fe650d0e2bb")) })

db.JOB_CONFIG.update({},{$set:{"job.userDriveRegistryJobTrigger" : true}},{multi:true});

db.JOB_CONFIG.update({},{$set:{"job.o365tokenExpiryTrigger":true}},{multi:true})

db.USER.update({},{$set:{"onedriveBkpEnabled" : true}})

db.USER.update({},{$set:{"odbPolicyName" : "STATISTICS_ODB_POLICY"}})

use parablu001

db.JOB_CONFIG.update({},{$set:{"job.userDriveRegistryJobTrigger" : true}},{multi:true});

db.MSJOB_IP.insert({"MSJOBName":"MSJOB_VAL"})

db.JOB_CONFIG.update({},{$set:{"job.o365tokenExpiryTrigger":true}},{multi:true})

db.MS_APP_BLUKRYPT.insert({ "_id" : ObjectId("5d95ebdae6db32342ac7a40a"), "host" : "MSHOST", "port" : "MSPORT", "_class" : "com.parablu.pcbd.domain.MSAppBluKrypt" })
