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

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


db.USER.insert({"_id" : ObjectId("54e178a9e4b0a58779bc34c4"), "_class" : "com.parablu.pcbd.domain.User", "userName" : "admin", "emailId" : "ADMIN_EMAIL", "passwdHash" : "PASSWORD_HASH", "securityRecoveryKey" : "3f8bcc0c-2fbf-43c3-8006-027ad653298a", "active" : true, "admin" : true, "firstLogin" : true, "syncEnabled" : SYNC_ENABLED, "backupEnabled" : BACKUP_ENABLED, "shareEnabled" : SHARE_ENABLED, "serverBackupEnabled" : SERVER_BACKUP_ENABLED, "createdTimestamp" : "1461161720580", "readOnlyAdmin" : false, "deleted" : false, "localUser" : true, "userNameLowerCase" : "admin", POLICY_NAME})


db.BACKUP_FOLDERS.insert({"_id" : ObjectId("57496b98e4b04fe650d0e1bf"), "_class" : "com.parablu.pcbd.domain.BackupFolders", "folderPath" : "c:\\delete\\", "os" : "windows"})

db.SCHEDULE.insert({ "_id" : ObjectId("57483affe4b0c27348270c38"), "_class" : "com.parablu.pcbd.domain.Schedule", "scheduleName" : "sch1", "time" : "9:45", "timeZone" : "IST", "dayArray" : [ 1 ] })

db.INCLUSION_FILTER.insert({ "_id" : ObjectId("574c1f0ae4b04fe650d0e2bb"), "_class" : "com.parablu.pcbd.domain.InclusionFilter", "filterName" : "all_files", "extensionName" : "all" })

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" : "NEAREST", "dedup" : "Disabled", "backupFolders" : [ DBRef("BACKUP_FOLDERS", ObjectId("57496b98e4b04fe650d0e1bf"))], "schedules" : [ DBRef("SCHEDULE", ObjectId("57483affe4b0c27348270c38"))], "calloutScripts" : [ ], "privacyGateways" : [ ], "networkThrottlings" : [ ], "inclusionFilter" :[ DBRef("INCLUSION_FILTER", ObjectId("574c1f0ae4b04fe650d0e2bb"))],"searchInclusionFilter" :[ DBRef("INCLUSION_FILTER", ObjectId("574c1f0ae4b04fe650d0e2bb"))],"emailsRestriction" : { "createUser" : "admins,readonlyadmins,users", "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"))]})

