Instala el agente del servicio de copias de seguridad y recuperación ante desastres en los hosts de la base de datos.
Asegúrate de que los permisos de la base de datos estén configurados correctamente.
Consideraciones sobre la detección de bases de datos SQL
Los dispositivos de copia de seguridad y recuperación admiten Microsoft SQL Server en Microsoft Windows Server.
El descubrimiento se basa en el escritor VSS de SQL. Para que la detección funcione correctamente, el escritor de VSS de SQL debe estar instalado y en ejecución en el host.
Los dispositivos pueden gestionar servidores Microsoft SQL, instancias SQL, grupos de coherencia de bases de datos SQL Server y grupos de disponibilidad SQL.
En el caso de un dispositivo de conmutación por error de SQL, la detección debe ejecutarse en el nodo activo, la IP del nodo, el nodo del dispositivo o la IP del dispositivo. De lo contrario, no se detectarán las bases de datos agrupadas.
Añadir el host
Añade el host a la consola de gestión. Si ya se ha añadido el host, edítalo y asegúrate de que todas las configuraciones sean correctas.
Haz clic en Gestionar>Hosts y, a continuación, en + Añadir host.
En la página Añadir host, haz lo siguiente:
Nombre: indica el nombre del servidor de la base de datos.
Dirección IP: proporcione la IP del servidor de la base de datos y haga clic en el signo más (+).
Electrodomésticos: marca la casilla del electrodoméstico.
Tipo de host: asegúrate de que sea Genérico.
En la parte inferior derecha, haz clic en Añadir para añadir el host. Se añade el anfitrión.
Haz clic con el botón derecho en el host y selecciona Editar.
En Formato de disco de almacenamiento provisional, deja el valor Bloque.
Introduce el nombre de usuario y la contraseña que hayas configurado en Credenciales de detección de aplicaciones.
Selecciona Guardar.
Descubrir instancias y bases de datos de SQL Server
Sigue estas instrucciones para detectar instancias y bases de datos de SQL Server:
Haz clic en Gestor de aplicaciones>Aplicaciones y selecciona Añadir aplicación.
Selecciona SQL Server en la página Añadir aplicación y, a continuación, selecciona el host de la base de datos SQL Server. Si tiene muchos hosts, puede usar la función de búsqueda o el filtro para ver solo los hosts gestionados por un dispositivo de copia de seguridad o recuperación específico.
Selecciona el host y haz clic en Siguiente.
De esta forma, se ejecuta la detección en el host de SQL Server y se detectan todas las instancias y bases de datos de SQL Server que se ejecutan en él.
Buscar las instancias y bases de datos detectadas en el Gestor de aplicaciones
Para encontrar la base de datos recién descubierta, ve a la lista Aplicaciones del Gestor de aplicaciones. Se muestran todas las aplicaciones conocidas por la consola de gestión de todos los tipos.
Usa el filtro de aplicaciones Tipo para mostrar solo las instancias de bases de datos de SQL Server. Las nuevas instancias y bases de datos de SQL Server aparecen en la lista como no gestionadas (icono de escudo).
Guía para administradores de bases de datos de Microsoft SQL Server sobre copias de seguridad y recuperación tras fallos
Esta página forma parte de una serie de páginas específicas sobre la protección y recuperación de bases de datos de Microsoft SQL Server con Backup and DR.
Puede consultar más información en los siguientes enlaces:
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Es difícil de entender","hardToUnderstand","thumb-down"],["La información o el código de muestra no son correctos","incorrectInformationOrSampleCode","thumb-down"],["Me faltan las muestras o la información que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-08-21 (UTC)."],[[["\u003cp\u003eBefore protecting SQL Server databases, ensure your network configuration and firewall ports are reviewed, install the Backup and DR Service agent on database hosts, and verify database permissions.\u003c/p\u003e\n"],["\u003cp\u003eSQL Server discovery requires the SQL VSS writer to be installed and running, and it can manage SQL Servers, instances, consistency groups, and availability groups.\u003c/p\u003e\n"],["\u003cp\u003eTo add a host, navigate to Manage > Hosts, click "+ Add Host," provide the database server details, select the appliance, set the host type to Generic, and then edit the host to configure the Staging Disk Format and application discovery credentials.\u003c/p\u003e\n"],["\u003cp\u003eDiscover SQL Server instances and databases by selecting SQL Server in the App Manager, choosing the relevant host, which will then discover all SQL instances and databases.\u003c/p\u003e\n"],["\u003cp\u003eNewly discovered SQL Server instances and databases will be listed as unmanaged in the App Manager Applications list, and can be filtered by the Type filter.\u003c/p\u003e\n"]]],[],null,["# Add a SQL Server database host and discover the database\n\nBefore you can protect SQL Server databases, complete the following:\n\n- Review your network configuration, including firewall ports. Pay close\n attention to our notes on how to [SQL database discovery considerations](#discover).\n\n- Install the Backup and DR Service agent on the database hosts.\n\n- Make sure the database permissions are set correctly.\n\nSQL database discovery considerations\n-------------------------------------\n\n- backup/recovery appliances support Microsoft SQL Server on Microsoft Windows\n server.\n\n- Discovery relies on SQL VSS writer. For the discovery to work correctly, SQL\n VSS writer must be installed and running on the host.\n\n- Appliances can manage Microsoft SQL Servers, SQL instances,\n consistency groups of SQL Server databases, and SQL availability groups.\n\n- For a SQL failover appliance, the discovery needs to be run on\n either the active node---or node IP---or appliance node---or\n appliance IP. Otherwise, clustered databases aren't discovered.\n\nAdd the host\n------------\n\nAdd the host to the management console. If the host has already been added, then\nedit the host and make sure to set all the configurations correctly.\n| **Note:** If you have added the Windows server to Backup and DR Service as a Compute Engine instance or as a VMware VM, then a host for this VM already exists and you don't need to add it again using the following procedure. Instead, find and edit that host.\n\n1. Click **Manage** \\\u003e **Hosts** , then click **+ Add Host**.\n\n2. On the **Add Host** page, complete the following:\n\n - **Name**: Provide the database server name.\n\n - **IP Address** : Provide the database server IP and click the\n **plus sign (+)**.\n\n - **Appliances**: Select the checkbox for the appliance.\n\n - **Host Type** : Make sure this is **Generic**.\n\n3. Click **Add** at bottom right to add the host. The host is added.\n\n4. Right-click the host and select **Edit**.\n\n5. Leave the **Staging Disk Format** as **Block**.\n\n6. Enter the username and password that you set up in\n **Application Discovery Credentials**.\n\n7. Select **Save**.\n\nDiscover SQL Server instances and databases\n-------------------------------------------\n\nUse the following instructions to discover SQL Server instances and databases:\n\n1. Click **App Manager** \\\u003e **Applications** , select\n **Add Application**.\n\n2. Select **SQL Server** on the **Add Application** page, then select the\n SQL Server database host. If you have many hosts, you can use the\n search feature or use the filter to see only hosts that are managed by\n a specific backup/recovery appliance.\n\n | **Note:** When adding SQL instances that participate in Microsoft Server Failover Clusters, either: \n | Run the wizard once for each node in the cluster, or else \n | Add all applications and multi-select all nodes at once. With this method, apply protection from the **Applications Listing** view by selecting **Manage Backup Plan** for the SQL instance.\n3. Select the host and click **Next**.\n This runs the discovery on the SQL Server host and discovers all SQL Server\n instances and databases running on it.\n\n | **Note:** Discovery on any one node adds other nodes of cluster as well. \n | To discover system DBs, run discovery on each node. System DBs can be protected as part of a SQL instance. \n | Availability Group databases can be protected as part of a SQL AG application. \n | You can take a backup image of a secondary by specifying the AG backup preference from application advanced settings. \n | Log truncation on the primary is managed by SQL Server, even when backing up db or logs on a secondary.\n\nFind the discovered instances and databases in the App Manager\n--------------------------------------------------------------\n\nTo find the newly-discovered database, go to the **App Manager Applications**\nlist. All applications known to the management console of all types are listed.\nUse the **Type** application filter to show only SQL Server\ndatabase instances. The new SQL Server instances and databases appear in the\nlist as unmanaged---the shield icon.\n\nThe Backup and DR Microsoft SQL Server DBA guide\n------------------------------------------------\n\nThis page is one in a series of pages specific to protecting and recovering\nMicrosoft SQL Server databases with Backup and DR.\nYou can find additional information at:\n\n- [Backup and DR for Microsoft SQL Server Databases](/backup-disaster-recovery/docs/concepts/backupdr-for-sql-server)\n- [Prepare SQL Server databases for Backup and DR Service](/backup-disaster-recovery/docs/configuration/prepare-sql-server)\n- [Add a SQL Server database host and discover databases](/backup-disaster-recovery/docs/configuration/discover-sql-server)\n- [Configure backup plans for Microsoft SQL Server instances and databases](/backup-disaster-recovery/docs/backup/back-up-sql-server)\n- [Application details and settings for Microsoft SQL Server instances and databases](/backup-disaster-recovery/docs/backup/app-details-settings-sql-server)\n- [Mount a SQL Server database](/backup-disaster-recovery/docs/access-data/mount-sql-server)\n- [Mount databases into SQL Always On Availability Groups](/backup-disaster-recovery/docs/access-data/mount-sql-server-aag)\n- [Manage an active mount](/backup-disaster-recovery/docs/access-data/manage-active-mounts)\n- [Migrate a SQL Server database](/backup-disaster-recovery/docs/access-data/mount-and-migrate-sql-server-2)\n- [Clone SQL Server databases](/backup-disaster-recovery/docs/access-data/clone-sql-server)\n- [Recover SQL Server backups](/backup-disaster-recovery/docs/restore-data/restore-sql-server)\n\nWhat's Next\n-----------\n\n[Configure backup plans for Microsoft SQL Server instances and databases](/backup-disaster-recovery/docs/backup/back-up-sql-server)"]]