take a backup on one cluster server and restore it on the other
Hi,
I have a full database backup which I took for one cluster but this backup is able to be restored onto the same cluster server
Is there no way to restore the backup onto a different cluster with different servername and ipaddress?
This is one of our major requirements. is this possible in vertica?
When i am trying to restore the backup now on a target cluster I am getting an error of OID conflicts and cannot connect to the source server which has the private interconnect ip of the source server
Please help
Thanks
Saumya
I have a full database backup which I took for one cluster but this backup is able to be restored onto the same cluster server
Is there no way to restore the backup onto a different cluster with different servername and ipaddress?
This is one of our major requirements. is this possible in vertica?
When i am trying to restore the backup now on a target cluster I am getting an error of OID conflicts and cannot connect to the source server which has the private interconnect ip of the source server
Please help
Thanks
Saumya
0
Comments
To restore a full database snapshot, you must ensure that:
There is an outstanding feature request ver-19451 for the capability to restore to an alternate cluster but it is not yet targeted. The vbr.py copdatabase is the only method we have of making a duplicate of the source cluster on a target cluster with different host names and ips. There are some requirements outlined in the docs. See "Copying the Database to Another Cluster" under the Backing up and Restoring section of the Admin Guide.
That answers my question as I was looking for restoring to the machine with different ip and hostname.
However, in few forums i was reading about changing the catalog.ctlg file to have the new ipaddress and then to restore.
I tried for full database backup and it seemed to be working but at the end once the whole database files are copied, its saying it is failing with SIGINT.
Copying...
[==================================================] 100%^
11776: vbr client subproc on 15.224.232.116 terminates with returncode 2. Details in vbr_v_verlabqa01_node0002_client.log on that host.
cancelled by SIGINT
why is this the case? Also is it safe to follow this procedure? and is it possible to do the same for schema restore too?Thanks
Saumya
The only suggestion on trying to resolve the error would be either look in the log file noted for hints or run vbr.py with a higher debug level. vbr.py has a --debug arg you can pass. The default is 0. If you run it with --debug 3 it may provide additional info on what's failed.
Schema restore would definitely not work using this type of process. There are additional requirements for object level backups as the backup is a minimal one with lots of object id pointers, and without the base backup the momento refs would not exist to reconstruct the objects in the object level backup.
I'm not sure if i'm stuck with a similar issue.
I'm planning to take a full db,schema level and object level backups individually from a single node vertica 6.1.1 and restore it onto a similarly configured machine with a which runs vertica 6.1.1 with single node.
As per Steve in the above post Schema level restore isn't possible.
Do you have a work around for my case?
Thanks,
Sunil