Highlighted
Micro Focus Expert
Micro Focus Expert
440 views

(CO) Support Tip: Failed Vertica backup for CO due to umask

Hello CO Community,

Many need to be able to backup their CO environment using the backup_restore.sh command/script that was introduced within CO 3.02.  In addition, many feel the need to hard their CO server security.

One of the more common steps that administrators take is changing the 'umask' setting on the Linux server.  It was recently discovered that the Vertica Backup failed when this change was made.

When the 'backup_restore.sh' script is executed and Vertica is included within the backup, it creates a file call fullbak.ini.  When this file is created as the root user, the umask setting gives it the default permissions.  Even though the 'backup_restore.sh' script is executed as the 'root' user when performing the backup, the execution of the Vertica backup is done as the 'pv_vertica' user.  Depending on the permissions set, the pv_vertica user does not have permissions to read the file and cannot perform the backup.

More information, including the exact error message, can be found within the following knowledge article.

KM03166532 - Error when performing Vertica backup for Cloud Optimizer "Unable to read config file"
https://softwaresupport.softwaregrp.com/km/KM03166532

I hope that this information is helpful.

Have a great weekend!

Regards,

Mark

---
Mark Butler
Micro Focus SW Support Engineer
https://softwaresupport.softwaregrp.com/
Labels (1)
Tags (4)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.