Deletion and Backing-up of Elastic Index Data:
You can configure the settings for deletion and backing up of elastic index data. The default configuration is present in Vanguard's appsettings.json file.
The DeleteDocsTTLdays is time to live (in days) for a document in the index. After this no of days, data will be deleted from that index.
By default, the configuration of 6 elastic indices is added, 5 of them are enabled. The data from those 5 indices is deleted if it is older than configured number of days.
Index name |
TTL days (time to live) |
Data auto-archival enabled |
rpa-automationrequest |
7 |
Yes |
rpa-apm-* |
30 |
Yes |
rpa-trigger-request |
7 |
Yes |
rpa-notification |
7 |
Yes |
rpa-activitylog |
7 |
Yes |
rpa-txn-steps* |
7 |
No |
You can take a back-up (i.e., elastic snapshot) for your configured indices.
To save an elastic-snapshot:
- Set TXNSTORE_REPO_PATH in ae.properties file present at << Installation Directory\ AssistEdgeAutomation>>\scripts.
- Restart your services.
- Register elastic repository (in which you want your snapshots to be saved) using an elastic rest call. In the request, provide suitable name for the repository and the path same as configured in TXNSTORE_REPO_PATH.
- Set SnapshotRepositoryName as your registered repository name.
- Set SnapshotRequired as true and IsActive as true.
NOTE: |
|