use parablu;
db.CLOUD.update({},{$addToSet: {"cloudCustomisableDetails":DBRef("CLOUD_CUSTOMIZABLE_DETAILS", ObjectId("5541b64ac99cad31aff3d7a2"))}})
db.CLOUD.update({"noOfBackupUsersAllowed" :{$exists:true}},{$set:{"noOfUsersAllowed" : "clouduser"}})
db.CLOUD.update({"noOfBackupUsersAllowed" :{$exists:true}},{$set:{"noOfBackupUsersAllowed" : "users"}})
db.CLOUD.update({"noOfSyncUsersAllowed" :{$exists:true}},{$set:{"noOfSyncUsersAllowed" : "0"}})
db.CLOUD.update({"noOfMiniCloudsAllowed" :{$exists:true}},{$set:{"noOfMiniCloudsAllowed" : "25"}})

use parablu001;
db.USER.update({"userName" : "admin"},{$set:{"policyName" : "STATISTICS_COLLECTOR"}})
db.USER.updateMany({"backupEnabled" :{$exists:true}},{$set:{ "backupEnabled" : true}})

db.BACKUP_POLICY.insert({"_id" : ObjectId("5749a797e4b04fe650d0e267"),"_class" : "com.parablu.pcbd.domain.BackupPolicy","destination" : "","vssEnabled" : true, "isStatisticsCollectorEnabled" : false, "crawlLimit" : 500, "legalHoldEnabled" : false, "backupSystemFilesEnabled" : false, "fullBackupSchedule" : "", "isShareEnabled" : true, "isComplexPassword" : false, "shareExpireDateEnable" : false, "isAllowDownload" : false, "isHighSecureShareEnabled" : false, "fullBackupEnabled" : false, "fullBackupStartDate" : NumberLong(0), "policyName" : "STATISTICS_COLLECTOR", "osType" : "windows", "policyRefresh" : "2:00", "maxFileSize" : "1024", "pftEnabled" : true, "pftSize" : 5, "fileChunkableSize" : 4, "compressionEnabled" : true, "maxVersions" : 3, "userSizeAllowed" : 10, "cpuUtilization" : NumberLong(80), "memoryUtilization" : NumberLong(128), "nwFromClientToPG" : NumberLong(4), "nwFromPGToCloud" : NumberLong(4), "filterInclusionName" : "all_files", "lastModifiedTimestamp" : NumberLong("1464444823544"), "dcmEnabled" : false, "isContentIndexEnabled" : false, "isDeDuplicationEnabled" : false, "cacheUsedData" : false, "searchAlgoForPg" : "PRIORITY", "dedup" : "Disabled", "backupFolders" : [ DBRef("BACKUP_FOLDERS", ObjectId("57496b98e4b04fe650d0e1bf"))], "schedules" : [ DBRef("SCHEDULE", ObjectId("57483affe4b0c27348270c38"))], "calloutScripts" : [ ], "privacyGateways" : [ DBRef("PRIVACY_GATEWAY", ObjectId("54e178a9e4b0a58779bc34d5"))], "networkThrottlings" : [ ], "inclusionFilter" : DBRef("INCLUSION_FILTER", ObjectId("574c1f0ae4b04fe650d0e2bb")),"emailsRestriction" : { "createUser" : "admins,readonlyadmins,30", "userDeleted" : "admins,readonlyadmins,users", "userBlocked" : "admins,readonlyadmins,users", "deviceDeleted" : "admins,readonlyadmins,users", "deviceBlocked" : "admins,readonlyadmins,users", "deviceDecoupled" : "admins,readonlyadmins,users", "weeklyBkpreport" : "admins,readonlyadmins", "firstBkpCompleted" : "admins,readonlyadmins,users", "restoreInitiated" : "admins,readonlyadmins,users", "storageLimitReached" : "admins,readonlyadmins,users", "userLimitReached" : "admins,readonlyadmins,users", "deviceLimitReached" : "admins,readonlyadmins,users" }, "endpointUiPreferences" : [ "EXIT", "DECOUPLE", "SUPPORT", "INTIATE_BACKUP", "RESTORE", "STOP_BACKUP", "BACKUP_SETTINGS", "BACKUP_FILES", "REFRESH_BACKUP_POLICY", "PAUSE_BACKUP", "ABOUT", "UPDATE_AGENT" ], "excludedFolders" : [DBRef("EXCLUDED_FOLDERS", ObjectId("5c07b9858b525b0083b9e86e")),DBRef("EXCLUDED_FOLDERS", ObjectId("5c07b9858b525b0083b9e86f")),DBRef("EXCLUDED_FOLDERS", ObjectId("5c07b9858b525b0083b9e870")),DBRef("EXCLUDED_FOLDERS", ObjectId("5c07b9858b525b0083b9e871")),DBRef("EXCLUDED_FOLDERS", ObjectId("5c07b9858b525b0083b9e872")),DBRef("EXCLUDED_FOLDERS", ObjectId("5c07b9858b525b0083b9e873")),DBRef("EXCLUDED_FOLDERS", ObjectId("5c07b9858b525b0083b9e874")),DBRef("EXCLUDED_FOLDERS", ObjectId("5c07b9858b525b0083b9e875")),DBRef("EXCLUDED_FOLDERS", ObjectId("5c07b9858b525b0083b9e876")),DBRef("EXCLUDED_FOLDERS", ObjectId("5c07b9858b525b0083b9e877"))]})
