Configuring an alternative repository storage
This page explains how to set up an alternative storage on a repository.
When you add a Standard D1 repository, it is created with the default settings for content storage. These settings define where binary resources are stored. These settings are determined by the ADX_DEFAULT_STORAGE_CONTENT_TYPE
and ADX_DEFAULT_STORAGE_CONTENT_PATH
runtime properties. However, you can also set up alternative storage locations and easily move repository contents into these locations.
To configure an alternative storage
Log in to D1, and open the D1 Administrator:
Click Repositories to open the repositories query view.
Click Details to open repository configuration form.
Find Additional Content Storages in the Connection section. Click Add - a list of available storage types appears.
Select the storage type you want to use:
- DbStorageConfiguration - select to configure database storage
- FsStorageConfiguration - select to configure file system storage.
If you choose FsStorageConfiguration and you enter a relative path, then the path is set to
ADx_Installation_Directory/repository-resources/content/your-relative-path
unlessADX_DEFAULT_STORAGE_CONTENT_PATH
is set to a different path. In this case, the path isADX_DEFAULT_STORAGE_CONTENT_PATH/your-relative-path
. - GcpStorageConfiguration - select to configure storage on Google Cloud Platform
- S3StorageConfiguration - select to configure storage on Amazon S3
Provide the information required by selected storage type. If you need detailed information, please check the tooltips on each field.
When you're done, click Apply to save your changes.
Synchronize the repository. Your changes are now live.
The following video shows how to add an alternative storage:
Note that some of the UI components shown in this video might have changed as the video was created based on a older version of the D1.
When you're done configuring repository storage, you can move your files into it using the dedicated relocation features. For detailed information, see the following pages:
- Relocating individual contents - asynchronous job relocating all contents to a given storage.
- Relocating all repository contents - synchronous job relocating individual content to a given storage.