Skip to content

Commit 46faa13

Browse files
Merge pull request #28542 from rwestMSFT/rw-0926-recovery-model
[SCOPED] Recovery models are not recovery modes
2 parents c96e004 + 1589463 commit 46faa13

File tree

26 files changed

+34
-34
lines changed

26 files changed

+34
-34
lines changed

azure-sql/managed-instance/managed-instance-link-preparation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ To prepare your SQL Server instance, you need to validate that:
5252
- You're on the minimum supported version.
5353
- You've enabled the availability groups feature.
5454
- You've added the proper trace flags at startup.
55-
- Your databases are in full recovery mode and backed up.
55+
- Your databases are in the full recovery model and backed up.
5656

5757
You'll need to restart SQL Server for these changes to take effect.
5858

azure-sql/managed-instance/managed-instance-link-use-scripts-to-replicate-database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ As you run scripts from this user guide, it's important not to mistake SQL Serve
6161

6262
## Set up database recovery and backup
6363

64-
All databases that will be replicated via the link must be in full recovery mode and have at least one backup. Run the following code on SQL Server for all databases you wish to replicate. Replace `<DatabaseName>` with your actual database name.
64+
All databases that will be replicated via the link must be in the full recovery model and have at least one backup. Run the following code on SQL Server for all databases you wish to replicate. Replace `<DatabaseName>` with your actual database name.
6565

6666
```sql
6767
-- Run on SQL Server
68-
-- Set full recovery mode for all databases you want to replicate.
68+
-- Set full recovery model for all databases you want to replicate.
6969
ALTER DATABASE [<DatabaseName>] SET RECOVERY FULL
7070
GO
7171

azure-sql/managed-instance/managed-instance-link-use-ssms-to-replicate-database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ To replicate your databases to SQL Managed Instance through the link, you need t
3232

3333
### Set up database recovery and backup
3434

35-
All databases that will be replicated via the link must be in full recovery mode and have at least one full backup. Use SSMS to back up your database. Follow these steps:
35+
All databases that will be replicated via the link must be in the full recovery model and have at least one full backup. Use SSMS to back up your database. Follow these steps:
3636

3737
1. In SSMS, right-click on a database name on SQL Server
3838
1. Select Tasks, and then click on Backup Up.

azure-sql/managed-instance/transact-sql-tsql-differences-sql-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ The following database options are set or overridden and can't be changed later:
436436
- `NEW_BROKER` if the broker isn't enabled in the .bak file.
437437
- `ENABLE_BROKER` if the broker isn't enabled in the .bak file.
438438
- `AUTO_CLOSE=OFF` if a database in the .bak file has `AUTO_CLOSE=ON`.
439-
- `RECOVERY FULL` if a database in the .bak file has `SIMPLE` or `BULK_LOGGED` recovery mode.
439+
- `RECOVERY FULL` if a database in the .bak file has `SIMPLE` or `BULK_LOGGED` recovery model.
440440
- A memory-optimized filegroup is added and called XTP if it wasn't in the source .bak file.
441441
- Any existing memory-optimized filegroup is renamed to XTP.
442442
- `SINGLE_USER` and `RESTRICTED_USER` options are converted to `MULTI_USER`.

azure-sql/virtual-machines/linux/rhel-high-availability-stonith-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ The following Transact-SQL commands are used in this step. Run these commands on
914914
CREATE DATABASE [db1]; -- creates a database named db1
915915
GO
916916
917-
ALTER DATABASE [db1] SET RECOVERY FULL; -- set the database in full recovery mode
917+
ALTER DATABASE [db1] SET RECOVERY FULL; -- set the database in full recovery model
918918
GO
919919
920920
BACKUP DATABASE [db1] -- backs up the database to disk

azure-sql/virtual-machines/linux/sles-high-availability-stonith-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ The following Transact-SQL commands are used in this step. Run these commands on
10781078
CREATE DATABASE [db1]; -- creates a database named db1
10791079
GO
10801080
1081-
ALTER DATABASE [db1] SET RECOVERY FULL; -- set the database in full recovery mode
1081+
ALTER DATABASE [db1] SET RECOVERY FULL; -- set the database in full recovery model
10821082
GO
10831083
10841084
BACKUP DATABASE [db1] -- backs up the database to disk

azure-sql/virtual-machines/windows/automated-backup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The following table describes the options that can be configured for Automated B
5858

5959
| Setting | Range (Default) | Description |
6060
| --- | --- | --- |
61-
| **System Database Backups** | Enable/Disable (Disabled) | When enabled, this feature also backs up the system databases: `master`, `msdb`, and `model`. For the `msdb` and `model` databases, verify that they are in full recovery mode if you want log backups to be taken. Log backups are never taken for `master`, and no backups are taken for `tempdb`. |
61+
| **System Database Backups** | Enable/Disable (Disabled) | When enabled, this feature also backs up the system databases: `master`, `msdb`, and `model`. For the `msdb` and `model` databases, verify that they are in the full recovery model if you want log backups to be taken. Log backups are never taken for `master`, and no backups are taken for `tempdb`. |
6262
| **Backup Schedule** | Manual/Automated (Automated) | By default, the backup schedule is automatically determined based on the log growth. Manual backup schedule allows the user to specify the time window for backups. In this case, backups only take place at the specified frequency and during the specified time window of a given day. |
6363
| **Full backup frequency** | Daily/Weekly | Frequency of full backups. In both cases, full backups begin during the next scheduled time window. When weekly is selected, backups could span multiple days until all databases have successfully backed up. |
6464
| **Full backup start time** | 00:00 – 23:00 (01:00) | Start time of a given day during which full backups can take place. |

azure-sql/virtual-machines/windows/availability-group-manually-configure-tutorial-multi-subnet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ To create a database, follow these steps:
221221
1. Open **SQL Server Management Studio** and connect to the SQL Server instance.
222222
1. In **Object Explorer**, right-click **Databases** and select **New Database**.
223223
1. In **Database name**, type **MyDB1**.
224-
1. Select the **Options** page, and choose **Full** from the **Recovery model** drop-down, if it's not full by default. The database must be in full recovery mode to meet the prerequisites of participating in an availability group.
224+
1. Select the **Options** page, and choose **Full** from the **Recovery model** drop-down, if it's not full by default. The database must be in the full recovery model to meet the prerequisites of participating in an availability group.
225225
1. Select **OK** to close the **New Database** page and create your new database.
226226

227227
To back up the database, follow these steps:
@@ -274,7 +274,7 @@ To create your availability group, follow these steps.
274274

275275
:::image type="content" source="./media/availability-group-manually-configure-tutorial-multi-subnet/12-new-ag-name.png" alt-text="New availability group Wizard, Specify availability group Name":::
276276

277-
1. On the **Select Databases** page, select your database, and then select **Next**. If your database does not meet the prerequisites, make sure it's in full recovery mode, and [take a backup](#create-database):
277+
1. On the **Select Databases** page, select your database, and then select **Next**. If your database does not meet the prerequisites, make sure it's in the full recovery model, and [take a backup](#create-database):
278278

279279
:::image type="content" source="./media/availability-group-manually-configure-tutorial-multi-subnet/13-new-ag-select-database.png" alt-text="New availability group Wizard, Select Databases":::
280280

docs/big-data-cluster/deployment-high-availability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Here is an example that shows how to expose this endpoint and then add the datab
182182

183183
- Add the database to the availability group.
184184

185-
For the database to be added to the AG, it has to run in full recovery mode and a log backup has to be taken. Use the IP from the Kubernetes service created above and connect to the SQL Server instance then run the TSQL statements as shown below.
185+
For the database to be added to the AG, it has to run in the full recovery model and a log backup has to be taken. Use the IP from the Kubernetes service created above and connect to the SQL Server instance then run the T-SQL statements as shown below.
186186

187187
```sql
188188
ALTER DATABASE <databaseName> SET RECOVERY FULL;

