Package Products :: Package ZenUtils :: Module ZenRestore :: Class ZenRestore
[hide private]
[frames] | no frames]

Class ZenRestore

source code

??-1933 --+
          |
         ZenRestore

Instance Methods [hide private]
 
__init__(self) source code
 
buildOptions(self)
basic options setup sub classes can add more options here
source code
 
getSettings(self, tempDir)
Retrieve some options from settings file
source code
 
createMySqlDb(self)
Create the events schema in MySQL if it does not exist.
source code
 
restoreEventsDatabase(self, tempDir)
Restore the MySQL events database
source code
 
doRestore(self)
Restore from a previous backup
source code
Method Details [hide private]

createMySqlDb(self)

source code 

Create the events schema in MySQL if it does not exist. Return true if the command was able to complete, otherwise (eg permissions or login error), return false.