2022-05-03T17:40:11.325Z [jfrt ] [ERROR] [917rg63xp7ra109y] [o.a.b.BackupJob:93 ] [art-exec-5 ] - Not enough free space to perform backup. A threshold for max used space is exceeded before the backupbackup-daily
Or,
2022-05-06T09:11:25.509Z [jfrt ] [ERROR] [3p0kd03xp9mm1za6] [o.a.b.BackupJob:93 ] [art-exec-4 ] - Not enough free space to perform backup. A threshold for max used space is going to be exceeded after the backupbackup-daily
This occurs when at least 90% of the storage space is being used, or if this percent will be used after the backup process is done. You may change this percent with this system property:
artifactory.backup.maxUsedSpacePercent=90
2. Permissions on the backup folder. If the target backup folder has wrong permissions, the log should look like this:
2022-05-13T00:14:58.686Z [jfrt ] [ERROR] [472240fd3fa241ad] [o.a.b.BackupSizeCalculator:98 ] [art-exec-24 ] - Can't estimate free space in backup target location path. Skipping a check for 'max used space before backup' threshold.
java.nio.file.AccessDeniedException: /root/bkp
…
2022-05-13T00:14:58.690Z [jfrt ] [ERROR] [472240fd3fa241ad] [o.a.b.BackupJob:136 ] [art-exec-24 ] - An error occurred while performing a backup: Backup directory provided in configuration: '/root/bkp' cannot be created or is not a directory.
Or:
2022-05-13T00:18:45.625Z [jfrt ] [ERROR] [a732bc8d69a31063] [ifactoryApplicationContext:768] [art-exec-6 ] - Failed to create backup dir: /opt/jfrog/artifactory/var/backup/artifactory/backup-daily/current: Unable to create directory /opt/jfrog/artifactory/var/backup/artifactory/backup-daily/current
In order to overcome this, make sure that the user who starts Artifactory has sufficient permissions to create the desired backup directory.
3. NFS unavailable. In some cases, you will want to save the backup content in an NFS share volume. Therefore, this NFS mount should be available throughout the backup process.
*Note: log messages may vary between Artifactory versions.
If your backup is failing and you still can't find the reason, please contact JFrog Support via the Support Portal.
Or,
2022-05-06T09:11:25.509Z [jfrt ] [ERROR] [3p0kd03xp9mm1za6] [o.a.b.BackupJob:93 ] [art-exec-4 ] - Not enough free space to perform backup. A threshold for max used space is going to be exceeded after the backupbackup-daily
This occurs when at least 90% of the storage space is being used, or if this percent will be used after the backup process is done. You may change this percent with this system property:
artifactory.backup.maxUsedSpacePercent=90
2. Permissions on the backup folder. If the target backup folder has wrong permissions, the log should look like this:
2022-05-13T00:14:58.686Z [jfrt ] [ERROR] [472240fd3fa241ad] [o.a.b.BackupSizeCalculator:98 ] [art-exec-24 ] - Can't estimate free space in backup target location path. Skipping a check for 'max used space before backup' threshold.
java.nio.file.AccessDeniedException: /root/bkp
…
2022-05-13T00:14:58.690Z [jfrt ] [ERROR] [472240fd3fa241ad] [o.a.b.BackupJob:136 ] [art-exec-24 ] - An error occurred while performing a backup: Backup directory provided in configuration: '/root/bkp' cannot be created or is not a directory.
Or:
2022-05-13T00:18:45.625Z [jfrt ] [ERROR] [a732bc8d69a31063] [ifactoryApplicationContext:768] [art-exec-6 ] - Failed to create backup dir: /opt/jfrog/artifactory/var/backup/artifactory/backup-daily/current: Unable to create directory /opt/jfrog/artifactory/var/backup/artifactory/backup-daily/current
In order to overcome this, make sure that the user who starts Artifactory has sufficient permissions to create the desired backup directory.
3. NFS unavailable. In some cases, you will want to save the backup content in an NFS share volume. Therefore, this NFS mount should be available throughout the backup process.
*Note: log messages may vary between Artifactory versions.
If your backup is failing and you still can't find the reason, please contact JFrog Support via the Support Portal.