rsync error while backup vertica db
[user_testing@localhost ~]$ /opt/vertica/bin/vbr.py -t init -c /home/user_testing/vertica_backup.ini 103.*.*.* /opt/vertica/oss/python/bin/python -V || true Transfer Server process entry: pid 330550. Acquiring remoteServer mutex. Acquired remoteServer mutex. ps aux | grep rsync | grep -v grep | grep daemon | grep port=50000 A new Rsync daemon has started. Released mutex. Initializing backup locations. Error: Error accessing remote storage: failed accessing remote storage on 103.*.*.*: rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [Receiver=3.0.7] : returncode=12 Init FAILED.
Plz provide solution.I'm struck
0
Comments
Hi!
Check that remote path exists. You can get error code 12 if you specify a remote path that doesn't exist.
where I have to specify that remote path correctly ??
@ashu123 - In the mapping section of the vbr ini file:
Example:
In the example, the backup directory is /home/dbadmin/backups.
If your backup directory does not exist on 103...* , did you run vbr --task int?
See:
https://my.vertica.com/docs/9.0.x/HTML/index.htm#Authoring/AdministratorsGuide/BackupRestore/VBRUtilityReference.htm
hello @Jim_Knicely
This is my vbr.ini file
[Misc]
snapshotName = vertica_backup
restorePointLimit = 1
objectRestoreMode = createOrReplace
tempDir = /tmp/vbr
retryCount = 5
retryDelay = 3
passwordFile = pwdFile
[Database]
dbName = database
dbUser = user
dbPromptForPassword = True
[Transmission]
encrypt = False
checksum = False
port_rsync = 50000
serviceAccessUser = asha
total_bwlimit_backup = 0
concurrency_backup = 1
total_bwlimit_restore = 0
concurrency_restore = 1
Again getting same error
If I run vbr init command, the following rsync command is being prepared.
/opt/vertica/bin/rsync -s --list-only -d rsync://[103...*]:50000/vbr//home/asha/backup/backup_manifest
Hi!
path incorrect(no slash
/
in the beginning.), should be