search cancel

DB Backup not working after Upgrade

book

Article ID: 257071

calendar_today

Updated On:

Products

DX NetOps CA Performance Management - Usage and Administration

Issue/Introduction

After 22.2 upgrade we have a weird issue with the DR DB backup.

Here is the error:

[[email protected] drbackup]$ ./DRbackup_remote_script.sh

Error: Error in VBR config: Snapshot name: CAPM_remote_backup.ini contains invalid characters, it may contain only the following characters: a-z, A-Z, 0-9, hypen(-) and underscore(_).

Backup FAILED.

 

However, as you can see, there are no special characters in the .ini file. Here:

 

[[email protected] drbackup]$ more CAPM_remote_backup.ini

[Misc]

snapshotName = CAPM_remote_backup.ini

restorePointLimit = 7

objectRestoreMode = createOrReplace

passwordFile = pwdfile

[Database]

dbName = drdata

dbUser = admin

[Transmission]

[Mapping]

v_drdata_node0001 = drs-host1:/opt/CA/drbackup

v_drdata_node0002 = drs-host2:/opt/CA/drbackup

v_drdata_node0003 = drs-host3:/opt/CA/drbackup

[[email protected] drbackup]$

 

Here is how this ini is called:

 

[[email protected] drbackup]$ more DRbackup_remote_script.sh

/opt/vertica/bin/vbr.py --task backup --config-file /opt/CA/drbackup/CAPM_remote_backup.ini

Environment

Release : 22.2

Cause

The snapshot name does not need to have an extension.

The .ini on the end of the name is the culprit.

Resolution

Change line 2 from

snapshotName = CAPM_remote_backup.ini

to

snapshotName = CAPM_remote_backup

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/22-2/administrating/data-repository-administration/configure-the-data-repository-host-for-a-local-backup.html