Configuring a file store for an existing object store
This example shows you how to configure a file store for an existing object store by using a file system path or a mount path.
About this task
When you create an object store by using createObjectStoreForContent, a database storage area is used by default. However, other storage options are available for creating an object store or for creating additional storage areas. For more information about the storage options, see Storage area types.
By default, when an object store is created using a database storage area, a Default Database Storage Area and a Default Database Storage Policy are created. For the purposes of this example, say an object store named NEWDB already exists. In the NEWDB object store, the Storage Areas folder contains the Default Database Storage Area, and the Storage Policies folder contains the Default Database Storage Policy.
- Create a file store.
- Update the Default Database Storage Policy with the new file store.
- Remove the Default Database Storage Area from the Default Database Storage Policy.
- Create a document to store in the new file store.