docs/database-engine/availability-groups/windows/prereqs-restrictions-recommendations-always-on-availability.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ helpviewer_keywords:
333333
|Be a read-write database. Read-only databases cannot be added to an availability group.|[sys.databases](../../../relational-databases/system-catalog-views/sys-databases-transact-sql.md) (**is_read_only** = 0)|
334334
|Be a multi-user database.|[sys.databases](../../../relational-databases/system-catalog-views/sys-databases-transact-sql.md) (**user_access** = 0)|
335335
|Not use AUTO_CLOSE.|[sys.databases](../../../relational-databases/system-catalog-views/sys-databases-transact-sql.md) (**is_auto_close_on** = 0)|
336-
|Use the full recovery model (also known as, full recovery mode).|[sys.databases](../../../relational-databases/system-catalog-views/sys-databases-transact-sql.md) (**recovery_model** = 1)|
337-
|Possess at least one full database backup.<br /><br /> Note: After setting a database to full recovery mode, a full backup is required to initiate the full-recovery log chain.|[Create a Full Database Backup &#40;SQL Server&#41;](../../../relational-databases/backup-restore/create-a-full-database-backup-sql-server.md)|
336+
|Use the full recovery model.|[sys.databases](../../../relational-databases/system-catalog-views/sys-databases-transact-sql.md) (**recovery_model** = 1)|
337+
|Possess at least one full database backup.<br /><br /> Note: After setting a database to full recovery model, a full backup is required to initiate the full-recovery log chain.|[Create a Full Database Backup &#40;SQL Server&#41;](../../../relational-databases/backup-restore/create-a-full-database-backup-sql-server.md)|
338338
|Not belong to any existing availability group.|[sys.databases](../../../relational-databases/system-catalog-views/sys-databases-transact-sql.md) (**group_database_id** = NULL)|
339339
|Not be configured for database mirroring.|[sys.database_mirroring](../../../relational-databases/system-catalog-views/sys-database-mirroring-transact-sql.md) (If the database does not participate in mirroring, all columns prefixed with "mirroring_" are NULL.)|
340340
|Before adding a database that uses FILESTREAM to an availability group, ensure that FILESTREAM is enabled on every server instance that hosts or will host an availability replica for the availability group.|[Enable and Configure FILESTREAM](../../../relational-databases/blob/enable-and-configure-filestream.md)|

0 commit comments

Comments
 (0)