%3CLINGO-SUB%20id%3D%22lingo-sub-1554322%22%20slang%3D%22en-US%22%3EConfiguring%20backup%20storage%20redundancy%20in%20Azure%20SQL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1554322%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20title%3D%22Azure%20SQL%20automated%20backups%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-sql%2Fdatabase%2Fautomated-backups-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EDatabase%20backups%3C%2FA%3E%20are%20an%20essential%20part%20of%20any%20business%20continuity%20and%20disaster%20recovery%20strategy%2C%20because%20they%20protect%20your%20data%20from%20corruption%20or%20deletion.%20In%20Azure%20SQL%20there%20are%20two%20types%20of%20automated%20backups%20that%20customers%20can%20use%20for%20restoring%20their%20databases%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EShort-term%20backups%20used%20for%20point-in-time%20restores%20(PITR)%20or%20geo-restores%2C%20keeping%20backup%20data%20for%20up%20to%2035%20days%3C%2FLI%3E%0A%3CLI%3ELong-term%20backups%20used%20for%20configuring%20longer%20retentions%2C%20keeping%20backup%20data%20for%20up%20to%2010%20years%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ETo%20protect%20backup%20data%20from%20planned%20and%20unplanned%20events%2C%20including%20transient%20hardware%20failures%2C%20network%20or%20power%20outages%2C%20and%20massive%20natural%20disasters%2C%20backup%20storage%20is%20being%20replicated%20to%20another%20storage.%20By%20default%2C%20storage%20is%20geo-replicated%20to%20a%20%3CA%20title%3D%22Azure%20paired%20regions%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fbest-practices-availability-paired-regions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Epaired%20region%3C%2FA%3E%20using%20RA-GRS%20strategy.%3C%2FP%3E%0A%3CP%3EAs%20many%20applications%20have%20regulatory%2C%20compliance%2C%20or%20other%20business%20requirements%20for%20data%20residency%20control%2C%20geo-redundancy%20is%20not%20good%20fit%20for%20every%20customer.%20To%20overcome%20this%2C%20option%20for%20configuring%20backup%20storage%20redundancy%20has%20been%20introduced%20to%20Azure%20SQL%20Managed%20Instance%20(coming%20soon%20to%20Azure%20SQL%20DB).%20It%20allows%20customers%20to%20choose%20replication%20strategy%20for%20their%20backup%20storages%20and%20define%20if%20geo-redundancy%20(RA-GRS)%2C%20zone-redundancy%20(ZRS)%2C%20or%20local-redundancy%20(LRS)%20will%20be%20used.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1297209972%22%20id%3D%22toc-hId--1297209972%22%20id%3D%22toc-hId--1297209972%22%20id%3D%22toc-hId--1297209972%22%20id%3D%22toc-hId--1297209972%22%3EWhat%20are%20the%20differences%20in%20storage%26nbsp%3Bredundancy%3F%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBackup%20storage%20redundancy%20relies%20on%20%3CA%20title%3D%22Azure%20Storage%20redundancy%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fstorage%2Fcommon%2Fstorage-redundancy%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Storage%20redundancy%3C%2FA%3E%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ELocally%20redundant%20storage%20(LRS)%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDesign%20characteristics%3C%2FSTRONG%3E%3A%20replicates%20your%20data%20three%20times%20within%20a%20single%20physical%20location%20in%20the%20primary%20region.%20LRS%20provides%20at%20least%2099.999999999%25%20(11%209%E2%80%99s)%20durability%20of%20objects%20over%20a%20given%20year.%20LRS%20protects%20your%20data%20against%20server%20rack%20and%20drive%20failures.%20However%2C%20if%20a%20disaster%20such%20as%20fire%20or%20flooding%20occurs%20within%20the%20data%20center%2C%20all%20replicas%20of%20a%20storage%20account%20using%20LRS%20may%20be%20lost%20or%20unrecoverable.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EBest%20for%3C%2FSTRONG%3E%3A%20LRS%20keeps%20your%20data%20in%20the%20same%20region%20and%20provides%20capability%20of%20%3CEM%3E%3CU%3Edata%20residency%3C%2FU%3E%3C%2FEM%3E%20and%20helping%20you%20to%20stay%20compliant%20with%20regulatory%20requirements.%20In%20addition%2C%20LRS%20is%20the%20%3CEM%3E%3CU%3Elowest-cost%3C%2FU%3E%3C%2FEM%3E%20redundancy%20option%20(but%20offering%20the%20least%20durability%20compared%20to%20other%20options)%20which%20is%20good%20fit%20for%20dev%2Ftest%20scenarios.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EZone-redundant%20storage%20(ZRS)%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDesign%20characteristics%3C%2FSTRONG%3E%3A%20replicates%20your%20Azure%20Storage%20data%20synchronously%20across%20three%20Azure%20%3CA%20title%3D%22Azure%20availability%20zones%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Favailability-zones%2Faz-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eavailability%20zones%3C%2FA%3E%20in%20the%20primary%20region.%20Each%20availability%20zone%20is%20a%20separate%20physical%20location%20with%20independent%20power%2C%20cooling%2C%20and%20networking.%20ZRS%20offers%20durability%20for%20Azure%20Storage%20data%20objects%20of%20at%20least%2099.9999999999%25%20(12%209's)%20over%20a%20given%20year.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EBest%20for%3C%2FSTRONG%3E%3A%20ZRS%20also%20provides%20capability%20of%20%3CEM%3E%3CU%3Edata%20residency%3C%2FU%3E%3C%2FEM%3E%20but%20offers%20higher%20durability%20due%20to%20data%20replicated%20across%20availability%20zones.%20It%20is%20good%20fit%20for%20production%20scenarios%20that%20are%20cost%20sensitive.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EGeo-redundant%20storage%20(RA-GRS)%20-%20RECOMMENDED%20(DEFAULT)%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EDesign%20characteristics%3C%2FSTRONG%3E%3A%20replicates%20your%20data%20synchronously%20three%20times%20within%20a%20single%20physical%20location%20in%20the%20primary%20region%20using%20LRS.%20It%20then%20copies%20your%20data%20asynchronously%20to%20a%20single%20physical%20location%20in%20a%20%3CA%20title%3D%22Azure%20paired%20regions%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fbest-practices-availability-paired-regions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Esecondary%20region%3C%2FA%3E%20that%20is%20hundreds%20of%20miles%20away%20from%20the%20primary%20region.%20RA-GRS%20offers%20durability%20for%20Azure%20Storage%20data%20objects%20of%20at%20least%2099.99999999999999%25%20(16%209's)%20over%20a%20given%20year.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EBest%20for%3C%2FSTRONG%3E%3A%20RA-GRS%20is%20best%20disaster%20recovery%20option%20which%20gives%20highest%20durability.%20In%20addition%2C%20geo-redundant%20backup%20storage%20enables%20%3CA%20title%3D%22Azire%20SQL%20geo-restore%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fdatabase%2Frecovery-using-backups%23geo-restore%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EGeo-restore%20capability%3C%2FA%3E%20%E2%80%93%20a%20cheap%20and%20economically%20efficient%20disaster%20recovery%20option.%20This%20is%20default%20configuration%20value%20and%20if%20there%20is%20no%20need%20for%20data%20residency%20compliance%2C%20it%20is%20recommended%20to%20use%20RA-GRS%20backup%20storage%20for%20all%20production%20workloads.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EWhile%20LRS%20and%20GRS%20are%20available%20in%20all%20regions%2C%20ZRS%20is%20available%20only%20in%20%3CA%20title%3D%22Azure%20storage%20zone%20redundancy%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fstorage%2Fcommon%2Fstorage-redundancy%23zone-redundant-storage%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Especified%20regions%3C%2FA%3E.%20Detailed%20pricing%20information%20can%20be%20found%20on%20%3CA%20title%3D%22Azure%20SQL%20Managed%20Instance%20pricing%22%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fpricing%2Fdetails%2Fazure-sql%2Fsql-managed-instance%2Fsingle%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20SQL%20Managed%20Instance%20pricing%20page%3C%2FA%3E%26nbsp%3Band%20%3CA%20title%3D%22Azure%20SQL%20DB%20pricing%22%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fpricing%2Fdetails%2Fsql-database%2Fsingle%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20SQL%20DB%20pricing%20page%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1190302861%22%20id%3D%22toc-hId-1190302861%22%20id%3D%22toc-hId-1190302861%22%20id%3D%22toc-hId-1190302861%22%20id%3D%22toc-hId-1190302861%22%3EFeature%20capabilities%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBackup%20storage%20redundancy%20option%20is%20in%20Preview%20phase.%20Main%20capabilities%20are%20following%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ERedundancy%20can%20be%20configured%20using%20REST%20API%2C%20PowerShell%2C%20Azure%20CLI%2C%20ARM%20template%20or%20Azure%20Portal%3C%2FLI%3E%0A%3CLI%3EAvailable%20redundancy%20options%20are%20LRS%2C%20ZRS%20and%20RA-GRS%3C%2FLI%3E%0A%3CLI%3EWhen%20configured%20redundancy%20is%20applied%20for%20both%20PITR%20and%20LTR%20backups%3C%2FLI%3E%0A%3CLI%3EGeo-Restore%20functionality%20is%20available%20only%20for%20instances%20with%20configured%20RA-GRS%20backup%20storage%20redundancy%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EManaged%20instance%20limitations%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ERedundancy%20can%20be%20configured%20only%20during%20managed%20instance%20creation%26nbsp%3Band%20cannot%20be%20changed%20later%3C%2FLI%3E%0A%3CLI%3ERedundancy%20is%20applied%20at%20instance%20level%20and%20cannot%20be%20configured%20per%20individual%20managed%20database%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--617151602%22%20id%3D%22toc-hId--617151602%22%20id%3D%22toc-hId--617151602%22%20id%3D%22toc-hId--617151602%22%20id%3D%22toc-hId--617151602%22%3EHow%20can%20I%20configure%20backup%20storage%20redundancy%3F%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBackup%20storage%20redundancy%20can%20be%20configured%20during%20creation%20when%20request%20is%20submitted%20using%20REST%20API%2C%20PowerShell%2C%20Azure%20CLI%2C%20ARM%20template%20or%20Azure%20Portal.%20In%20%3CA%20title%3D%22Azure%20SQL%20Automated%20Backups%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fdatabase%2Fautomated-backups-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eofficial%20documentation%20page%3C%2FA%3E%2C%20you%20can%20find%20instructions%20on%20how%20to%20select%20backup%20storage%20redundancy.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1870361231%22%20id%3D%22toc-hId-1870361231%22%20id%3D%22toc-hId-1870361231%22%20id%3D%22toc-hId-1870361231%22%20id%3D%22toc-hId-1870361231%22%3EHow%20can%20I%20change%20backup%20storage%20redundancy%20for%20existing%20managed%20instances%3F%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20is%20not%20possible%20to%20update%20backup%20storage%20redundancy%20for%20existing%20instances.%20However%2C%20there%20is%20workaround%20which%20relies%20on%20process%20of%20creating%20new%20managed%20instance%20with%20different%20redundancy%20and%20moving%20your%20databases%20from%20old%20to%20the%20new%20instance.%3C%2FP%3E%0A%3CP%3ESteps%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3ECreate%20new%20managed%20instance%20and%20select%20desired%20backup%20redundancy%3C%2FLI%3E%0A%3CLI%3EUse%20cross-instance%20%3CA%20title%3D%22Azure%20SQL%20Managed%20Instance%20point%20in%20time%20restore%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fmanaged-instance%2Fpoint-in-time-restore%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Epoint-in-time%20restore%3C%2FA%3E%2C%20%3CA%20title%3D%22Azure%20SQL%20Managed%20Instance%20transactional%20replication%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fmanaged-instance%2Freplication-between-two-instances-configure-tutorial%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Etransactional%20replication%3C%2FA%3E%20or%20use%20.bacpac%20files%20to%20backup%20and%20%3CA%20title%3D%22Azure%20SQL%20Managed%20Instance%20restore%20bacpac%20file%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fmanaged-instance%2Frestore-sample-database-quickstart%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Erestore%20your%20data%20using%20SSMS%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3EDelete%20old%20managed%20instance%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1734044591%22%20id%3D%22toc-hId--1734044591%22%20id%3D%22toc-hId--1734044591%22%20id%3D%22toc-hId--1734044591%22%20id%3D%22toc-hId--1734044591%22%3EHow%20long%20are%20backups%20kept%20on%20deleted%20managed%20instance%3F%3C%2FH3%3E%0A%3CP%3EBackups%20are%20kept%20until%20retention%20period%20set%20for%20each%20database%20expires%20%2B%207%20days.%20For%20more%20details%20visit%20%3CA%20title%3D%22Backup%20storage%20consumption%20in%20Azure%20SQL%20Managed%20Instance%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sql-database%2Fbackup-storage-consumption-on-managed-instance-explained%2Fba-p%2F1390923%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3EBackup%20storage%20consumption%20on%20Managed%20Instance%20explained%3C%2FA%3E.%20If%20you%20have%20need%20for%20immediate%20removal%20of%20backup%20data%20stored%20on%20old%20instance%20before%20deleting%20it%20you%20can%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EFor%20LTR%20delete%20all%20backups%20taken%20and%20turn%20off%20LTR%20settings%20(%3CA%20title%3D%22Configure%20long%20term%20backup%20retention%20for%20Azure%20SQL%20Managed%20Instance%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fmanaged-instance%2Flong-term-backup-retention-configure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Elearn%20how-to%3C%2FA%3E)%3C%2FLI%3E%0A%3CLI%3EFor%20short-term%20backups%20reduce%20retention%20of%20active%20databases%20to%201%20day%20and%20deleted%20databases%20to%200%20days%26nbsp%3B(%3CA%20title%3D%22Configure%20short%20term%20retention%20for%20Azure%20SQL%20Managed%20Instance%22%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sql-database%2Ffine-tuning-backup-storage-costs-on-managed-instance%2Fba-p%2F1390935%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Elearn%20how-to%3C%2FA%3E)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThese%20two%20actions%20will%20ensure%20that%20all%20your%20data%20is%20removed%20from%20the%20old%20managed%20instance%20in%20up%20to%208%20days.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1554322%22%20slang%3D%22en-US%22%3E%3CP%3EChoose%20backup%20replication%20strategy%20between%20geo-redundancy%20(RA-GRS)%2C%20zone-redundancy%20(ZRS)%20or%20local-redundancy%20(LRS)%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1554322%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20SQL%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EManaged%20Instance%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1838135%22%20slang%3D%22en-US%22%3ERe%3A%20Configuring%20backup%20storage%20redundancy%20in%20Azure%20SQL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1838135%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20thanks%20a%20lot.%26nbsp%3B%20how%20can%20I%20find%20out%20the%20backup%20redundancy%20type%20after%20azure%20sql%20database%20or%20managed%20instance%20has%20been%20created.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1838167%22%20slang%3D%22en-US%22%3ERe%3A%20Configuring%20backup%20storage%20redundancy%20in%20Azure%20SQL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1838167%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F852130%22%20target%3D%22_blank%22%3E%40EricHe2020%3C%2FA%3E%26nbsp%3B%2C%20this%20value%20is%20part%20of%20the%20GET%20response%2C%20it%20can%20be%20retrieved%20via%20API%2C%20PowerShell%20or%20CLI.%20In%20Portal%2C%20this%20value%20can%20be%20checked%20under%20the%20%22Properties%22%20screen%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22UrosMilanovic_0-1604076996668.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F230458iA259C759ACC4B9A2%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22UrosMilanovic_0-1604076996668.png%22%20alt%3D%22UrosMilanovic_0-1604076996668.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1840119%22%20slang%3D%22en-US%22%3ERe%3A%20Configuring%20backup%20storage%20redundancy%20in%20Azure%20SQL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1840119%22%20slang%3D%22en-US%22%3E%3CP%3Ethanks%20so%20much%2C%20this%20is%20the%20best%20info%20about%20the%20azure%20sql%20backup.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

