Purge old file versions

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

Moderator: SourceGear

korazy
Posts: 2
Joined: Thu Aug 20, 2009 10:18 am

Purge old file versions

Post by korazy » Thu Aug 20, 2009 10:21 am

Is there a way to purge old file versions? We have been using Vault for several years and we a lot of version history that isn't needed any more. Ideally, I would like a way to purge file versions that are more than 2 years old and the version number is 3 less than current (N-3). If those two items are true, then purge that file version.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Purge old file versions

Post by lbauer » Thu Aug 20, 2009 1:51 pm

This isn't available at the present time. We do have feature request 10226 logged for this functionality; I'll add your vote.
Linda Bauer
SourceGear
Technical Support Manager

ndecker@uss.com
Posts: 9
Joined: Sat May 17, 2008 10:31 am

Re: Purge old file versions

Post by ndecker@uss.com » Wed Sep 02, 2009 8:12 am

You can add mine as well. I would rather delete code > x years old and keep the database lean if possible. Can't find any way of doing it without spending the time to dive into the DB structure.
thanks

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Purge old file versions

Post by lbauer » Wed Sep 02, 2009 11:21 am

I've added your "vote." Thanks for your feedback.
Linda Bauer
SourceGear
Technical Support Manager

vbtrek
Posts: 6
Joined: Fri Jul 14, 2006 6:07 am

Re: Purge old file versions

Post by vbtrek » Mon Oct 19, 2009 3:10 am

Please add my vote for this option too. We now do nightly compiles of our code and the binaries are stored in Vault, soo it's likely that the database is going to grow at some rate.
Derek Smith

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Purge old file versions

Post by lbauer » Mon Oct 19, 2009 10:18 am

Thanks. Although this is logged in as a feature request, it's probably not something we're going to be able to implement soon.
Linda Bauer
SourceGear
Technical Support Manager

nealbvault
Posts: 2
Joined: Fri Aug 01, 2008 11:18 am

Re: Purge old file versions

Post by nealbvault » Wed Oct 21, 2009 9:45 am

Please add my vote for this too. As the Vault DB gets to be multiple Gigabytes, it starts to slow down.
Thanks.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Purge old file versions

Post by lbauer » Mon Oct 26, 2009 7:45 am

Your vote is noted.
Linda Bauer
SourceGear
Technical Support Manager

ndecker@uss.com
Posts: 9
Joined: Sat May 17, 2008 10:31 am

Re: Purge old file versions

Post by ndecker@uss.com » Wed May 08, 2019 12:53 pm

It's been a decade.
Literally, a decade.

Any plans on this?

Tonya
Posts: 914
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Purge old file versions

Post by Tonya » Wed May 08, 2019 2:21 pm

Thank you for inquiry. You are correct, this feature has not yet been implemented. Unfortunately, it was not a feature request in high demand. I will update the feature requset to include your latest interest.

Thanks,

Tonya

BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Re: Purge old file versions

Post by BigBrett » Thu May 09, 2019 10:13 pm

Would also dearly love this function. Our database is just growing and really needs to be trimmed to a working size. Please add a few votes from me.

Tonya
Posts: 914
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Purge old file versions

Post by Tonya » Fri May 10, 2019 7:58 am

Will do! Thanks again for the feedback.

Tonya

BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Re: Purge old file versions

Post by BigBrett » Thu Aug 12, 2021 12:04 am

Another 2 years on and still nothing.

Please, our database is growing with unwanted files that were deleted but which cannot be purged due to "branch exists" problems.

Would dearly love to get rid of these files as they are no longer relevant, we don't care about the history for these particular files, and they are just taking up space in the DB.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: Purge old file versions

Post by jclausius » Thu Aug 12, 2021 7:37 am

IN case your wondering why no action, new functionality is considered based by feedback here and through the Tech Support Dept. @BigBrett, I've updated the feature request with some more activity. If others opine, this would help as well.

In the meantime, just thinking off the top of my head, as you would have to run a test, but if there was only one branch point, you could share the file right after the branch, share-branch on that file. Then might be able to delete and obliterate the file. Are the files branches of branches of branches... ? If so, then that idea won't work. Otherwise, I can investigate this over the next few days. Please let me know.
Jeff Clausius
SourceGear

BigBrett
Posts: 218
Joined: Wed Feb 01, 2006 8:45 am

Re: Purge old file versions

Post by BigBrett » Thu Aug 12, 2021 7:55 am

We're talking branches of branches of branches ....

Mostly we have a problem with 3rd party DLLs (obviously binary files) that contain version numbers in their names. We go through a release branch or two before we get new versions from suppliers. We add the new version to the current release and delete the old version because it is no longer valid in this current release.

After a few rounds we can no longer obliterate the old files from the current version because of branching. So we tend to carry deleted sets of non-essential DLLs in our various releases which are of no interest or use to us at all. Also exacerbated by the fact that we used to carry 32 and 64 bit versions of both debug and release builds of these DLLs.

I'm fairly sure we could reduce our DB size by a quarter to a half if we got rid of these files we no longer need.

Post Reply