public class DatabaseRestoreRequest extends Object
Constructor and Description |
---|
DatabaseRestoreRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getBackupLocation()
Path to directory where backup lies.
|
String |
getDatabaseLocation()
Path to the directory of a new database.
|
String |
getDatabaseName()
Indicates what should be the name of database after restore.
|
String |
getIndexesLocation()
Path to directory where indexes lies (if null, then default location will be assumed).
|
String |
getJournalsLocation()
Path to directory where journals lies (if null, then default location will be assumed).
|
Integer |
getRestoreStartTimeout()
Maximum number of seconds to wait for restore to start (only one restore can run simultaneously).
|
boolean |
isDefrag()
Indicates if defragmentation should take place after restore.
|
boolean |
isDisableReplicationDestinations()
Indicates if all replication destinations should disabled after restore (only when Replication bundle is activated).
|
boolean |
isGenerateNewDatabaseId()
Indicates if restored database should have new Id generated.
|
void |
setBackupLocation(String backupLocation)
Path to directory where backup lies.
|
void |
setDatabaseLocation(String databaseLocation)
Path to the directory of a new database.
|
void |
setDatabaseName(String databaseName)
Indicates what should be the name of database after restore.
|
void |
setDefrag(boolean defrag)
Indicates if defragmentation should take place after restore.
|
void |
setDisableReplicationDestinations(boolean disableReplicationDestinations)
Indicates if all replication destinations should disabled after restore (only when Replication bundle is activated).
|
void |
setGenerateNewDatabaseId(boolean generateNewDatabaseId)
Set if restored database should have new Id generated.
|
void |
setIndexesLocation(String indexesLocation)
Path to directory where indexes lies (if null, then default location will be assumed).
|
void |
setJournalsLocation(String journalsLocation)
Path to directory where journals lies (if null, then default location will be assumed).
|
void |
setRestoreStartTimeout(Integer restoreStartTimeout)
Maximum number of seconds to wait for restore to start (only one restore can run simultaneously).
|
public boolean isGenerateNewDatabaseId()
public void setGenerateNewDatabaseId(boolean generateNewDatabaseId)
generateNewDatabaseId
- public boolean isDisableReplicationDestinations()
public void setDisableReplicationDestinations(boolean disableReplicationDestinations)
disableReplicationDestinations
- public Integer getRestoreStartTimeout()
public void setRestoreStartTimeout(Integer restoreStartTimeout)
public String getBackupLocation()
public void setBackupLocation(String backupLocation)
backupLocation
- public String getDatabaseLocation()
public void setDatabaseLocation(String databaseLocation)
databaseLocation
- public String getDatabaseName()
public void setDatabaseName(String databaseName)
public String getJournalsLocation()
public void setJournalsLocation(String journalsLocation)
public String getIndexesLocation()
public void setIndexesLocation(String indexesLocation)
public boolean isDefrag()
public void setDefrag(boolean defrag)
Copyright © 2016. All Rights Reserved.