db.SYNC_POLICY.insert({"_id" : ObjectId("57eb8049e4b0e63d17795138"), "_class" : "com.parablu.pcsd.domain.SyncPolicy", "isSyncEnableAutomatic" : true, "syncInterval" : "5", "isShareEnabled" : false, "isComplexPasswordRequired" : true, "expiredDate" : false, "isPreventDownloadEnabled" : false, "isHighSecureShareEnabled" : false, "policyName" : "STATISTICS_SYNC_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("1496119650566"), "dcmEnabled" : false, "isContentIndexEnabled" : false, "isDeDuplicationEnabled" : false, "cacheUsedData" : false, "searchAlgoForPg" : "NEAREST", "dedup" : "Disabled", "privacyGateways" : [ ], "networkThrottlings" : [ ], "endpointUiPreferences" : [ "EXIT", "DECOUPLE", "SUPPORT", "INITIATE_SYNC", "SYNC_SETTINGS", "SYNC_FILES", "REFRESH_SYNC_POLICY", "SEARCH", "OPEN_SYNC_FOLDER", "ABOUT", "UPDATE_AGENT" ], "inclusionFilter" : [ DBRef("INCLUSION_FILTER", ObjectId("574c1f0ae4b04fe650d0e2bb"))],"searchInclusionFilter" : [ DBRef("INCLUSION_FILTER", ObjectId("574c1f0ae4b04fe650d0e2bb"))]})

db.SYNC_POLICY.insert({"_id" : ObjectId("57eb8049e4b0e63d17795139"), "_class" : "com.parablu.pcsd.domain.SyncPolicy", "isSyncEnableAutomatic" : true, "syncInterval" : "5", "isShareEnabled" : false, "isComplexPasswordRequired" : true, "expiredDate" : false, "isPreventDownloadEnabled" : false, "isHighSecureShareEnabled" : false, "policyName" : "STATISTICS_GUEST_SYNC_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("1496119650566"), "dcmEnabled" : false, "isContentIndexEnabled" : false, "isDeDuplicationEnabled" : false, "cacheUsedData" : false, "searchAlgoForPg" : "NEAREST", "dedup" : "Disabled", "privacyGateways" : [ DBRef("PRIVACY_GATEWAY", ObjectId("54e178a9e4b0a58779bc34d5"))], "isTwoWayShareEnabled" : true, "networkThrottlings" : [ ], "endpointUiPreferences" : [ "EXIT", "DECOUPLE", "SUPPORT", "INITIATE_SYNC", "SYNC_SETTINGS", "SYNC_FILES", "REFRESH_SYNC_POLICY", "SEARCH", "OPEN_SYNC_FOLDER", "ABOUT", "UPDATE_AGENT" ], "inclusionFilter" :[ DBRef("INCLUSION_FILTER", ObjectId("574c1f0ae4b04fe650d0e2bb"))],"searchInclusionFilter" : [ DBRef("INCLUSION_FILTER", ObjectId("574c1f0ae4b04fe650d0e2bb"))]})

db.REPORT_CONFIG.insert({"_class" : "com.parablu.pcbd.domain.ReportConfig","properties" : {"licenceExpiry" : {"days" : "0,1,2,3,4,5,6,","emailIds" : "ADMIN_EMAIL"}}})

db.REPORT_CONFIG.insert({"_class" : "com.parablu.pcbd.domain.ReportConfig","properties" : {"sendAuditHistory" : {"username" : "admin","noOfDays" : "10"}}})

db.BACKUP_POLICY.update({"isBlocked":{$exists:false}},{$set:{"isBlocked":false}},{multi:true})

db.BACKUP_POLICY.update({},{$set:{"noOfDevicesAllowed" : 1}},{multi:true})

db.SYNC_POLICY.update({"isBlocked":{$exists:false}},{$set:{"isBlocked":false}},{multi:true})


db.BACKUP_POLICY.update({},{$set:{"cpuThrottling" : 5}},{multi:true})


db.BACKUP_POLICY.update({},{$set:{"canBackupHiddenFiles" : true}},{multi:true})


db.BACKUP_POLICY.update({},{$set:{"canUserChangePassword" : false}},{multi:true})


db.BACKUP_POLICY.update({},{$set:{"canAdminChangeUserPassword" : false}},{multi:true})

db.BACKUP_POLICY.update({},{$set:{"menuOptions" : {"open" : true,"view" : true,"versions" : true,"share" : true,"download" : true}}},{multi:true})

db.BACKUP_POLICY.update({},{$addToSet:{"endpointUiPreferences":"SYSTRAYICON"}},{multi:true})

db.BACKUP_POLICY.update({},{$set : {"downloadAgent" : true}})


db.SYNC_POLICY.update({},{$set:{"noOfDaysToPurgeFile" : 0}},{multi:true})

db.SYNC_POLICY.update({},{$set:{"canUserChangePassword" : false}},{multi:true})

db.SYNC_POLICY.update({},{$set:{"canAdminChangeUserPassword" : false}},{multi:true})

db.SYNC_POLICY.update({},{$set:{"noOfDevicesAllowed" : 1}},{multi:true})

db.SYNC_POLICY.update({},{$addToSet:{"endpointUiPreferences":"SYSTRAYICON"}},{multi:true})

db.MONGO_PROPERTIES.insert({"proxyUserName" : "", "proxyPort" : "", "proxyHost" : "", "proxyPassword" : "", "backupdir" : "/parablu/backup/mongodb", "archivedir" : "/parablu/archive/mongodb_backup", "backblaze_id" : "43fee37666d9", "application_key" : "MDAwMGZmMmYxMjJjMTUzZmYzYzU2NGVlOGQxZDhmNjA0ZjAzYjQ0NDEy", "backblaze_bucket" : "CUST-Mongodbbackups", "customer_name" : "CUSTOMERNAME_PLACEHOLDER", "backblaze_backup" : "no", "encrypt_backup" : "yes"})

db.GLOBAL_EXCLUDED_FOLDERS.insert([{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/Library}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/Applications}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/System}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/Trash}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/.ParaBlu}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/system.root/Library}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/system.root/bin}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/system.root/sbin}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/system.root/System}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/system.root/Applications}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{Volumes}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/system.root/usr}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/system.root/private}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{cores}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/system.root/opt}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/system.root/etc}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{dev}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{tmp}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.trash}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{mac/system.root/var}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{win\\system.root\\Windows}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{win\\system.root\\Program Files}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{win\\system.root\\ProgramData}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{win\\system.root\\Users\\all users}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{temp}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{AppData}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{$RECYCLE.BIN}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{hiberfil.sys}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{UsrClass.dat}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{pagefile.sys}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{desktop.ini}", "osType" : "win" }])

