how to delete a repository?

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Brendon
Posts: 9
Joined: Mon Jan 11, 2010 8:44 pm

how to delete a repository?

Post by Brendon » Mon Jan 11, 2010 8:52 pm

I created a couple of test repository’s how do I delete these?
I am able to delete folders within a repository but can not see how to delete the actual repository.

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

Re: how to delete a repository?

Post by Beth » Tue Jan 12, 2010 8:47 am

You need to go to your Vault admin web page to delete a repository. In the admin web page, click the red link on the left that says "Source Control Repositories." On the right, you will see your repositories listed. Click the red X next to the one you wish to delete. Be careful on this page, because once a repository is deleted, it can't be recovered through Vault. You would have to restore your last database backup to get a repository back.
Beth Kieler
SourceGear Technical Support

Brendon
Posts: 9
Joined: Mon Jan 11, 2010 8:44 pm

Re: how to delete a repository?

Post by Brendon » Tue Jan 12, 2010 2:12 pm

Excellent, thanks.

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

Re: how to delete a repository?

Post by Beth » Tue Jan 12, 2010 4:59 pm

You're welcome.
Beth Kieler
SourceGear Technical Support

Chiramisu
Posts: 38
Joined: Tue Oct 23, 2012 12:13 pm
Location: Oregon

Re: how to delete a repository?

Post by Chiramisu » Fri May 10, 2013 11:31 am

FYI, while doing this in version 6.1.0 and with the repository open in the client at the same time as deleting via the Admin panel, the client acted almost as if the repository still existed. When attempting to view a label of a file in the repo I got the following error.

Image

Other errors happened for various attempted actions. Refreshing the deleted repo did not kick me out either. It should kick me out because the repo no longer exists.

Lastly, can you confirm that all existing folders within the repo get deleted as well?

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

Re: how to delete a repository?

Post by Beth » Fri May 10, 2013 1:04 pm

A repository deletion is permanent. All the files and folders for that repository are removed from the database.

In order for the client to pick up that change, you will need to either restart your client or go to File - Connect to Server and login again.

I will log a bug.

F: 16906
Beth Kieler
SourceGear Technical Support

Chiramisu
Posts: 38
Joined: Tue Oct 23, 2012 12:13 pm
Location: Oregon

Re: how to delete a repository?

Post by Chiramisu » Fri May 10, 2013 4:40 pm

Fantastic. That answers my question. Thank you Beth, and thanks for logging the bug. :)

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

Re: how to delete a repository?

Post by Beth » Mon May 13, 2013 7:38 am

You're welcome.
Beth Kieler
SourceGear Technical Support

Post Reply