An SAP HANA database that is performing database and log backups using volume level backup as per the defined schedule can have its protection changed to Persistent Disk snapshot.
The following steps outline how to change the protection method of an SAP HANA database from the Volume Level Backup capture method to Persistent Disk snapshot.
There are two ways to move to Persistent Disk snapshot protection.
- No database downtime but logs must be copied manually: Some logs won't be fully backed up by Backup and DR Service, so you must manually copy them to a safe place in case recovery becomes necessary.
- Shut down and restart the SAP application and database: All logs will be fully backed up and accessible.
No database downtime but logs must be copied manually
In this procedure you take a final on-demand backup of the data, then remove the policy that calls for volume level protection and replace it with one that uses Persistent Disk snapshots and run another on-demand job.
- From the App Manager select Applications.
- Select the application and then click Manage Backup Configuration.
- Click the policy and select Run Now.
- From the Monitor > Jobs, ensure the job finishes successfully.
From the Manage Backup Configuration page under Apply, select Remove backup plan.
Select a new template and profile and click Apply backup plan.
For the Backup capture method select Use Persistent Disk snapshot.
Save your changes.
Run an on-demand database backup from the Manage Backup Configuration page.
Copy any log backups generated by SAP HANA database between Step #3 and Step #5 to a safe location until the log backup retention period as these logs won't be available to recover for the last backup using volume level backup.
Shut down and restart the SAP application and database
- From the App Manager select Applications.
- Select the application and then click Manage Backup Configuration.
- Click the policy and select Run Now.
- From the Monitor > Jobs, ensure the job finishes successfully.
- Stop the SAP HANA database.
From the Manage Backup Configuration page under Apply, select Remove backup plan.
Select a new template and profile and click Apply backup plan.
For the Backup capture method select Use Persistent Disk snapshot.
Save your changes.
Start the SAP HANA database.
Select the application and then click Manage Backup Configuration.
Click the policy and select Run Now.
From the Monitor > Jobs, ensure the job finishes successfully.
Resume normal operations of your SAP application.
The Backup and DR Service SAP HANA DBA guide
This page is one in a series of pages specific to protecting and recovering SAP HANA databases with Backup and DR Service. You can find additional information in the following pages:
- Backup and DR for SAP HANA
- Prepare SAP HANA databases for backup
- Add an SAP HANA database host, and discover and protect its databases
- Configure staging disk format and backup method for SAP HANA databases
- Set application details and settings for SAP HANA databases
- Back up a discovered HANA database
- Back up HANA 1+n and HANA scale-out databases
- Restore and recover SAP HANA databases
- Mount an SAP HANA backup as a standard mount
- Mount an SAP HANA backup as a virtual database
- Mount and migrate an SAP HANA backup for instant recovery to any target