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

Class ZenBackup

source code

??-2280 --+
          |
         ZenBackup

Instance Methods [hide private]
 
__init__(self, argv) source code
boolean
isZeoUp(self)
Returns True if Zeo appears to be running, false otherwise.
source code
 
readZEPSettings(self)
Read in and store the ZEP DB configuration options from 'zeneventserver.conf' to the 'options' object.
source code
 
saveSettings(self)
Save the database credentials to a file for use during restore.
source code
string
getDefaultBackupFile(self)
Return a name for the backup file or die trying.
source code
 
buildOptions(self)
Basic options setup
source code
 
backupMySqlDb(self, host, port, db, user, passwdType, sqlFile) source code
 
_zepRunning(self)
Returns True if ZEP is running on the system (by invoking zeneventserver status).
source code
 
backupZEP(self)
Backup ZEP
source code
 
backupZenPacks(self)
Backup the zenpacks dir
source code
 
backupZenPackContents(self) source code
 
backupZODB(self)
Backup the Zope database.
source code
 
backupPerfData(self)
Back up the RRD files storing performance data.
source code
 
packageStagingBackups(self)
Gather all of the other data into one nice, neat file for easy tracking.
source code
 
cleanupTempDir(self)
Remove temporary files in staging directory.
source code
 
makeBackup(self)
Create a backup of the data and configuration for a Zenoss install.
source code
Method Details [hide private]

isZeoUp(self)

source code 

Returns True if Zeo appears to be running, false otherwise.

Returns: boolean
whether Zeo is up or not

getDefaultBackupFile(self)

source code 

Return a name for the backup file or die trying.

Returns: string
unique name for a backup