Consistent Schema backup

Moderator: NorbertKrupa

Post Reply
sumanthota2014
Newbie
Newbie
Posts: 11
Joined: Thu Aug 07, 2014 4:39 pm

Consistent Schema backup

Post by sumanthota2014 » Fri Sep 12, 2014 1:05 pm

hi

Is there way to create a consistent copy of the schema backup?
I tried creating one with vbr.py, and the backup is successful. However if I drop the table in the database, the schema backup is not useful. I believe the table is getting dropped from backup as well.. How to get a consistent backup so that I can restore it back to the original state after any kind of testing...

NorbertKrupa
GURU
GURU
Posts: 527
Joined: Tue Oct 22, 2013 9:36 pm
Location: Chicago, IL
Contact:

Re: Consistent Schema backup

Post by NorbertKrupa » Fri Sep 12, 2014 1:17 pm

If you run a full backup with some table, then drop it, the table is still part of the backup until you take another backup (incremental or full). You can also do object level backups and restore even if the target table doesn't exist.

You can try using snapshots as well.
Checkout vertica.tips for more Vertica resources.

Post Reply

Return to “Vertica Database Administration”