com.atlassian.jira.index.ha.IndexRecoveryService |
![]()
|
Manager to recover an index from a previous index backup
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the schedule configured for taking recovery snapshots
| |||||||||||
Is index recovery enabled.
| |||||||||||
Recovers an index from an index backup
| |||||||||||
Update the recovery settings
| |||||||||||
Validate the passed in file to be a valid zip file containing a set of Lucene Index directories.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Get the schedule configured for taking recovery snapshots
user | the logged in user |
---|
Is index recovery enabled.
Recovers an index from an index backup
user | the logged in user |
---|---|
context | Context |
recoveryFilename | The backup file |
IndexException | If we are unable to recover the index |
---|
Update the recovery settings
user | the logged in user |
---|---|
recoveryEnabled | is recovery enabled |
cronExpression | Schedule at which to take snapshots |
Exception |
---|
Validate the passed in file to be a valid zip file containing a set of Lucene Index directories.
user | the logged in user |
---|---|
zipFile | File to validate |