B1H move data files to another partition
We are using Sap Business One on Hana and everything its working ok. But we made a mistake and the Data and log is in the wrong partition, the server is getting out of space.
Is there any way to move the files to the correct partition??
Duncan Speidel replied
Here is what you have to do:
- Take a system backup
- Note the location where the data and log files are currently stored
- Update the parameters basepath_data_volumes, and basepath_log_volumes. Both parameters can be found in the persistence section of the global.ini file. Set these parameters to the new data and new log file location
- Stop HANA
- Copy the existing data and log files to the new location
- Start HANA
- After verifying HANA is working as designed you can delete the data and log files from the original location
I have successful done these changes to a live system. The other option is to reinstall and provide the proper paths during the installation.