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
The Azure extension for [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] can perform backups automatically for the system and user databases that are part of the instance of [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] enabled by Azure Arc.
16
+
The Azure extension for [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] can perform backups automatically for the system and user databases of the instance of [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] enabled by Azure Arc.
17
17
18
18
This article explains how you can:
19
19
@@ -22,21 +22,21 @@ This article explains how you can:
Backup files are stored in the default backup location.
25
+
Backup files are stored in the default backup location of the SQL instance.
26
26
27
27
You can enable automated backups through Azure portal or via `az` CLI.
28
28
29
-
To enable automated backups, set the retention days.
29
+
To enable automated backups, set the retention days to a non-zero vlaue.
30
30
31
31
### Supported license types
32
32
33
-
Automated backups are only supported for license types of PAID or PAYG.
33
+
Automated backups are only available for licenses with Software Assurance, SQL subscription, or pay-as-you-go. For details, see [Feature availability depending on license type](overview.md#feature-availability-depending-on-license-type).
34
34
35
35
## Backup frequency and retention days
36
36
37
37
You can configure two properties for automated backups:
38
38
39
-
-**retention days** - number of days to retain the backup files. Use a number between 1 and 35.
39
+
-**retention days** - number of days to retain the backup files. Use a number between 1 and 35. If the backup retention day is set to 0, automated backup is disabled and no backups are taken, even though backup policy is retained.
40
40
-**backup schedule** - the schedule at which the full, differential, and transaction log backups should be performed. Depends on backup type:
41
41
- Full backups: Daily or weekly
42
42
- Differential backups: Every 12 hours or every 24 hours
@@ -53,7 +53,7 @@ You can also run backups on a **default** schedule:
53
53
You can schedule backups at
54
54
55
55
- Instance level
56
-
- Database level
56
+
- Database level (available from extension version 1.1.2594.118 or later)
57
57
58
58
If both database and instance level backup schedule is set, database level schedule takes precedence over the instance level backup schedule. If you delete the database level backup schedule, the instance level backup schedule applies.
59
59
@@ -293,16 +293,16 @@ When the built-in automated backups are enabled on an instance of [!INCLUDE [ssn
293
293
- If both database and instance level backup schedules are set, database level takes precedence over the instance level backup schedule. Deleting the database level backup schedule reverts back to instance level backup schedule, if there's any.
294
294
- The value for `--name` should be the name of the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] enabled by Azure Arc, which is usually in the `[Servername_SQLservername]` format.
295
295
- The value for `--retention-days` can be from 0-35.
296
-
- A value of `0` for `--retention-days` indicates to not perform automated backups for the instance.
297
-
- The backup files are written to the default backup location as configured at the instance level.
296
+
- A value of `0` for `--retention-days` indicates to not perform automated backups for the instance or the database.
297
+
- The backup files are written to the default backup location as configured at the SQL Server instance level.
298
298
- If there are multiple [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instances on the same host where the Azure extension for [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] is installed, you need to configure automated backups separately for each instance.
299
299
- If you change the `--retention-days` after the `--backups-policy` is already configured, any change takes effect going forward and isn't retroactively applied.
300
300
301
301
## Limitations
302
302
303
+
- The user databases need to be in full recovery model for the backups to be performed. Databases that aren't in full recovery model aren't automatically backed up.
303
304
- Automated backups are currently not supported for Always On failover cluster instances (FCI).
304
305
- Automated backups aren't supported on any instance that hosts an availability group (AG) replica.
305
-
- The user databases need to be in full recovery model for the backups to be performed. Databases that aren't in full recovery model aren't automatically backed up.
306
306
- Automated backups are only available for licenses with Software Assurance, SQL subscription, or pay-as-you-go. For details, see [Feature availability depending on license type](overview.md#feature-availability-depending-on-license-type).
0 commit comments