OverviewArtifactory supports import and export of data on two levels: system-level and repository-level. On the system-level, Artifactory can export and import the whole Artifactory server - configuration, security information, stored data and metadata. The format used is identical to the system backup format. This is useful for manually running backups and for migrating and restoring a complete Artifactory instance (this is an alternative for using database level backup restore). On the repository-level, Artifactory can export and import repository stored data and metadata. This is useful for moving store data, including its metadata between repositories and for batch population of a repository. System Import and ExportSystem import and export can be access through
The source/target of the import/export operations are folders (or a zip archives - not recommended) on the Artifactory server itself.
Repositories Import and ExportSystem import and export can be access through
You can either export and import to and from server-side folders (browsable though Artifactory - see above), or import a repository by zipping it and uploading it to Artifactory. You can also import directly into caches and can even take your local Maven repository and upload it into Artifactory to make all your already-locally-stored artifacts available on the server. You can choose if to import multiple repositories ('All Repositories') or a single one. Import LayoutThe expected layout of an imported repository is in the format of a Maven 2 repository layout. When importing a single repository, the file structure within the folder you select should be similar to: When importing all repositories, the file structure within the folder you select should be similar to:
|
Importing and Exporting
Skip to end of metadata
Go to start of metadata
Labels:



1 Comment
Hide/Show CommentsDec 15, 2010
R Thomas
Be aware that a when an "Entire System" is imported, that includes the admin account, which, assuming you're logged in as admin to perform the import, could prevent you from logging in again as admin after the import. Be sure you know the admin login credentials of the "Entire System" being imported if they're different than the "Entire System" being overwritten. It would be helpful if Artifactory's "Import Entire-System" function displayed an additional warning before allowing the current admin user to proceed with an action that wipes out the very admin account being used to perform the import.