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

Class ZenBackupBase

source code

CmdBase.CmdBase --+
                  |
                 ZenBackupBase
Known Subclasses:
ZenRestore.ZenRestore, ZenBackup.ZenBackup

Instance Methods [hide private]
 
__init__(self, noopts=0) source code
 
msg(self, msg)
If --verbose then send msg to stdout
source code
 
buildOptions(self)
basic options setup sub classes can add more options here
source code
 
getPassArg(self)
Return string to be used as the -p (including the "-p") to mysql commands
source code
 
getTempDir(self)
Return directory to be used for temporary storage during backup or restore.
source code
 
getRepozoPath(self)
Return path to repozo.py This is usually $ZENHOME/bin/repozo.py, but on the appliance it is $ZOPEHOME/bin/repozo.py
source code

Inherited from CmdBase.CmdBase: buildParser, generate_configs, generate_xml_table, parseOptions, pretty_print_config_comment, setupLogging

Class Variables [hide private]
  doesLogging = False
Method Details [hide private]

__init__(self, noopts=0)
(Constructor)

source code 
Overrides: CmdBase.CmdBase.__init__

buildOptions(self)

source code 
basic options setup sub classes can add more options here
Overrides: CmdBase.CmdBase.buildOptions