on 2019 Oct 14 8:51 AM
Hi All,
We use the RSP backup service to backup certain schema's once a week.1 out of 10 schema's failed to backup.
I then went to that specific schema to and clicked on trigger export scheme now.
I get the error: An error occurred while processing this request., Failed to create ad-hoc schema export using backup service on host <hostname>
I tried through the SLD (export the schema) and I get the same error.
Does anyone know what service to check for?
Thank you
Jerusha
Request clarification before answering.
Hello,
There is a file in the /var/log/SAPBusinessOne/BackupService/logs/SID_SERVER_PORT directory: SCHEMA_NAME.pid. This file is editable. Open it and delete the numbers from it. Keep only the largest. After that, the export will run successfully.
Best regards,
Katalin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solved it via this steps. Thank you
Katalin Kiss, that worked for me, thank you.
Hello,
I have faced the same issue and below is the solution to sort the issue.
Login into SLD ad select the Database which we were exporting. Click on Show export log.
Check for more recent log creation and it will have PID at the last of the thread like below
"run_backup.sh(13497) 211208-133648: Instance:HANA Instance Schema:"DATABASE" Found stale pid file /var/log/SAPBusinessOne/BackupService/logs/HANA Instance/DATABASE.pid with pid(13477)."
Kill the PID and try the export it will export.
Best Regards,
Prudhvi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same problems too. Then I tried another way by creating manual backups instead of automation. You can also perform the backup & restore process by using queries in Hana Studio.
Best Regards,
Ye Lin Naing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I had the same problem recently.
The proposed solutions did not work for me either, but the export log in the SLD gave me hints.
In my case, it was a messed-up sudoers file (caused by adding a user through the GUI instead of the cli), which was preventing the tech user from running the shell script.
After fixing the file, the issue is gone. So, the details in the export log can really help in pinpointing the exact issue.
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jaz,
Go to your ControlCenter and select the database you are trying to export, then click on Show Export Logs: What does your recent logs say ?
Kind Regards,
Brenden Draper
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good day.
I managed to fix it by renaming the .pid file located in the SAP logs folder from suse linux.
path: /var/log/SAPBusinessOne/BackupService/YourServer_30015/YourSchemaName.pid
BR.
William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wille,
Eventually we found out it was a backup process that was stuck on the SAP server. I am not sure which service as I was assisted with this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I fixed it after a clean reboot hana.
the process I've done
1. Get the log in SLD>Schema Export Log
run_backup.sh(12941) 210515-181501: Instance:NDB@xxxx-xxxx:30013 Schema:xx" Found pid file /var/log/SAPBusinessOne/BackupService/logs/xxxxx-xxxx/xxx.pid with running pid(6139)
2.Trace the pid#6139 with the command: ps -ef|grep 6139
Was intended to kill pid#6139 but nothing found in this process list
3.Reboot server
After reboot successfully, the backup service is resume to normal.
User | Count |
---|---|
84 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.