on 10-03-2013 4:42 AM
Hi all,
Is it possible to backup just a particular database on HANA system? We're using B1H by the way.
As my understanding currently, we could only backup and restore entire HANA environment, which mean, we backup all database on a HANA server. And, consequently, also restore the whole database on a HANA server.
If we cannot do this at current version, will it be cater on future version?
If not, SAP need to provide a way to do this, it is very troublesome if we couldn't do this.
Best Regards,
Hendry Wijaya
HI Hendry,
You can export/backup a single HANA schema (export) by right clicking on the schema and selecting export. You can also export a schema using the SQL Console.
export <schema name>."*" AS BINARY INTO '<path>' with replace
Example:
export SBODEMOFR."*" AS BINARY INTO '/tmp/MyBackup' with replace
You can import using:
import <schema name>."*" as binary from '<path>' with replace
Example:
import SBODEMOFR."*" as binary from '/tmp/MyBackup' with replace
At this time we do not support the renaming of a schema. This is support as of HANA revision 61 which is not yet certified for use with SAP Business One.
Best regards,
Duncan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Duncan,
Kindly when we use this script
export <schema name>."*" AS BINARY INTO '<path>' with replace
Example:
export SBODEMOFR."*" AS BINARY INTO '/tmp/MyBackup' with replace
You can import using:
import <schema name>."*" as binary from '<path>' with replace
Example:
import SBODEMOFR."*" as binary from '/tmp/MyBackup' with replace
I can't find new schema on B1 Client database?
Hi mohammed,
If you want to import with a new name you use the following syntax:
import "SBODEMOGB "."*" as
binary from '/home/SBODEMOGB_901' with replace threads 10 rename schema "SBODEMOGB" to
"SBODEMOGB_NEW";
The statement you used will import on top of the existing schema. This requires revision 61 or higher.
Best regards,
Duncan
Hi mohammed,
You can do a backup and restore now. You have two choices for backup:
The export steps can be used to export a single schema. If you execute import, without rename, it will import the schema on top of the schema with the same name.
You can do a backup before revision 61. You can do an import or an export before revision 61. You cannot rename an exported schema before revision 61.
Best regards,
Duncan
Hi Mohammed,
You can download revision 69 from https://service.sap.com/sbo-swcenter > Update > SAP B1 9.0 FOR SAP HANA > SAP HANA PLATFORM EDIT. FOR B1. You will need the following downloads:
Linux:
Windows:
Best regards,
Duncan
Hi Mohammed,
Like Hendry said this should probably be its own thread, Here is the answer to your question, please post any additional questions in a new thread.
Upgrade to revision 69 will change HANA to that version and any DB types used in your current schema would be upgraded to the revision 69 type. The data would not change and B1 would continue to operate as designed.
Best regards,
Duncan
Hi Norman,
Please visit http://scn.sap.com/community/business-one/blog/2013/07/24/how-do-i-use-the-cron-to-schedule-a-backup you will find the answers there.
Best regards,
Duncan
Hello Duncan,
I have trying to import a schema and i get this error message every time.
SAP DBTech JDBC: [2048]: column store error: table import failed: [30151] Object not found in the import directory;object=myschemaname:DocLineTypeLayoutTempTaben
How can i possibly get to import the schema?
Regards,
George W.
Hi Hendry,
I am sure SAP is working on it. Individual db backup/restore is a must for HANA. Be patient, it should be done in the near future.
Based on the note, it only said B1 backup service is not supported. Have you tried HANA backup tool directly?
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hendry,
I think it is caused by this sap note:
| ||||||||
|
Content: Summary | Header Data | References | Validity
|
Nevertheless, you may escalate this issue to Sap Global or ask the LPE in SAP Office.
Rgds,
Jimm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it is very obvious.
Still, my question is, will it be cater on future version?
I really hope someone from SAP could answer this. You just cannot adding "traditional" word to make people perceive that HANA is more advance than non-HANA. It is insulting our intelligence.
We really need the "so-called-traditional" backup method could be applied on HANA. Maybe we need to restore from backup from certain point to test particular case, maybe we need to restore other database for another case and the list of possibility could go on.
If we restore whole environment instead particular database only every-time we need to go back to certain point, it is very troublesome. Anyone with decent consulting experience could vouch for this.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.