VeeamHub / applications

This repository contains example scripts for freeze/thaw of applications or for running plugin based backups such as Oracle RMAN or SAP HANA
MIT License
25 stars 17 forks source link

Regex change to detect only HANA in sapservices #9

Closed StefanZ8n closed 4 years ago

StefanZ8n commented 4 years ago

Pull Request Template

By contributing, you agree that your contributions will be licensed under the projects original open source license.

Description

Customer had an issue with more SAP services running on the same machine (listed in sapservices file) and had errors in the pre-script with the previous auto-detection of HANA systems. The regex change searches for the HDB string which HANA databases have in the sapservices file and introduces brackets to the sub-expression, so that the initial | does not include the first part of the upper regex.

Type of change

How Has This Been Tested?

Partner tested in customer environment where script previously failed by detecting the other SAP services, too, now it only detects the HDB.

Checklist (check all applicable):

tsightler commented 4 years ago

Shouldn't this change also be made to post-thaw script as well?

StefanZ8n commented 4 years ago

Shouldn't this change also be made to post-thaw script as well?

There weren't any issues in the post-thaw process, but of course it makes sense to sync the changes. Did it. Thanks.