Custom storage provider and profile
You can create custom sets of storage providers and profiles to use with the xConnect Data Export Tool. You use custom providers to export data into your own storage environments, such as a NAS or a cloud provider that Sitecore does not include by default.
To create a custom set:
-
In Visual Studio, create a new project. Make sure it inherits the
IStorageProviderinterface. Define the logic for how data files are stored in the intended storage. For example: -
Create a storage profile. The storage profile must inherit the
IStorageProfileinterface that requires only a profile name property to be specified. For example: -
In the storage profile, add the required properties for the storage provider type.
The profiles must be injected into the Storage Provider, the UploadAsync method is responsible for getting proper profile by the specified profile name to get the storage settings.