Blob storage for Resco Cloud: Difference between revisions
Appearance
| Line 27: | Line 27: | ||
# Select '''Settings > Organization''' from the menu. | # Select '''Settings > Organization''' from the menu. | ||
# Click '''Blob Storage'''. | # Click '''Blob Storage'''. | ||
# Click '''Transfer Blobs'''. | # Click '''Transfer Blobs'''. If blob storage is configured and the organization has enabled some fields for blob storage, the server schedules the job 'ExportLocalBlobsToBlobStorage' that transfers all blobs of configured size from the database to the configured blob storage. | ||
# Click '''Processes Center > Logs''' to check the status of the job. | |||
[[Category:Resco Cloud]] | [[Category:Resco Cloud]] | ||
Revision as of 13:09, 13 September 2022
Database space can be expensive. In Resco Cloud, you can use external storage for binary documents to save database space and money.
Select fields
Using the Admin Console, enable blob storage for fields that should be stored externally.
- Select Data > Entities from the menu.
- Click the entity that stores binary documents, for example, Note (annotation).
- Click the field that should be stored externally to display its details.
- Enable Blob storage.
- Save all changes.
Repeat the procedure for all fields that you want to store outside of the database.
Set up the storage
Before you can use external storage, you have to connect your organization to it.
- Select Settings > Organization from the menu.
- Click Blob Storage.
- Select the Blob Storage Type, for example, "Azure Storage" or "Amazon S3".
- Enter the connection details.
- Set the Minimal Blob Size. Smaller documents stay in the database, larger ones are stored externally.
- Save all changes.
Migrate documents
When you set up the storage for the first time or when you modify the minimal blob size, you can migrate your existing documents to the correct storage.
- Select Settings > Organization from the menu.
- Click Blob Storage.
- Click Transfer Blobs. If blob storage is configured and the organization has enabled some fields for blob storage, the server schedules the job 'ExportLocalBlobsToBlobStorage' that transfers all blobs of configured size from the database to the configured blob storage.
- Click Processes Center > Logs to check the status of the job.