You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Chris Stankevitz <cs...@toyon.com> on 2007/11/14 03:00:49 UTC

12 GB repo - need to destroy files

I have a 12GB repo and 40 users.  I have a list of 500 or so large files 
I would like to delete or "zero length" to conserve hard space on the 
server.  Is it possible do do this in a way that does not require users 
to re-checkout?

My two ideas:

1. Re-checkout not required
a) stop server
b) dump
c) replace bad files with a single character (anyone have a tool that 
does this?)
d) load
e) start server

2. Re-checkout required
a) have everyone commit their work
b) have everyone delete svn checkouts from their hard drive
c) stop server
d) dump
e) eliminate bad files
f) load
g) start server
h) have everyone re-checkout files

Thanks,

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: 12 GB repo - need to destroy files

Posted by Blair Zajac <bl...@orcaware.com>.
Chris Stankevitz wrote:
> 
> I have a 12GB repo and 40 users.  I have a list of 500 or so large files 
> I would like to delete or "zero length" to conserve hard space on the 
> server.  Is it possible do do this in a way that does not require users 
> to re-checkout?
> 
> My two ideas:
> 
> 1. Re-checkout not required
> a) stop server
> b) dump
> c) replace bad files with a single character (anyone have a tool that 
> does this?)
> d) load
> e) start server

That won't work since a client that has it checked out will have the wrong 
checksums for the file, unless you can ensure that any checkouts do not have the 
files you are trying to remove.

> 2. Re-checkout required
> a) have everyone commit their work
> b) have everyone delete svn checkouts from their hard drive
> c) stop server
> d) dump
> e) eliminate bad files
> f) load
> g) start server
> h) have everyone re-checkout files

That's the safe way.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<bl...@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: 12 GB repo - need to destroy files

Posted by Martin Schröder <ma...@oneiros.de>.
2007/11/14, Chris Stankevitz <cs...@toyon.com>:
> I have a 12GB repo and 40 users.  I have a list of 500 or so large files
> I would like to delete or "zero length" to conserve hard space on the
> server.  Is it possible do do this in a way that does not

Sorry, but have you checked prices for hard discs lately? And is your
salery so low that doing this really saves money?

Best
   Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org