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 10:23:11 GMT
Thanks David,

 

I tried the svndumpfilter with exclude command.

 

Example: svndumpfilter exclude \database\E_Learning\Development\Project1
< repo.dump > filteredDump.dump

 

It takes 1-2 hours. But after that  repo.dump and filteredDump.dump have
the same size. Both shows 86 GB.

 

It will be great if can help me on this.

 

I agree with you on testing advice first before implementing it. But
sometimes even genius do silly mistakes. J

 

 

 

Regards,

Anil Kumar Bakshi

Sr. Multimedia Programmer | Education and Learning

 

Aptara, Inc. | Transforming Content into Knowledge

anil.bakshi@aptaracorp.com <mailto:anil.bakshi@aptaracorp.com>  |
aptaracorp.com <http://www.aptaracorp.com/> 

A-28, Mohan Cooperative Industrial Estate, 

Mathura Road | New Delhi - 110044 | India

Mobile +91 9818907948

 

From: Grierson, David [mailto:David.Grierson@bskyb.com] 
Sent: Tuesday, March 26, 2013 3:34 PM
To: Anil Bakshi; users@subversion.apache.org
Subject: RE: Parmently removing directory from server to make space

 

You need to dump, filter and load your repositories to remove the
directories you want rid of ...

 

If your server is out of space you will likely run into issues though
because the act of loading needs to be performed into a new repository
which will result in you (temporarily) increasing your disk usage before
you can remove the old repository.

 

Anyway the process would be something like:

# create the target repository

svnadmin create /path/to/new-repository

 

# dump the old repository, filter OUT the paths you want excluded & load
them to the new repo

svnadmin dump /path/to/old-repository | \

     svndumpfilter --drop-empty-revs --renumber-revs exclude \

          Database/E_Learning/Development/Project_1

          Database/E_Learning/Development/Project_2 | \

    svnadmin load /path/to/new-repository

 

Obviously YMMV and you should always test any advice provided on an open
mailing list prior to applying to a production environment.

 

Dg.

________________________________

--
David Grierson <http://amsdatapp244.bskyb.com:8080/display/~DGR02/>  -
Tools Specialist 

Sky Broadcasting - Customer Business Systems - SDLC Tools

Tel: +44 1506 325100 / Email: David.Grierson@bskyb.com / Chatter: CBS
SDLC Tools
<https://bskyb.my.salesforce.com/_ui/core/chatter/groups/GroupProfilePag
e?g=0F9200000008Z8b> 

Watermark Building, Alba Campus, Livingston, EH54 7HH

 

 

From: Anil Bakshi [mailto:Anil.Bakshi@aptaracorp.com] 
Sent: 26 March 2013 07:25
To: users@subversion.apache.org
Subject: Parmently removing directory from server to make space

 

Hi Team,

 

We have configured the subversion on window system and using it since
last year.

 

Now our server is out of space and we decide to permanently remove few
projects from server. We will keep these project in DVDs.

 

I searched for this on web but not able to found any fruitful answer. I
tried svn dump and svndumpfilter.

 

Please help me with how I can permanently remove directory from server.
I don't want to keep any revision or history of those directories.

 

These directories have multiple level of sub-directories and files. I
want to remove all.

 

Folder structure:

Database/E_Learning/Development/Project_1

Database/E_Learning/Development/Project_2

Database/E_Learning/Development/Project_3

Database/E_Learning/Development/Project_4

Database/E_Learning/Development/Project_5

Database/E_Learning/Development/Project_6

 

I want to delete Project 1 and 2.

 

Subversion details: Setup-Subversion-1.6.6

Configured on: Window XP

Apache: Version 2.0

 

 

Regards,

Anil Kumar Bakshi

Sr. Multimedia Programmer | Education and Learning

 

Aptara, Inc. | Transforming Content into Knowledge

anil.bakshi@aptaracorp.com <mailto:anil.bakshi@aptaracorp.com>  |
aptaracorp.com <http://www.aptaracorp.com/> 

A-28, Mohan Cooperative Industrial Estate, 

Mathura Road | New Delhi - 110044 | India

Mobile +91 9818907948

 


Information in this email including any attachments may be privileged,
confidential and is intended exclusively for the addressee. The views
expressed may not be official policy, but the personal views of the
originator. If you have received it in error, please notify the sender
by return e-mail and delete it from your system. You should not
reproduce, distribute, store, retransmit, use or disclose its contents
to anyone. Please note we reserve the right to monitor all e-mail
communication through our internal and external networks. SKY and the
SKY marks are trade marks of British Sky Broadcasting Group plc and are
used under licence. British Sky Broadcasting Limited (Registration No.
2906991), Sky Interactive Limited (Registration No. 3554332),
Sky-In-Home Service Limited (Registration No. 2067075) and Sky
Subscribers Services Limited (Registration No. 2340150) are direct or
indirect subsidiaries of British Sky Broadcasting Group plc
(Registration No. 2247735). All of the companies mentioned in this
paragraph are incorporated in England and Wales and share the same
registered office at Grant Way, Isleworth, Middlesex TW7 5QD. 


Mime
View raw message