subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil Bakshi" <Anil.Bak...@aptaracorp.com>
Subject RE: Parmently removing directory from server to make space
Date Tue, 26 Mar 2013 12:49:54 GMT
Thanks Stefan,

Finally I am able to see the difference in size of filtered dump file.

You really helped me lot. Thanks again.

Regards,

Anil Kumar Bakshi

Sr. Multimedia Programmer | Education and Learning

 

Aptara, Inc. | Transforming Content into Knowledge

anil.bakshi@aptaracorp.com | aptaracorp.com

A-28, Mohan Cooperative Industrial Estate, 

Mathura Road | New Delhi - 110044 | India

Mobile +91 9818907948

 


-----Original Message-----
From: Stefan Sperling [mailto:stsp@elego.de] 
Sent: Tuesday, March 26, 2013 4:29 PM
To: Anil Bakshi
Cc: Grierson, David; users@subversion.apache.org
Subject: Re: Parmently removing directory from server to make space

On Tue, Mar 26, 2013 at 04:14:38PM +0530, Anil Bakshi wrote:
> Thanks Stefan, I will try with forward slashes. One more thing.
> 
> In httpd.conf file. I have set the below variable.
> 
> SVNParentPath C:\SVNData\svn
> 
> So repo browser path is:
> http://delhicvs.ind.aptaracorp.com:8080/svn/database/E_Learning/Develo
> pm
> ent/Project1
> 
> Do I using the correct path in below example.
> 
> svndumpfilter exclude /database/E_Learning/Development/Project1  < 
> repo.dump > filteredDump.dump

I cannot tell exactly because you haven't provided the <Location>
tatements of your httpd config that contains the SVNParentPath
directive.

Assuming you are using <Location /svn>, it seems the name of your
repository is 'database'.

Dump files contain only paths which are *inside* the repository, i.e.
paths shown by a command such as:
  svn ls http://delhicvs.ind.aptaracorp.com:8080/svn/database

It seems E_Learning is a directory in the root directory of the
repository, so filtering the dump file should probably look like this:

svndumpfilter exclude /E_Learning/Development/Project1  < repo.dump >
filteredDump.dump

However, if you were using <Location /svn/database> or <Location
/svn/database/E_Learning> the paths inside the dump file would be
different.

If you don't really understand how this all works, I suggest that you
create a small repository to test with and try out some commands until
you understand their behaviour, and then tackle the time intensive task
of filtering large dump files.

This section of the book might also be useful:
http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.html#svn.reposad
min.maint.filtering

Mime
View raw message