Class Overview
Backs up the index to the shared home folder
Constants
public
static
final
String
BACKUP_INDEX
Constant Value:
"Backup Index"
public
static
final
String
BACKUP_INDEX_DONE
Constant Value:
"Index Backed Up"
Public Constructors
Public Methods
public
String
backupIndex
(String requestingNode)
Backs up all the index files from local home to a snapshot archive on the shared home.
Parameters
requestingNode
| Node requesting the index |
Returns
- the name of the backup file, or null if the backup did not occur
Backup an index for replicating to another node
Parameters
requestingNode
| Node requesting the index |
contribution
| an additional contribution to be added to the backup |
Returns
- the name of the backup file, or null if the backup did not occur
public
void
restoreIndex
(String filePath)
Restores a snapshot archive from the shared home into the local home.
Parameters
filePath
| path of the zip file containing the index backup.
|