dokaspar
dokaspar

Reputation: 8634

Is it safe to remove files in Nexus tmp folder?

While trying to clear up some disk space, I noticed that many Gigabytes of data lie around in the 'sonatype-work/nexus/tmp' folder. The biggest directory is called 'nexus-maven-repository-index.gz*.dir' and I am hesitating to remove it. Is that just a temporary and unused copy of the repository index which I can safely delete?

The documentation of the Nexus Directories does not provide sufficient information about the 'tmp' folder. It only says that it is the "Folder used for temporary storage".

Upvotes: 2

Views: 5354

Answers (1)

Manfred Moser
Manfred Moser

Reputation: 29912

It should be safe to delete this content. Please note that treatment of the tmp folder recently changed in the 2.8.1 release.

Also going forward you should use the Empty Trash scheduled task. See http://blog.sonatype.com/2009/09/nexus-scheduled-tasks/

Upvotes: 5

Related Questions