Jump to content
Sign in to follow this  
dom

Deleting files from plastic

Recommended Posts

Hi, I've checked in some data files, which seemed like a good idea at the time. Now my repository is massive and I want to be rid of them. Is it possible to delete files out of plastic, including the history to reduce the sync size?

Share this post


Link to post
Share on other sites

Hi,

Is this a locally hosted Plastic server? What is your database backend? For a local server (if not using Jet) you can use the archive feature:

https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide#Chapter10:Archivingrevisions

When you archive a revision from the DB you are actually removing 20MB from the database but the db engine will keep those 20MB allocated for further insertions, so the disk spot is actually not released.

I'm not 100% sure about sqlite, but SqlServer, for example, is able to "repack" the database defragmenting the unused spots. Re-writing the database will also release disk, dumping a backup and importing it will do it, replicating the repo to another one will do it too.

It's in our roadmap to support archiving revisions in Jet and then repack the database but I'm afraid it's not yet scheduled for the near future.

Regards,

Carlos.
 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...