Someone deleted file - restore options?

If you are having a problem using Vault, post a message here.
Post Reply
dprothero
Posts: 44
Joined: Sun Mar 21, 2004 12:18 pm
Location: Stockton California
Contact:

Someone deleted file - restore options?

Post by dprothero » Thu Aug 11, 2011 9:44 am

Someone deleted one file from a repository, killing all history with it. We didn't need the file in the project anymore, but I had wanted to save the history of the item (the code got broken out into smaller files).

I have a SQL database backup from before the deletion, but I'm not sure what my options are here for restoring just a single file with its history (if there are any). It seems restoring from a database backup is an all-or-nothing proposition.

Is there anyway to get this file's history back?

Thanks.

David

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Someone deleted file - restore options?

Post by Beth » Thu Aug 11, 2011 12:16 pm

Right-click the folder that the file was deleted from and select Properties. Then click on the deleted items tab. Select the file that was deleted and click Restore.

Files that are Deleted are still present in the database, just in an unviewable state. Files that are Obliterated though are a different story. Obliterated files are permanently removed from the database, and those can only be retrieved by restoring a backup.
Beth Kieler
SourceGear Technical Support

dprothero
Posts: 44
Joined: Sun Mar 21, 2004 12:18 pm
Location: Stockton California
Contact:

Re: Someone deleted file - restore options?

Post by dprothero » Thu Aug 11, 2011 12:44 pm

Thank you so much. Worked great.

You would have been well within your right to tell me to RTFM, so I appreciate the detailed response. :D

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Someone deleted file - restore options?

Post by Beth » Thu Aug 11, 2011 4:01 pm

You're welcome.
Beth Kieler
SourceGear Technical Support

Post Reply