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

Class ZenBackup

source code

        CmdBase.CmdBase --+    
                          |    
ZenBackupBase.ZenBackupBase --+
                              |
                             ZenBackup

Instance Methods [hide private]
 
isZeoUp(self)
Returns True is zeo appears to be running, false otherwise.
source code
 
readSettingsFromZeo(self)
Return dbname, dbuser, dbpass from saved settings
source code
 
saveSettings(self, tempDir)
Save some of the options to a file for use during restore
source code
 
getDefaultBackupFile(self) source code
 
buildOptions(self)
basic options setup sub classes can add more options here
source code
 
makeBackup(self)
Create a backup of the data and configuration for a zenoss install.
source code

Inherited from ZenBackupBase.ZenBackupBase: __init__, getPassArg, getRepozoPath, getTempDir, msg

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

Class Variables [hide private]

Inherited from ZenBackupBase.ZenBackupBase: doesLogging

Method Details [hide private]

buildOptions(self)

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

makeBackup(self)

source code 
Create a backup of the data and configuration for a zenoss install. getWhatYouCan == True means to continue without reporting errors even if this appears to be an incomplete zenoss install.