db.GLOBAL_EXCLUDED_FOLDERS.insert([{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{NTUSER.DAT}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{thumbs.db}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{credDB.cef}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{swapfile.sys}", "osType" : "win" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.HFS+ Private Directory Data}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.journal}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.journal_info_block}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.AppleDouble}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.AppleDB}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{lost+found}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{Network Trash Folder}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.DocumentRevisions-V100}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.Spotlight-V100}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.fseventsd}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.hotfiles.btree}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.DS_Store}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.com.apple.NetBootX}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{automount}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{Network}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.vol}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{net}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{Backups.backupdb}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.MobileBackups}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.MobileBackups.trash}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.webtmp}", "osType" : "mac" },
{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{.Trashes}", "osType" : "mac" }])

db.GLOBAL_EXCLUDED_FOLDERS.insert({"folderPath" : "{user.home}\\recent", "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "osType" : "mac"})
db.GLOBAL_EXCLUDED_FOLDERS.insert({"folderPath" : "Spam", "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "osType" : "exchange"})
db.GLOBAL_EXCLUDED_FOLDERS.insert({"folderPath" : "Junk Email", "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "osType" : "exchange"})

db.EXCLUDED_FOLDERS.insert([{ "_class" : "com.parablu.pcbd.domain.GLOBAL_EXCLUDED_FOLDERS", "folderPath" : "{user.home\\recent}"}])

db.BACKUP_POLICY.updateMany({},{$set:{"lastModifiedTimestamp":NumberLong("1578643808989")}})

db.BACKUP_POLICY.updateMany({"noOfDaysToKeepDeletedFiles":{$exists:false}},{$set:{"noOfDaysToKeepDeletedFiles" : NumberLong(-1)}})

db.ODB_BACKUP_POLICY.updateMany({"noOfDaysToKeepDeletedFiles":{$exists:false}},{$set:{"noOfDaysToKeepDeletedFiles" : NumberLong(-1)}})

db.FILTER_TEMPLATE.update({"filterName" : "Office Documents"},{ "filterName":"Office Documents","extensionName":"doc,dot,docx,dotx,dotm,docb,txt,ppt,pot,pps,pptx,pptm,potm,potx,ppam,ppsx,ppsm,sldx,sldm,xlsx,xls,csv,xlsm,Keynote,key,xps,xml,xsn,GSLIDES,NB,NBP,ODP,OTP,PEZ,POT,PPS,PRZ,SDD,SHF,SHOW,SHW,SLP,SSPSS,STI,SXI,THMX,WATCH,pdf" },{upsert:true})

db.FILTER_TEMPLATE.update({"filterName" : "Access"},{ "filterName":"Access","extensionName":"ACCDB,ACCDE,ACCDT,ACCDR" },{upsert:true})

db.FILTER_TEMPLATE.update({"filterName" : "AR"},{ "filterName":"AR","extensionName":"vdx,vsx,vtx" },{upsert:true})

db.FILTER_TEMPLATE.update({"filterName" : "ART"},{ "filterName":"ART","extensionName":"3DXML,3MF,ACP,AMF,AEC,ASC,ASM,BIN,BIM,BREP,C3D,CCC,CCM,CCS,CAD,cgr,ckd,ckt,CO,DRW,DFT,DGN,DGK,DMT,DXF,DWB,DWF,DWG,EASM,EDRW,EMB,EPRT,EscSch,ESW,EXCELLON,EXP,F3D,FCStd,FM,FMZ,G,GBR,GLM,GRB,GTC,IAM,ICD,IDW,IFC,IGES,IPN,IPT,JT,MCD,model,OCD,PAR,PIPE,PLN,PRT,PSM,PSMODEL,PWI,PYT,SKP,RLF,RVM,RVT,RFA,S12,SCAD,SCDOC,SLDASM,SLDDRW,SLDPRT,dotXSI,STEP,STL,TCT,TCW,UNV,VC6,VLM,VS,WRL,X_B,X_T,XE" },{upsert:true})

db.FILTER_TEMPLATE.update({"filterName" : "Archive and Compressed"},{ "filterName":"Archive and Compressed","extensionName":"7z,AAC,ace,ALZ,APK,APPX,AT3,.bke,ARC,ARJ,ASS,B,BA,BIN,bjsn,bkf,bz2,bld,ccab,clipflair,DAA,deb,DDZ,DPE,egg,egt,ezip,ess,flipchart,GFA,gho,gif,gz,jar,Lawrence,LBR,LQR,lzh,lz,lzo,lzma,LZX,mbw,nth,OSZ,PAK,par,paf,pyk,pk3,pk4,rar,RPM,sen,SKB,SZS,TAR,tar.gz,tb,UHA,uue,VSA,xz,Z,zoo,zip,SIT,bin,DMG,CPT,SEA" },{upsert:true})

db.FILTER_TEMPLATE.update({"filterName" : "Design Automation (ECAD)"}, {"filterName":"Design Automation (ECAD)","extensionName":"BRD,BSDL,CDL,CPF,DEF,DSPF,EDIF,FSDB,GDSII,HEX,LEF,LIB,MS12,OASIS,SDC,SDF,SPEF,SPI,CIR,SREC,S19,STIL,SV,UPF,V,VCD,VHD,VHDL,WGL" },{upsert:true})

db.FILTER_TEMPLATE.update({"filterName" : "Financial Records"}, {"filterName":"Financial Records","extensionName":"MYO,MYOB,TAX,YNAB,IFX,ofx,QFX,qif,MYOB"} ,{upsert:true})

db.FILTER_TEMPLATE.update({"filterName" : "Personal Information Manager"},{ "filterName":"Personal Information Manager","extensionName":"MSG,ORG,PST,OST,SC2,eml,empltpl,olm,eml,empltpl,olm" },{upsert:true})

db.FILTER_TEMPLATE.update({"filterName" : "Page Description Language"},{ "filterName":"Page Description Language","extensionName":"DVI,EGT,PLD,PCL,PDF,ps,SNP,XPS,XSL-FO,CSS,XSLT,xsl,TPL" },{upsert:true})

db.FILTER_TEMPLATE.update({"filterName" : "Video"},{ "filterName":"Video","extensionName":"flv,f4v,f4p,f4a,f4b,3g2,3gp,mpg,m2v,mpg,mp2,mpeg,mpe,mpv,mp4,m4p,m4v,amv,wmv,mov,vi,gifv,gif,ogg,ogv,vob,mkv,Ffmpeg,XviD,x264,rm,avchd,asf,swf,WEBM,HDV,mov,mp4,m4v,MPEG-2,MPEG-1,3GPP,3GPP2,AVCHD,AVI,DV" },{upsert:true})

db.FILTER_TEMPLATE.update({"filterName" : "Audio"},{ "filterName":"Audio","extensionName":"3gp,aiff,aif,dvf,m4a,sd2,m4p,mp3,snd,asnd,wma,FLAC,raw,wav,M4A,m4b,m4p,MP3,caf,AIFF,AU,SD2,WAV,SND,AMR" },{upsert:true})

db.FILTER_TEMPLATE.update({"filterName" : "Picture"},{ "filterName":"Picture","extensionName":"JPEG,JFIF,Exif,TIFF,GIF,BMP,PNG,PPM,PGM,PBM,PNM,GIF,ICNS,JPEG,PDF,PNG,TGA,TIFF" },{upsert:true})

