Way to clean up Octopus Application folder

murugaboopathy.rathinasamy's Avatar

murugaboopathy.rathinasamy

31 Jan, 2018 10:36 AM

For every octopus release and deployment, octopus is creating multiple folders and files inside the octopus installation path (For us : C:\Octopus\Applications\Environment1\ <Multiple folders>. we understand that the octopus is placing the deployment packages under this location and doing release and deployment process.

These folders size is keep on increasing after every new release and deployments. In our case we are pushing 8 to 10 packages to octopus release for each releases, and we are performing parallel deployments on multiple environments. so that many folders are getting created in the specified location and octopus is keeping lot of files inside these folders. (Approximately, for us 5 GB of data is getting increased for each octopus release and deployments)

Because of this our server's directory (C:\ Drive) is getting full frequently. what is the best practice to handle this. Is there any feature or option in octopus to delete the old folders / files ? Or do we need to write some powershell script / program and schedule it to run on some particular day or date.

Thanks for considering this post

  1. Support Staff 1 Posted by Alex Rolley on 01 Feb, 2018 04:09 AM

    Alex Rolley's Avatar

    Hi Murugaboopathy,

    Thanks for getting in touch!

    It appears that what you are looking for is our retention policies. Are you able to have a look at the linked doc page and make sure you have this configured?

    Of you do and this is still an issue for you please let me know and I will be more than happy to assist!

    Regards,

    Alex

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac