Restore Vertica With new database Name

Moderator: NorbertKrupa

Post Reply
rajaduraibanu
Newbie
Newbie
Posts: 19
Joined: Thu Aug 08, 2013 8:01 am

Restore Vertica With new database Name

Post by rajaduraibanu » Thu Sep 26, 2013 12:54 pm

HI can i restore my backup with New database Name
i mean i took backup of tdadb database , i want to restore it with new name ...



:) Then u mean , that New database shuld b created in advance before restoring ???? and Then i need to restore using vbr.py

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Restore Vertica With new database Name

Post by id10t » Thu Sep 26, 2013 1:16 pm

>> created in advance before restoring
Yes, of cause! Can do you it in other way? Restore before a backup? Restore of what - an abstract database?
(and also restore doesn't mean create, something must exists)

rajaduraibanu
Newbie
Newbie
Posts: 19
Joined: Thu Aug 08, 2013 8:01 am

Re: Restore Vertica With new database Name

Post by rajaduraibanu » Fri Sep 27, 2013 8:26 am

See i took the backup of tdadb , so in .info and .txt file , tdadb name is mentioned
and its catalog directories are
v_tdadb_node0001_catalog and v_tdadb_node0001_data

... i have another database called test, inside this data base my catalog and Data directory are
v_test_node0003_catalog and v_test_node0003_data


In my back up every where tdadb and its catalog names are mentioned , Shuld i replace one by one manually and then restore , then i i can do that by taking tar noe ????

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Restore Vertica With new database Name

Post by id10t » Fri Sep 27, 2013 10:16 am

Hi!

>> See i took the backup of tdadb , so in .info and .txt file , tdadb name is mentioned
Oops. You are right it's little more complicated - you also need to change node names in .ini and .info and rename some directories.

>> can i restore my backup with New database Name
Do you know, my answer now - I don't know, and I'm apologize that I gave you a wrong answer before! May be some other member will help you.

rajaduraibanu
Newbie
Newbie
Posts: 19
Joined: Thu Aug 08, 2013 8:01 am

Re: Restore Vertica With new database Name

Post by rajaduraibanu » Fri Sep 27, 2013 10:23 am

Can anyone pls help me to get sort of this problem :(

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: Restore Vertica With new database Name

Post by id10t » Tue Oct 08, 2013 4:59 pm

Hi!

[DELETED]
Last edited by id10t on Sat May 09, 2015 3:33 pm, edited 1 time in total.

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Restore Vertica With new database Name

Post by JimKnicely » Wed Oct 09, 2013 2:12 pm

sKwa, great post! Thanks for sharing!
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

Post Reply

Return to “General”