Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Cómo restablecer una base de datos de PostgreSQL desde una imagen de copia de seguridad a nivel del volumen a la fuente
En este procedimiento, se usa la recuperación física del área de datos de origen. Para volver a la fuente, sigue estas instrucciones:
En la lista App Manager Applications, haz clic con el botón derecho en la base de datos protegida y selecciona Access. Usa el filtro de estado Plan de copia de seguridad administrado para mostrar solo las bases de datos protegidas.
Selecciona una imagen de instantánea y haz clic en Restablecer.
En la página Restablecer, selecciona Restablecer a la fuente.
Target. No se puede acceder a este contenido cuando se restablece en la fuente.
Ingresa una Etiqueta descriptiva para usar en este trabajo (opcional).
Opciones de la aplicación
Si la aplicación de origen está protegida por una política de instantáneas que habilitó las copias de seguridad de registros de la base de datos y los registros están disponibles con la imagen, puedes usarlos para actualizar a un momento específico. Para ello, cambia estas opciones en la sección Roll Forward Time:
El campo de fecha contiene todas las fechas posibles a las que se puede actualizar la base de datos a través de la aplicación de registros de transacciones de la base de datos. Selecciona la fecha a la que deseas que se actualice la base de datos.
El campo de hora contiene un control deslizante que muestra todas las horas posibles en la fecha seleccionada a las que se puede transferir la base de datos. Si seleccionas la fecha más reciente posible y, luego, mueves el control deslizante a la posición más a la derecha, la tarea de restablecimiento se aplicará a todos los registros disponibles. Si seleccionas la fecha más antigua posible y mueves el control deslizante a la posición más a la izquierda, la tarea de restablecimiento no aplicará registros.
Puedes especificar que se actualice con User Time o Host Time.
La hora del usuario se relaciona con la hora local del usuario actual.
El tiempo de host es relativo al sistema que aloja los datos que se restablecerán.
Puerto del servidor de destino de PostgreSQL. Ingresa el número de puerto de la instancia de PostgreSQL de destino para el restablecimiento.
Nombre de usuario del SO de destino de PostgreSQL. Ingresa el nombre del usuario del sistema operativo en el servidor de destino en el que se restaurará la instancia de PostgreSQL.
Directorio principal del servidor de destino de PostgreSQL. Ingresa la ruta de acceso del directorio de inicio binario instalado de PostgreSQL en el servidor de destino.
Directorio de datos del servidor de destino de PostgreSQL. Ingresa la ruta de acceso al directorio de datos en el que se almacenan los archivos de datos de la base de datos de PostgreSQL en el servidor de destino, por ejemplo, /pgdata_lvm/pgdata.
Opciones avanzadas
POSTGRESQL TARGET DB USER NAME y POSTGRESQL TARGET DB PASSWORD.
(Opcional) Ingresa credenciales nuevas para la instancia de PostgreSQL de destino que se creará. Si no especificas nada, se usa el nombre de usuario de la base de datos predeterminada (postgres) sin contraseña. De forma predeterminada, no se requiere una contraseña para acceder desde el sistema local.
Haz clic en Verificación previa al vuelo.
Si la verificación previa falla, corrige el problema y vuelve a enviarla.
Si la verificación previa al vuelo se realiza correctamente, haz clic en Enviar para enviar el trabajo de restablecimiento.
Restablece una base de datos de PostgreSQL desde una imagen de copia de seguridad a nivel del volumen a un destino nuevo
En la lista App Manager Applications, haz clic con el botón derecho en la base de datos protegida y selecciona Access. Usa el filtro de estado Plan de copia de seguridad administrado para mostrar solo las bases de datos protegidas.
Selecciona una imagen de instantánea y haz clic en Restablecer.
En la página Restablecer, selecciona Restablecer en un objetivo nuevo.
Para todas las configuraciones, los nodos de PostgreSQL aptos estarán disponibles para elegir en la lista desplegable Destino. Selecciona el nodo para el nuevo objetivo.
Ingresa una Etiqueta descriptiva para usar en este trabajo (opcional).
Reemplaza la identidad de la aplicación original. Esta opción solo está disponible cuando el destino de restablecimiento es un host nuevo en el mismo dispositivo de copia de seguridad o recuperación en el que se generó la copia de seguridad originalmente.
Sí Esto reemplaza la aplicación original y tiene el mismo ID de aplicación, historial de trabajos, imágenes de copia de seguridad y plan de copia de seguridad que la aplicación original.
No. Esto no reemplaza la solicitud original. Crea una aplicación nueva que se descubre, pero aún no se protege.
Si los registros están disponibles, también lo estará el tiempo de actualización. Elige una fecha y una hora para que los registros más recientes se apliquen a la base de datos recuperada.
Bases de datos incluidas: Se prepropaga con la lista de bases de datos de usuarios de PostgreSQL que se restablecerán con el restablecimiento de la instancia de PostgreSQL. Es inmutable.
Opciones de la aplicación
Puerto del servidor de destino de PostgreSQL. Ingresa el número de puerto de la instancia de PostgreSQL de destino para el restablecimiento.
Nombre de usuario del SO de destino de PostgreSQL. Ingresa el nombre del usuario del sistema operativo en el servidor de destino en el que se restaurará la instancia de PostgreSQL.
Directorio principal del servidor de destino de PostgreSQL. Ingresa la ruta de acceso del directorio de inicio binario instalado de PostgreSQL en el servidor de destino.
Directorio de datos del servidor de destino de PostgreSQL. Ingresa la ruta de acceso del directorio de datos en el que se almacenan los archivos de datos de la base de datos de PostgreSQL en el servidor de destino, por ejemplo, /pgdata_lvm/pgdata.
Opciones avanzadas
POSTGRESQL TARGET DB USER NAME y POSTGRESQL TARGET DB PASSWORD.
(Opcional) Ingresa credenciales nuevas para la instancia de PostgreSQL de destino que se creará. Si no especificas nada, se usa el nombre de usuario de la base de datos predeterminada (postgres) sin contraseña. De forma predeterminada, no se requiere una contraseña para acceder desde el sistema local.
Haz clic en Verificación previa al vuelo.
Si falla la comprobación previa, corrige el problema y vuelve a enviarla.
Si la verificación previa al vuelo se realiza correctamente, haz clic en Enviar para enviar la tarea de restablecimiento.
Cómo restablecer una base de datos de PostgreSQL desde una imagen de copia de seguridad completa y diferencial a la fuente
En la lista App Manager Applications, haz clic con el botón derecho en la base de datos protegida y selecciona Access. Usa el filtro de estado Plan de copia de seguridad administrado para mostrar solo las bases de datos protegidas.
Selecciona una imagen de instantánea y haz clic en Restablecer.
En la página Restablecer, selecciona Restablecer a la fuente.
Target. No se puede acceder a este contenido cuando se restablece en la fuente.
Ingresa una Etiqueta descriptiva para usar en este trabajo (opcional).
Bases de datos incluidas. Esta es la lista de bases de datos de PostgreSQL que se restablecerán con el restablecimiento de instancias de PostgreSQL. Selecciona una o más bases de datos de la lista para restablecerlas. De forma predeterminada, se seleccionan todas las bases de datos para el restablecimiento.
Opciones de la aplicación
Nombre de usuario del SO de destino de PostgreSQL. Ingresa el nombre del usuario del sistema operativo en el servidor de destino en el que se creará la nueva instancia de PostgreSQL.
Directorio principal del servidor de destino de PostgreSQL. Ingresa la ruta de acceso al directorio de inicio binario instalado de PostgreSQL en el servidor de destino.
Ruta de acceso al archivo de configuración de destino de PostgreSQL. Ingresa la ruta de configuración de la instancia de PostgreSQL en el servidor de destino.
Opciones avanzadas
POSTGRESQL TARGET DB USER NAME y POSTGRESQL TARGET DB PASSWORD.
(Opcional) Ingresa credenciales nuevas para la instancia de PostgreSQL de destino que se creará. Si no especificas nada, se usa el nombre de usuario de la base de datos predeterminada (postgres) sin contraseña. De forma predeterminada, no se requiere una contraseña para acceder desde el sistema local.
Haz clic en Verificación previa al vuelo.
Si falla la comprobación previa, corrige el problema y vuelve a enviarla.
Si la verificación previa al vuelo se realiza correctamente, haz clic en Enviar para enviar la tarea de restablecimiento.
Cómo restablecer una base de datos de PostgreSQL desde una imagen de copia de seguridad completa y diferencial a un destino nuevo
En la lista App Manager Applications, haz clic con el botón derecho en la base de datos protegida y selecciona Access. Usa el filtro de estado Plan de copia de seguridad administrado para mostrar solo las bases de datos protegidas.
Selecciona una imagen de instantánea y haz clic en Restablecer.
En la página Restablecer, selecciona Restablecer en un objetivo nuevo.
Para todas las configuraciones, los nodos de PostgreSQL aptos están disponibles para elegir en la lista desplegable Destino. Selecciona el nodo para el nuevo objetivo.
Ingresa una Etiqueta descriptiva para usar en este trabajo (opcional).
Reemplaza la identidad de la aplicación original. Esta opción solo está disponible cuando el destino de restablecimiento es un host nuevo en el mismo dispositivo de copia de seguridad o recuperación en el que se generó la copia de seguridad originalmente.
Sí Esto reemplaza la aplicación original y tiene el mismo ID de aplicación, historial de trabajos, imágenes de copia de seguridad y plan de copia de seguridad que la aplicación original.
No. Esto no reemplaza la solicitud original. Crea una aplicación nueva que se descubre, pero aún no se protege.
Bases de datos incluidas: Se prepropaga con la lista de bases de datos de PostgreSQL que se restablecerán con el restablecimiento de la instancia de PostgreSQL. Es inmutable.
Opciones de la aplicación
Nombre de usuario del SO de destino de PostgreSQL. Ingresa el nombre del usuario del sistema operativo en el servidor de destino en el que se creará la nueva instancia de PostgreSQL.
Directorio principal del servidor de destino de PostgreSQL. Ingresa la ruta de acceso al directorio de inicio binario instalado de PostgreSQL en el servidor de destino.
Ruta de acceso al archivo de configuración de destino de PostgreSQL. Ingresa la ruta de configuración de la instancia de PostgreSQL en el servidor de destino.
Opciones avanzadas
POSTGRESQL TARGET DB USER NAME y POSTGRESQL TARGET DB PASSWORD.
(Opcional) Ingresa credenciales nuevas para la instancia de PostgreSQL de destino que se creará. Si no especificas nada, se usa el nombre de usuario de la base de datos predeterminada (postgres) sin contraseña. De forma predeterminada, no se requiere una contraseña para acceder desde el sistema local.
Haz clic en Verificación previa al vuelo.
Si falla la comprobación previa, corrige el problema y vuelve a enviarla.
Si la verificación previa al vuelo se realiza correctamente, haz clic en Enviar para enviar la tarea de restablecimiento.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[[["\u003cp\u003eThis guide outlines how to restore a PostgreSQL database from a backup image, either back to its original source or to a new target location.\u003c/p\u003e\n"],["\u003cp\u003eYou can choose to restore from either a volume-level backup or a full+incremental backup image, depending on your needs and backup strategy.\u003c/p\u003e\n"],["\u003cp\u003eDuring the restore process, there are optional settings to specify a roll-forward time by using logs to bring the database to a specific point in time, which can be performed in user time or host time.\u003c/p\u003e\n"],["\u003cp\u003eThe guide provides options for setting parameters like the target server port, operating system user, home directory, and data directory, as well as optional custom database credentials.\u003c/p\u003e\n"],["\u003cp\u003eA pre-flight check is a crucial step to validate the configurations before submitting the restore job, and ensures the job is successful.\u003c/p\u003e\n"]]],[],null,["# Restore PostgreSQL databases\n\nRestore a PostgreSQL database from a volume-level backup image to the source\n----------------------------------------------------------------------------\n\nThis procedure uses physical recovery of the source data area. To recover\nback to the source, follow these instructions:\n\n1. From the **App Manager Applications** list, right-click the protected database and select **Access** . Use the **Managed Backup Plan** status filter to show only protected databases.\n2. Select a snapshot image and click **Restore**.\n3. On the **Restore** page, select **Restore Back to Source**.\n4. **Target**. This is inaccessible when restoring to the source.\n5. (Optional) Enter a descriptive **Label** to use for this job.\n6. Application Options\n - If the source application is protected by a snapshot policy that has enabled database log backups, and logs are available with the image, you can use them to roll forward to a specific point in time by changing these options in the **Roll Forward Time** section:\n - The date field contains all possible dates that the database can be rolled forward to through the application of database transaction logs. Select which date you need the database to be rolled forward to.\n - The time field contains a slider showing all possible times on the selected date that the database can be rolled forward to. If you select the latest possible date and then move the slider to the right most position, the restore job applies to all available logs. If you select the earliest possible date and move the slider to the left most position, the restore job applies no logs.\n - You can specify to roll forward using either **User Time** or **Host Time** . **User Time** is relative to the local time of the current user. **Host time** is relative to the system that hosts the data to be restored.\n - **PostgreSQL Target Server Port**. Enter the target PostgreSQL instance port number for restore.\n - **PostgreSQL Target OS User Name**. Enter the name of the operating system user on the target server where the PostgreSQL instance is to be restored.\n - **PostgreSQL Target Server Home Directory**. Enter the path of the PostgreSQL installed binary home directory on the target server.\n - **PostgreSQL Target Server Data Directory** . Enter the path to the data directory where the data files for the PostgreSQL database on the target server are stored, for example, `/pgdata_lvm/pgdata`.\n7. Advanced Options\n - **POSTGRESQL TARGET DB USER NAME** and **POSTGRESQL TARGET DB PASSWORD**. (Optional) Enter new credentials for the target PostgreSQL instance that will be created. If you don't specify anything, the default database username (postgres) is used with no password. By default, a password is not required to sign in from the local system.\n8. Click **Pre-flight check** .\n - If the pre-flight check fails, fix the issue and resubmit the pre-flight check.\n - If the pre-flight check is successful, click **Submit** to submit the restore job.\n\nRestore a PostgreSQL database from a volume-level backup image to a new target\n------------------------------------------------------------------------------\n\n1. From the **App Manager Applications** list, right-click the protected database and select **Access** . Use the **Managed Backup Plan** status filter to show only protected databases.\n2. Select a snapshot image and click **Restore**.\n3. On the Restore page, select **Restore to a New Target**.\n4. For all configurations, eligible PostgreSQL nodes will be available to choose under the **Target** drop-down list. Select the node for the new target.\n5. (Optional) Enter a descriptive **Label** to use for this job.\n6. **Replace Original Application Identity** . This option is only available when the restore target is a new host on the same backup/recovery appliance where the backup was originally generated.\n - **Yes**. This replaces the original application and it has the same application ID, jobhistory, backup images and backup plan as the original application.\n - **No**. This does not replace the original application. It creates a new application that is discovered but not yet protected.\n7. If logs are available, then **Rollforward time** is available. Choose a date and time for the most recent logs to apply to the recovered database.\n8. Included Databases: This is pre-populated with the list of PostgreSQL user databases that will be restored with the PostgreSQL instance restore. It is immutable.\n9. Application Options\n - **PostgreSQL Target Server Port**. Enter the target PostgreSQL instance port number for restore.\n - **PostgreSQL Target OS User Name**. Enter the name of the operating system user on the target server where the PostgreSQL instance is to be restored.\n - **PostgreSQL Target Server Home Directory**. Enter the path of the PostgreSql installed binary home directory on the target server.\n - **PostgreSQL Target Server Data Directory** . Enter the path of the data directory where the data files for the PostgreSQL database on the target server are stored, for example, `/pgdata_lvm/pgdata`.\n10. Advanced Options\n - **POSTGRESQL TARGET DB USER NAME** and **POSTGRESQL TARGET DB PASSWORD**. (Optional) Enter new credentials for the target PostgreSQL instance that will be created. If you don't specify anything, the default database username (postgres) is used with no password. By default, a password is not required to sign in from the local system.\n11. Click the **Pre-Flight Check** .\n - If the pre-flight check fails, fix the issue and resubmit the Pre-Flight Check.\n - If the pre-flight check is successful, click **Submit** to submit the restore job.\n\nRestore a PostgreSQL database from a full+incremental backup image to the source\n--------------------------------------------------------------------------------\n\n1. From the **App Manager Applications** list, right-click the protected database and select **Access** . Use the **Managed Backup Plan** status filter to show only protected databases.\n2. Select a snapshot image and click **Restore**.\n3. On the Restore page, select **Restore Back to Source**.\n4. **Target**. This is inaccessible when restoring to the source.\n5. (Optional) Enter a descriptive **Label** to use for this job.\n6. **Included Databases**. This is the list of PostgreSQL databases that will be restored with PostgreSQL instance restore. Select one or more databases from the list for restore. By default all databases are selected for restore.\n7. Application Options\n - **PostgreSQL Target OS User Name**. Enter the name of the operating system user on the target server where the new PostgreSQL instance will get created.\n - **PostgreSQL Target Server Home Directory**. Enter the path to the PostgreSQL installed binary home directory on the target server.\n - **PostgreSQL Target Config File Path**. Enter the config path for PostgreSQL instance on the target server.\n8. Advanced Options\n - **POSTGRESQL TARGET DB USER NAME** and **POSTGRESQL TARGET DB PASSWORD**. (Optional) Enter new credentials for the target PostgreSQL instance that will be created. If you don't specify anything, the default database username (postgres) is used with no password. By default, a password is not required to sign in from the local system.\n9. Click the **Pre-Flight Check** .\n - If the pre-flight check fails, fix the issue and resubmit the Pre-Flight Check.\n - If the pre-flight check is successful, click **Submit** to submit the restore job.\n\nRestore a PostgreSQL database from a full+incremental backup image to a new target\n----------------------------------------------------------------------------------\n\n1. From the **App Manager Applications** list, right-click the protected database and select **Access** . Use the **Managed Backup Plan** status filter to show only protected databases.\n2. Select a snapshot image and click **Restore**.\n3. On the Restore page, select **Restore to a New Target**.\n4. For all configurations, eligible PostgreSQL nodes are available to choose under the **Target** drop-down list. Select the node for the new target.\n5. (Optional) Enter a descriptive **Label** to use for this job.\n6. **Replace Original Application Identity** . This option is only available when the restore target is a new host on the same backup/recovery appliance where the backup was originally generated.\n - **Yes**. This replaces the original application and has the same application ID, jobhistory, backup images and backup plan as the original application.\n - **No**. This does not replace the original application. It creates a new application that is discovered but not yet protected.\n7. **Included Databases**: This is pre-populated with the list of PostgreSQL databases that will be restored with the PostgreSQL instance restore. It is immutable.\n8. Application Options\n - **PostgreSQL Target OS User Name**. Enter the name of the operating system user on the target server where the new PostgreSQL instance will get created.\n - **PostgreSQL Target Server Home Directory**. Enter the path to the PostgreSQL installed binary home directory on the target server\n - **PostgreSQL Target Config File Path**. Enter the config path of the PostgreSQL instance on the target server.\n9. Advanced Options\n - **POSTGRESQL TARGET DB USER NAME** and **POSTGRESQL TARGET DB PASSWORD**. (Optional) Enter new credentials for the target PostgreSQL instance that will be created. If you don't specify anything, the default database username (postgres) is used with no password. By default, a password is not required to sign in from the local system.\n10. Click the **Pre-Flight Check** .\n - If the pre-flight check fails, fix the issue and resubmit the Pre-Flight Check.\n - If the pre-flight check is successful, click **Submit** to submit the restore job."]]