I'm near my quota. How do I reduce my disk usage? | projectlocker

I'm near my quota. How do I reduce my disk usage?

Revision control systems are designed to keep history forever. As such, deleteing files from the repository via commits does not actually reduce the size of your repository. There are two ways to reduce the storage space:

Method 1: Export and Start from Today

  1. Run "svn export" to get a copy of the current state of the repository.
  2. Run "svnrdump" or take a downloadable backup to get a copy of the whole repository for your records.
  3. Contact ProjectLocker Support to have us reset your repository. Once we reset, your history will no longer be accessible, so step 2 is critical.
  4. Run "svn import" to import the copy that you exported.
  5. Check out a new working copy and proceed.
Method 2: Dump, Filter, Reload

  1. Run "svnrdump" or take a downloadable backup to get a copy of the whole repository for your records.
  2. Back up this dump file! Once you're done, this will be the only copy of your complete history.
  3. Run "svndumpfilter" to filter the dump file (some details on this concept are at http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering). We do not provide support for svndumpfilter, so please proceed with caution.
  4. Test the filtered dump file against a local Subversion repository to ensure that the data is loadable.
  5. Contact ProjectLocker Support to have us reset your repository. This will ensure you have enough space to load the new filtered file.
  6. Use "Add Code To ProjectLocker" to upload the new dump file. If you have any issues uploading the file and the load in step 4 was successful, contact ProjectLocker Support.
  7. Assuming step 6 loads successfully, check out a new working copy and proceed.