The Vertica Forum recently got a makeover! Let us know what you think by filling out this short, anonymous survey.

backup - vbr init throws error related to rsync

Hi Team,
I have 2 Vertica systems. source (x.x.x.x) and target (y.y.y.y)
rsync version on both source and target system: (rsync version 3.1.2 protocol version 31)
vertica version: Vertica Analytic Database v9.2.1-0
/opt/vertica/bin/rsync : version ( version 3.0.7 protocol version 30)

Issue:
I have been trying to run the vbr script . I am getting below error.
vbr -t init -c backup_restore.ini

Here is the error output:

Initializing backup locations.
Error: Error accessing remote storage: failed accessing remote storage on <y.y.y.y>: @ERROR: Unknown module 'vbr'
rsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7]

: returncode=5

The "backup_restore.ini" detail
[Mapping]
v_testdb_node0001 = y.y.y.y:/home/testuser/backups
[Misc]
snapshotName = appdefdb_backup_snapshot
[Database]
dbName = appdefenderdb
dbPromptForPassword = True
[Misc]
enableFreeSpaceCheck = True
[Transmission]
; Specifies the default port number for the rsync protocol.
port_rsync = 50000
[Database]
; dbUser = current_username

dbUser = testuser

The rsync daemon log in target machine:
2020/02/04 11:02:59 [500611] connect from src (x.x.x.x)
2020/02/04 11:02:59 [500612] connect from src (x.x.x.x)

2020/02/04 11:02:59 [500612] unknown module 'vbr' tried from src (x.x.x.x)

I am not getting any clue. Looks like some issue in rsync setup. However, I was trying to send file manually and it works , I am able to sync the file.
rsync -v -v -e 'ssh -p 22' myconfig.cfg [email protected]:/home/testuser/backups

Thanks in advance,
SM

Tagged:

Best Answer

Answers

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file

Can't find what you're looking for? Search the Vertica Documentation, Knowledge Base, or Blog for more information.