on 03-02-2016 8:23 PM
Hi all,
I have to upgrade my HANA database from rev 97 to rev 110.
I need to understand what I have to do in case of restore of the system (for example in case of error during the upgrade, or for a roll-back)
I'll do a data backup, and a backup of every file system in the host.
In case of the restore, what I have to do?
Because I think that I can't restore the data backup with any pre-activity, because the system will be upgraded (or in case of error, in half!)
thank you and kind regards
Davide Bruno
Hi Davide.
If you take a look at the SAP_HANA_INSTALLATION_GUIDE, there are 3 options to do your upgrade:
Update an SAP HANA System Using the Graphical User Interface
Update an SAP HANA System Using the Command-Line Interface
Update an SAP HANA System Using the Web User Interface
The prerequisites are a few, and the most important, is the backup.
This is some info nice to have:
The steps I do before upgrade SAP HANA.
- Full Database Backup in SAP HANA Studio.
- Backup of the configuration files (it has to be done mannually)
As for errors in upgrade, if it fails at half point, I think that the systems does a rollback and goes back to rev 97.
if you need to recover using command line:
RECOVER DATABASE - SAP HANA SQL and System Views Reference - SAP Library
RECOVER DATABASE UNTIL TIMESTAMP '2015-10-22 15:00:00' USING DATA PATH ('/backup/THURSDAY/') USING LOG PATH ('/backup/logs1/','/backup/logs2/')
I already did several upgrades, all went fine and very quickly.
Best regards.
Osvaldo Dias Ferreira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
If you do a backup full with SAP HANA Studio, the backup data goes to a different Filesystem (SAP best practices).
/hana
/log
/backup
When you do the restore you have to give the file location of the data backup done earlier (/backup).
So, no restore of the filesystem is needed.
Take a look at this SAP doc. (Recovery = page 34,...,...)
Regards.
Osvaldo Dias Ferreira
ok regarding the databackup I have no doubt,
but, on file system there is no binary file modified after a restore?
the directory /usr/sap/<SID>/HDB<NUM>/exe for example..
I think that after an upgrade, if I want ro roll-back I have to restore it to the older version
or not?
thank you for your help!
thank you very much all!
this community is very usefull
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.