Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
O Db2 é uma família de sistemas de gerenciamento de banco de dados relacional na
divisão de gerenciamento de informações da IBM, que é centrada em várias
ofertas de sistemas de gerenciamento de banco de dados relacional. Esta seção explica
como proteger dados de banco de dados consistentes do aplicativo Db2 com backup e DR em
ambientes Linux.
Método de proteção
O Db2 usa WRITE SUSPEND e WRITE RESUME (backup de snapshot de disco permanente) para bancos de dados Db2 primários
e secundários em uma instância do Compute Engine para fazer backup incremental
de dados e registrar volumes de discos permanentes com consistência do aplicativo.
O backup e a recuperação de desastre armazenam várias cópias de cada snapshot em vários
locais com somas de verificação automáticas para garantir a integridade dos dados.
Confira a seguir as APIs de backup do Db2 usadas pelo Backup e DR:
Banco de dados de espera (HADR): as APIs Db2 database deactivate e
Db2 database activate são usadas para congelar e descongelar.
Backup de registro do Db2: os registros são apagados usando Db2 archive log for database.
Durante um backup de registro, o payload dos segmentos de registro é copiado da
área de registro para o local especificado pelo parâmetro logarchmeth1.
O backup e a DR usam snapshots do Persistent Disk para fazer backup incremental de dados
e registrar volumes dos discos permanentes com consistência do aplicativo.
O backup e a recuperação de desastre armazenam várias cópias de cada snapshot em vários
locais com somas de verificação automáticas para garantir a integridade dos dados.
Esta página faz parte de uma série de páginas específicas para proteger e recuperar
bancos de dados do IBM Db2 com backup e DR.
Confira mais informações em:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-11 UTC."],[[["\u003cp\u003eThis guide outlines how to use Backup and DR to protect Db2 databases in Linux environments, focusing on data backup and recovery procedures.\u003c/p\u003e\n"],["\u003cp\u003eBackup and DR utilizes specific Db2 APIs for different backup methods, including volume-level backups with CBT and LVM snapshots, standby database backups using HADR, and full/incremental file-based backups.\u003c/p\u003e\n"],["\u003cp\u003eVolume-based backups use a Changed Block Tracking (CBT) mechanism to track only the changed blocks, involving database freezing, LVM snapshot creation, and the copying of changed blocks to a backup appliance.\u003c/p\u003e\n"],["\u003cp\u003eFile-based backups involve deploying an agent, mounting a staging disk, invoking full or incremental backups via a dump backup command, and using the staging disk to restore.\u003c/p\u003e\n"],["\u003cp\u003eThe Db2 log backups are done by flushing them using \u003ccode\u003eDb2 archive log for database\u003c/code\u003e, and the payload of the segments is copied to the location specified by the parameter logarchmeth1.\u003c/p\u003e\n"]]],[],null,["# Backup and DR Service for IBM Db2\n\nDb2 is a is a family of relational database management systems within\nIBM's Information Management division that is centered on several\nrelational database management system offerings. This section explains\nhow to protect Db2 application consistent database data with Backup and DR in\nLinux environments.\n\nProtection method\n-----------------\n\nDb2 uses `WRITE SUSPEND` and `WRITE RESUME` (Persistent Disk snapshot backup) for both primary\nand secondary Db2 databases on a Compute Engine instance to incrementally back\nup data and log volumes from your Persistent Disks with application consistency.\n\nBackup and DR stores multiple copies of each snapshot across multiple\nlocations with automatic checksums to ensure the integrity of your data.\n\nThe following are Db2 backup APIs used by Backup and DR:\n\n- **Standby (HADR) database** : The `Db2 database deactivate` and\n `Db2 database activate` API are used for freeze and thaw.\n\n- **Db2 log backup** : Logs are flushed using `Db2 archive log for database`.\n During a log backup, the payload of the log segments is copied from\n the log area to the location specified by the parameter logarchmeth1.\n\nProtect IBM Db2 databases\n-------------------------\n\nTo get started protecting your Db2 databases, go through the Db2 procedures in\n[Protect and recover an IBM Db2 database running in Compute Engine](/backup-disaster-recovery/docs/quickstarts/db2-on-gce-backup-recovery)\n\nBackup and DR uses Persistent Disk snapshots to incrementally back up data\nand log volumes from your persistent disks with application consistency.\nBackup and DR stores multiple copies of each snapshot across multiple\nlocations with automatic checksums to ensure the integrity of your data.\n\nWhat's next\n-----------\n\n[Prepare the database for Backup and DR](/backup-disaster-recovery/docs/configuration/otherdb-prep-database)\n\nOther documentation for Backup and DR for IBM Db2\n-------------------------------------------------\n\nThis page is one in a series of pages specific to protecting and recovering\nIBM Db2 databases with Backup and DR.\nYou can find additional information at:\n\n- [Backup and DR for Db2](/backup-disaster-recovery/docs/concepts/db2-intro)\n- [Prepare the database for Backup and DR](/backup-disaster-recovery/docs/configuration/otherdb-prep-database)\n- [Add a Db2 database host and discover databases](/backup-disaster-recovery/docs/configuration/otherdb-add-host)\n- [Define policy templates and resource profiles](/backup-disaster-recovery/docs/create-plan/create-template)\n- [Set application details and settings](/backup-disaster-recovery/docs/backup/app-details-settings-otherdb)\n- [Check staging disk format and backup method](/backup-disaster-recovery/docs/backup/backup-method-staging-disk-otherdb)\n- [Protect the Db2 database and its logs](/backup-disaster-recovery/docs/backup/otherdb-protect)\n- [Mount a Db2 database](/backup-disaster-recovery/docs/access-data/otherdb-mounts)\n- [Recover a Db2 backup image to another location](/backup-disaster-recovery/docs/restore-data/otherdb-mount-and-migrate)\n- [Restore Db2 backups](/backup-disaster-recovery/docs/restore-data/otherdb-restore)"]]