backup - vbr init throws error related to rsync

msanjibmsanjib Vertica Customer

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)

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
v_testdb_node0001 = y.y.y.y:/home/testuser/backups
snapshotName = appdefdb_backup_snapshot
dbName = appdefenderdb
dbPromptForPassword = True
enableFreeSpaceCheck = True
; Specifies the default port number for the rsync protocol.
port_rsync = 50000
; 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 testuser@testuser:/home/testuser/backups

Thanks in advance,


Best Answer

  • Options
    LenoyJLenoyJ - Select Field - Employee
    Answer ✓

    It may be possible that there's another rsync process running on port 50000. and in the rsyncd.conf file of that process the [vbr] module is missing. Try closing all rsync processes and trying again. Also ensure that you have access to the /tmp dir.


Leave a Comment

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