ARTIFACTORY: How to address error: Not enough free space to perform backup

AuthorFullName__c
Venu Reddy
articleNumber
000005328
FirstPublishedDate
2022-07-07T09:28:17Z
lastModifiedDate
2025-05-15

ARTIFACTORY: How to address error: Not enough free space to perform backup

Subject

Backup operation results in the error:
Not enough free space to perform backup. A threshold for max used space is exceeded before the backup
 

Description 

Even when the path configured for “Server Path For Backup” has enough disk space to accommodate the backup operation, it may still fail with the error:

Not enough free space to perform backup. A threshold for max used space is exceeded before the backup

The function of the backup job is to check the total filesystem usage on the configured backup mount. The configurable option "verify enough disk space is available for backup" will check if there is enough space to write the backup file to the filesystem against the configured threshold value (which is by default set to 90%). A new improvement introduced in Artifactory 7.27.3 checks if the filesystem is already at the configured threshold, and will stop any backup tasks if it finds that it is at or above this value. Even if there is enough space to write to the filesystem, it will just block any backup operation.

Resolution

One can modify the threshold value by adding or modifying the following property in the $JFROG_HOME/var/etc/artifactory/artifactory.system.properties file. For the change to be effective, Artifactory service will have to be restarted.

artifactory.backup.maxUsedSpacePercent=<Desired value between 90 and 100>


 
Important Note: If you set the parameter to 100, Artifactory will not disable writing backups based on the total filesystem usage, which can lead to 100% utilization.