(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"
I hope that this information is helpful.
Have a great weekend!
Micro Focus SW Support Engineer