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

Class ZenBackupBase

CmdBase --+
          |
         ZenBackupBase

Known Subclasses:
ZenBackup, ZenRestore

Method Summary
  __init__(self, noopts)
  buildOptions(self)
basic options setup sub classes can add more options here
  getPassArg(self)
Return string to be used as the -p (including the "-p") to mysql commands
  getRepozoPath(self)
Return path to repozo.py This is usually $ZENHOME/bin/repozo.py, but on the appliance it is $ZOPEHOME/bin/repozo.py
  getTempDir(self)
Return directory to be used for temporary storage during backup or restore.
  msg(self, msg)
If --verbose then send msg to stdout
Inherited from CmdBase: buildParser, parseOptions, setupLogging

Class Variable Summary
bool doesLogging = False

Method Details

buildOptions(self)

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

getPassArg(self)

Return string to be used as the -p (including the "-p") to mysql commands

getRepozoPath(self)

Return path to repozo.py This is usually $ZENHOME/bin/repozo.py, but on the appliance it is $ZOPEHOME/bin/repozo.py

getTempDir(self)

Return directory to be used for temporary storage during backup or restore.

msg(self, msg)

If --verbose then send msg to stdout

Class Variable Details

doesLogging

Type:
bool
Value:
False                                                                  

Generated by Epydoc 2.1 on Thu Aug 16 09:55:15 2007 http://epydoc.sf.net