ARTIFACTORY: Migration from FileStore to NFS

ARTIFACTORY: Migration from FileStore to NFS

AuthorFullName__c
Harsh Veliyat
articleNumber
000005812
ft:sourceType
Salesforce
FirstPublishedDate
2023-07-12T11:19:15Z
lastModifiedDate
2023-07-12
VersionNumber
1

Artifactory supports several storage providers for binary storage such as NFS and cloud storage providers such as S3, Google Cloud Storage, Azure Blob Storage. The location where Artifactory stores binaries is called filestore. The default filestore location is “$JFROG_HOME/artifactory/var/data/artifactory/filestore” and it can be managed by configuring the binarystore.xml file located in “$JFROG_HOME/artifactory/var/etc/artifactory/binarystore.xml”. We can configure this file for Artifactory to use a network file system, local disks or any cloud storage provider as a filestore. It’s also possible to migrate the filestore as and when required by changing the binarystore.xml by pointing to the new storage provider, however we also need to migrate the data stored in the current filestore to the newer filestore else Artifactory would not serve the previously deployed artifacts and might have error as mentioned in this article. Here, we will demonstrate how to migrate from a local disk as a filestore to NFS.