|
|
|
buildOptions(self)
basic options setup sub classes can add more options here |
source code
|
|
|
getSettings(self)
Retrieve some options from settings file We want to take them in the
following priority: |
source code
|
|
|
getSqlFile(self,
filename)
Find path to sql file in backup, trying gzipped versions Returns path
to real file, or none if nothing found |
source code
|
|
|
restoreMySqlDb(self,
host,
port,
db,
user,
passwd,
sqlFile,
socket=None)
Create MySQL database if it doesn't exist. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
doRestore(self)
Restore from a previous backup |
source code
|
|
|
|