Database backups are an essential part of any business continuity and disaster recovery strategy, because they protect your data from corruption or deletion. In Azure SQL there are two types of automated backups that customers can use for restoring their databases:

  • Short-term backups used for point-in-time restores (PITR) or geo-restores, keeping backup data for up to 35 days
  • Long-term backups used for configuring longer retentions, keeping backup data for up to 10 years

To protect backup data from planned and unplanned events, including transient hardware failures, network or power outages, and massive natural disasters, backup storage is being replicated to another storage. By default, storage is geo-replicated to a paired region using RA-GRS strategy.

As many applications have regulatory, compliance, or other business requirements for data residency control, geo-redundancy is not good fit for every customer. To overcome this, option for configuring backup storage redundancy has been introduced to Azure SQL Managed Instance (coming soon to Azure SQL DB). It allows customers to choose replication strategy for their backup storages and define if geo-redundancy (RA-GRS), zone-redundancy (ZRS), or local-redundancy (LRS) will be used.

 

What are the differences in storage redundancy?

 

Backup storage redundancy relies on Azure Storage redundancy:

  • Locally redundant storage (LRS)
    • Design characteristics: replicates your data three times within a single physical location in the primary region. LRS provides at least 99.999999999% (11 9’s) durability of objects over a given year. LRS protects your data against server rack and drive failures. However, if a disaster such as fire or flooding occurs within the data center, all replicas of a storage account using LRS may be lost or unrecoverable.
    • Best for: LRS keeps your data in the same region and provides capability of data residency and helping you to stay compliant with regulatory requirements. In addition, LRS is the lowest-cost redundancy option (but offering the least durability compared to other options) which is good fit for dev/test scenarios.
  • Zone-redundant storage (ZRS)
    • Design characteristics: replicates your Azure Storage data synchronously across three Azure availability zones in the primary region. Each availability zone is a separate physical location with independent power, cooling, and networking. ZRS offers durability for Azure Storage data objects of at least 99.9999999999% (12 9's) over a given year.
    • Best for: ZRS also provides capability of data residency but offers higher durability due to data replicated across availability zones. It is good fit for production scenarios that are cost sensitive.
  • Geo-redundant storage (RA-GRS) - RECOMMENDED (DEFAULT)
    • Design characteristics: replicates your data synchronously three times within a single physical location in the primary region using LRS. It then copies your data asynchronously to a single physical location in a secondary region that is hundreds of miles away from the primary region. RA-GRS offers durability for Azure Storage data objects of at least 99.99999999999999% (16 9's) over a given year.
    • Best for: RA-GRS is best disaster recovery option which gives highest durability. In addition, geo-redundant backup storage enables Geo-restore capability – a cheap and economically efficient disaster recovery option. This is default configuration value and if there is no need for data residency compliance, it is recommended to use RA-GRS backup storage for all production workloads.

While LRS and GRS are available in all regions, ZRS is available only in specified regions. Detailed pricing information can be found on Azure SQL Managed Instance pricing page and Azure SQL DB pricing page.

 

Feature capabilities

 

Backup storage redundancy option is in Preview phase. Main capabilities are following:

  • Redundancy can be configured using REST API, PowerShell, Azure CLI, ARM template or Azure Portal
  • Available redundancy options are LRS, ZRS and RA-GRS
  • When configured redundancy is applied for both PITR and LTR backups
  • Geo-Restore functionality is available only for instances with configured RA-GRS backup storage redundancy

Managed instance limitations:

  • Redundancy can be configured only during managed instance creation and cannot be changed later
  • Redundancy is applied at instance level and cannot be configured per individual managed database

How can I configure backup storage redundancy?

 

Backup storage redundancy can be configured during creation when request is submitted using REST API, PowerShell, Azure CLI, ARM template or Azure Portal. In official documentation page, you can find instructions on how to select backup storage redundancy.

 

How can I change backup storage redundancy for existing managed instances?

 

It is not possible to update backup storage redundancy for existing instances. However, there is workaround which relies on process of creating new managed instance with different redundancy and moving your databases from old to the new instance.

Steps:

  1. Create new managed instance and select desired backup redundancy
  2. Use cross-instance point-in-time restore, transactional replication or use .bacpac files to backup and restore your data using SSMS
  3. Delete old managed instance

 

How long are backups kept on deleted managed instance?

Backups are kept until retention period set for each database expires + 7 days. For more details visit Backup storage consumption on Managed Instance explained. If you have need for immediate removal of backup data stored on old instance before deleting it you can:

  • For LTR delete all backups taken and turn off LTR settings (learn how-to)
  • For short-term backups reduce retention of active databases to 1 day and deleted databases to 0 days (learn how-to)

These two actions will ensure that all your data is removed from the old managed instance in up to 8 days.

 

3 Comments
Occasional Visitor

Hi, thanks a lot.  how can I find out the backup redundancy type after azure sql database or managed instance has been created. 

Microsoft

Hi @EricHe2020 , this value is part of the GET response, it can be retrieved via API, PowerShell or CLI. In Portal, this value can be checked under the "Properties" screen

UrosMilanovic_0-1604076996668.png

 

Occasional Visitor

thanks so much, this is the best info about the azure sql backup.