Updating Octopus to put files on a drive other than the C drive

The person that set up Octopus set it up so that all files go to the C drive on our Windows 2012 server. This should not have
been done. Is there a way to update Octopus so that files go to the E drive?

Hi Michael,

Thanks for reaching out. This is the doc you should be looking at: https://octopus.com/docs/administration/server-configuration-and-file-storage/moving-octopus-server-folders

If you are not sure on what exactly should you be moving, let me know in more detail which files you want to go to the E drive. Sharing a screenshot of these files or the current path in disk would be optimal.

Thanks!
Dalmiro

I have attached a screen shot of our Octopus folders. Do I want to move
all of them? Will moving the home folder move all of them? Or do I have to
move each folder separately. Which folders would you recommend we move?

Octopus_folders.docx (188 KB)

Hi Michael,

Disclaimer: Before moving anything, I strongly recommend you to setup another Octopus instance someplace else to play around with the commands shown in the documentation until you feel comfortable using them


You can break this down into 4 parts:

1) The Home Folder:

This folder decides where your Server.config file, Server Logs, Package Cache and Application Directory resides. Application Directory and Package Cache would be the bulkier of the list.

How to move: https://octopus.com/docs/administration/server-configuration-and-file-storage/moving-octopus-server-folders#MovingOctopusServerfolders-OctopusHomeMoveOctopusHomefolder

2) The built-in package repository folder

If you are pushing packages to the Octopus server built-in repository, they will all be sitting in this folder.

How to move: https://octopus.com/docs/administration/server-configuration-and-file-storage/moving-octopus-server-folders#MovingOctopusServerfolders-NuGetRepositoryMoveNuGetrepositoryfolder

3) The Artifacts Folder

If you are creating plenty of artifacts during your deployments, this folder can get bulky too.

How to move: https://octopus.com/docs/administration/server-configuration-and-file-storage/moving-octopus-server-folders#MovingOctopusServerfolders-ArtifactsMoveartifactsfolder

4) The Task Logs Folder

Every time the Octopus server creates a task, It’ll create a file on this folder. This one will for sure occupy some space and I recommend you to move it if you don’t feel comfortable with the C drive.

How to move: https://octopus.com/docs/administration/server-configuration-and-file-storage/moving-octopus-server-folders#MovingOctopusServerfolders-TaskLogsMovetasklogsfolder


You can move any of the above at any time, one at a time.

Hope that helps!

Dalmiro

Dalmiro
Thank you so much. This worked like a charm.
Michael Gantz

Glad to hear that!

Cheers