net.sf.farrago.syslib
Class FarragoSystemRestore
java.lang.Object
net.sf.farrago.syslib.FarragoSystemRestore
public class FarragoSystemRestore
- extends Object
FarragoSystemRestore implements restore of the Farrago catalog and Fennel
data from a previously created backup.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/syslib/FarragoSystemRestore.java#6 $
- Author:
- Zelaine Fong
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tracer
private static final Logger tracer
archiveDirectory
private String archiveDirectory
dbDatSize
Long dbDatSize
backupType
FarragoBackupType backupType
lowerBoundCsn
Long lowerBoundCsn
upperBoundCsn
Long upperBoundCsn
isCompressed
Boolean isCompressed
timingTracer
private EigenbaseTimingTracer timingTracer
FarragoSystemRestore
public FarragoSystemRestore(String archiveDirectory)
restoreDatabase
public void restoreDatabase(boolean includeCatalog)
throws Exception
- Restores the database from a backup, optionally restoring the catalog.
- Parameters:
includeCatalog
- if true, also restore the catalog data
- Throws:
Exception
restoreFennelData
private void restoreFennelData(FennelExecutionHandle execHandle,
FarragoDatabase db)
throws Exception
- Throws:
Exception
restoreCatalog
private void restoreCatalog(FarragoReposTxnContext reposTxnContext,
FarragoRepos repos)
throws Exception
- Throws:
Exception
readPropertyFile
private void readPropertyFile()
throws Exception
- Throws:
Exception
checkMissingProperty
private void checkMissingProperty(String name,
Object val)