A weekly backup defined for the default location $ARTIFACTORY_HOME/backup/<backup-tag> is not able to determine free space in that location correctly.
200GB volume for $ARTIFACTORY_HOME > 50% used space
Default weekly backup is in $ARTIFACTORY_HOME/backup/<backup-tag>
$ARTIFACTORY_HOME/backup is a bind mount into the container with 22TB free space
Backup fails as BackupSizeCalculator calculates free space in $ARTIFACTORY_HOME and not $ARTIFACTORY_HOME/backup.
Docker commands exec-ed in container demonstrate that corresponding shell commands would give a sensible result - so not sure how BackupSizeCalculator comes to its result.
2019-11-04 13:39:41,722 [http-nio-8081-exec-4] [INFO ] (o.a.b.BackupSizeCalculator:106) - Free space available for backup: 102842097664
[root@owlservlx25 artifactory]# docker-compose exec artifactory df /var/opt/jfrog/artifactory
Filesystem 1K-blocks Used Available Use% Mounted on
209612800 109181004 100431796 52% /var/opt/jfrog/artifactory
(100431796*1024 is figure reported by BackupSizeCalculator above)
However space free in /var/opt/jfrog/artifactory/backup is nearly 22TB.
[root@owlservlx25 artifactory]# docker-compose exec artifactory df -h /var/opt/jfrog/artifactory/backup
Filesystem Size Used Available Use% Mounted on
63.7T 41.9T 21.8T 66% /var/opt/jfrog/artifactory/backup