CAPM DR Backup error

Document ID : KB000006629
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Running a Data Repository Vertica DB Backup an error is received.

 

The backup command used is:

bash-4.1$ /opt/vertica/bin/vbr.py --task backup --config-file /opt/backup/backup-config/DR-Backup.ini

 

The error returned is:

Traceback (most recent call last):

File "/opt/vertica/bin/vbr.py", line 3406, in <module> work()

File "/opt/vertica/bin/vbr.py", line 3316, in work configRead(task)

File "/opt/vertica/bin/vbr.py", line 453, in configRead (backupHost, backupDir) = parseNodePath(path)

TypeError: 'NoneType' object is not iterable 

Environment:
All CA Performance Manager releases
Cause:

The cause is an incorrectly configured [Mapping] section in the backup configuration ini file.

 

The problem section looks like the following:

[Mapping] 

v_drdata_node0001 = :/opt/backup/DRBACKUP 

v_drdata_node0002 = :/opt/backup/DRBACKUP 

v_drdata_node0003 = :/opt/backup/DRBACKUP 

 

There should be host name references between the equal "=" sign and colon ":" symbols.

Resolution:

 

The example solution here assumes the use of a three node cluster, where the cluster host names are:

node0001 = DataRepositoryHost1

node0002 = DataRepositoryHost2

node0003 = DataRepositoryHost3

 

The correct [Mapping] section in that scenario should he:

v_drdata_node0001 = DataRepositoryHost1:/opt/backups 

v_drdata_node0002 = DataRepositoryHost2:/opt/backups 

v_drdata_node0003 = DataRepositoryHost3:/opt/backups 

 

 After editing the INI file in a text editor and saving the changes, the next backup run should be successful.