Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

Reduce the size of SVN repos or cleanup revsion

Spread the Knowledge

rajeshkumar created the topic: Reduce the size of SVN repos or cleanup revsion
How to reduce the Repos size drastically without impacting the integrity and version of the files?

How to cleanup and Reduce the size of SVN repos?
The way Subversion and CVS work is that they keep an entire history of changes, including deleted files, binary files, etc. Each revision is dependent on the last revision, so you can’t just delete and oblitrate out a revision somewhere in the middle or we corrupt repository.

There are few things we can do if we are running out of space…

Option 1: Dump and load to new repos
Removing old revisions kind of defeats the point of version control so it is not recommended but Dump out the revisions you want to keep, then put them into a new repo, and delete the old one.
New repos should be set with latest svn release which will take less disk size.
svnadmin dump /path/to/current/repo -r48:50 > svn.dump
svnadmin create /path/to/new/repo
svnadmin load /path/to/new/repo < svn.dump svnbook.red-bean.com/en/1.7/svn.ref.svnadmin.c.dump.html
svnbook.red-bean.com/en/1.7/svn.ref.svnadmin.c.load.html

Option 2: svndumpfilter
Use svndumpfilter to include/exclude the particular bits you want. svndumpfilter is a command-line utility for removing history from a Subversion dump file by either excluding or including paths beginning with one or more named prefixes.
svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.1.3

Option 3:svnsync
replicate the repository with svnsync after configuring path-based authorization rules that deny read access to any paths that need to be filtered from history. Unlike svndumpfilter, svnsync will automatically translate copy operations with an unreadable source path into normal additions, which is useful if history involving copy operations needs to be filtered.

svnbook.red-bean.com/en/1.7/svn.reposadm…in.maint.replication
svnbook.red-bean.com/en/1.7/svn.serverco….pathbasedauthz.html
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Rajesh Kumar