常见问题 - 备份基于 Azure VM 的 SAP HANA 数据库Frequently asked questions – Back up SAP HANA databases on Azure VMs

本文解答有关使用 Azure 备份服务备份 SAP HANA 数据库的常见问题。This article answers common questions about backing up SAP HANA databases using the Azure Backup service.

BackupBackup

每天支持多少次完整备份?How many full backups are supported per day?

每天仅支持一次完整备份。We support only one full backup per day. 不能在同一天触发差异备份和完整备份。You cannot have differential backup and full backup triggered on the same day.

成功的备份作业是否会创建警报?Do successful backup jobs create alerts?

否。No. 成功的备份作业不会生成警报。Successful backup jobs don't generate alerts. 仅针对失败的备份作业发送警报。Alerts are sent only for backup jobs that fail. 此文介绍了门户警报的详细行为。Detailed behavior for portal alerts is documented here. 但是,如果希望在作业成功的情况下也收到警报,可以使用 Azure MonitorHowever, if you are interested having alerts even for successful jobs, you can use Azure Monitor.

“备份作业”菜单中是否会显示计划的备份作业?Can I see scheduled backup jobs in the Backup Jobs menu?

“备份作业”菜单只显示临时备份作业。The Backup Job menu will only show ad-hoc backup jobs. 对于计划的作业,请使用 Azure MonitorFor scheduled jobs, use Azure Monitor.

未来的数据库会自动添加备份吗?Are future databases automatically added for backup?

否,暂不支持该功能。No, this is not currently supported.

如果从实例中删除数据库,备份会发生什么情况?If I delete a database from an instance, what will happen to the backups?

如果从 SAP HANA 实例中删除某个数据库,仍会尝试数据库备份。If a database is dropped from an SAP HANA instance, the database backups are still attempted. 这意味着,已删除的数据库会开始在“备份项”下面显示为不正常状态,但它仍受保护。 This implies that the deleted database begins to show up as unhealthy under Backup Items and is still protected. 停止保护此数据库的正确方法是针对此数据库执行“停止备份并删除数据”操作。 The correct way to stop protecting this database is to perform Stop Backup with delete data on this database.

如果在保护数据库后更改其名称,会出现怎样的行为?If I change the name of the database after it has been protected, what will the behavior be?

已重命名的数据库被视为新数据库。A renamed database is treated as a new database. 因此,服务会将此情况视为找不到数据库,同时会使备份失败。Therefore, the service will treat this situation as if the database were not found and with fail the backups. 已重命名的数据库会显示为新数据库,必须对其进行保护性配置。The renamed database will appear as a new database and must be configured for protection.

备份 Azure VM 上的 SAP HANA 数据库的先决条件是什么?What are the prerequisites to back up SAP HANA databases on an Azure VM?

请参阅先决条件预注册脚本的功能部分。Refer to the prerequisites and What the pre-registration script does sections.

应为 Azure 设置哪些权限才能备份 SAP HANA 数据库?What permissions should be set for Azure to be able to back up SAP HANA databases?

运行预注册脚本即可设置所需的权限,这样 Azure 就可以备份 SAP HANA 数据库。Running the pre-registration script sets the required permissions to allow Azure to back up SAP HANA databases. 可以在此处详细了解注册前脚本的功能。You can find more what the pre-registration script does here.

将 SAP HANA 从 1.0 迁移到 2.0 后备份是否有效?Will backups work after migrating SAP HANA from 1.0 to 2.0?

请参阅故障排除指南的此部分Refer to this section of the troubleshooting guide.

还原Restore

为什么我看不到要将数据库还原到的 HANA 系统?Why can’t I see the HANA system I want my database to be restored to?

检查是否满足还原到目标 SAP HANA 实例的所有先决条件。Check if all the prerequisites for the restore to target SAP HANA instance are met. 有关详细信息,请参阅先决条件 - 还原 Azure VM 中的 SAP HANA 数据库For more information, see Prerequisites - Restore SAP HANA databases in Azure VM.

为什么我的数据库的“覆盖 DB”还原会失败?Why is the Overwrite DB restore failing for my database?

请确保在还原时选择“强制覆盖” 选项。Ensure that the Force Overwrite option is selected while restoring.

为什么会看到“还原的源系统和目标系统不兼容”错误?Why do I see the “Source and target systems for restore are incompatible” error?

请参阅 SAP HANA 说明 1642148,了解目前支持的还原类型。Refer to the SAP HANA Note 1642148 to see what restore types are currently supported.

后续步骤Next steps

了解如何备份 SAP HANA 数据库(在 Azure VM 上运行)。Learn how to back up SAP HANA databases running on Azure VMs.