You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/sql-database/sql-database-managed-instance-timezone.md
+3-21Lines changed: 3 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.topic: conceptual
9
9
author: MladjoA
10
10
ms.author: mlandzic
11
11
ms.reviewer:
12
-
ms.date: 08/14/2019
12
+
ms.date: 09/03/2019
13
13
---
14
14
# Time zones in Azure SQL Database Managed Instance
15
15
@@ -77,38 +77,20 @@ You can restore a backup file or import data to a managed instance from an insta
77
77
78
78
### Point-in-time restore
79
79
80
-
<del>When you perform a point-in-time restore, the time to restore to is interpreted as UTC time. This way any ambiguities due to daylight saving time and its potential changes are avoided.<del>
81
-
82
-
>[!WARNING]
83
-
> Current behavior is not in line with the statement above, and time to restore to is interpreted as per the time zone of the source managed instance where automatic database backups are taken from. We are working on correcting this behavior to interpret given point in time as UTC time.
80
+
When you perform a point-in-time restore, the time to restore to is interpreted as UTC time. This way any ambiguities due to daylight saving time and its potential changes are avoided.
84
81
85
82
### Auto-failover groups
86
83
87
84
Using the same time zone across a primary and secondary instance in a failover group isn't enforced, but we strongly recommend it.
88
85
89
86
>[!WARNING]
90
-
> We strongly recommend that you use the same time zone for the primary and secondary instance in a failover group. Because of some rare scenarios, keeping the same time zone across primary and secondary instances isn't enforced. It's important to understand that in the case of manual or automatic failover, the secondary instance will retain its original time zone.
87
+
> We strongly recommend that you use the same time zone for the primary and secondary instance in a failover group. Because of certain rare use cases keeping the same time zone across primary and secondary instances isn't enforced. It's important to understand that in the case of manual or automatic failover, the secondary instance will retain its original time zone.
91
88
92
89
## Limitations
93
90
94
91
- The time zone of the existing managed instance can't be changed.
95
92
- External processes launched from the SQL Server Agent jobs don't observe the time zone of the instance.
96
93
97
-
## Known issues
98
-
99
-
When point-in-time restore (PITR) operation is performed, the time to restore to is interpreted as per time zone set on the managed instance where automatic database backups are taken from, even though portal page for PITR suggests that the time is interpreted as UTC.
100
-
101
-
Example:
102
-
103
-
Say that instance where automatic backups are taken from has Eastern Standard Time (UTC-5) time zone set.
104
-
Portal page for point-in-time restore suggests that the time you are choosing to restore to is UTC time:
105
-
106
-

107
-
108
-
However, the time to restore to is actually interpreted as Eastern Standard Time, and in this specific example database will be restored to the state at 9 AM Eastern Standard Time, and not UTC time.
109
-
110
-
If you want to do point-in-time restore to a specific point in UTC time, first calculate equivalent time in the time zone of the source instance and use that time in the portal or PowerShell/CLI script.
0 commit comments