Home | Trees | Index | Help |
|
---|
Package CedarBackup2 :: Package extend :: Module postgresql :: Class PostgresqlConfig |
|
object
--+
|
PostgresqlConfig
Class representing PostgreSQL configuration.
The PostgreSQL configuration information is used for backing up PostgreSQL databases.
The following restrictions exist on data in this class:VALID_COMPRESS_MODES
.
Method Summary | |
---|---|
Constructor for the PostgresqlConfig class. | |
Official string representation for class instance. | |
Informal string representation for class instance. | |
Definition of equals operator for this class. | |
Property target used to get the 'all' flag. | |
Property target used to get the compress mode. | |
Property target used to get the databases list. | |
Property target used to get the user value. | |
Property target used to set the 'all' flag. | |
Property target used to set the compress mode. | |
Property target used to set the databases list. | |
Property target used to set the user value. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value |
Property Summary | |
---|---|
user : User to execute backup as. | |
all : Indicates whether to back up all databases. | |
databases : List of databases to back up. | |
compressMode : Compress mode to be used for backed-up files. |
Method Details |
---|
__init__(self,
user=None,
compressMode=None,
all=None,
databases=None)
Constructor for the |
__repr__(self)
Official string representation for class instance.
|
__str__(self)
Informal string representation for class instance.
|
__cmp__(self,
other)
Definition of equals operator for this class.
|
_getAll(self)Property target used to get the 'all' flag. |
_getCompressMode(self)Property target used to get the compress mode. |
_getDatabases(self)Property target used to get the databases list. |
_getUser(self)Property target used to get the user value. |
_setAll(self, value)Property target used to set the 'all' flag. No validations, but we normalize the value toTrue or False .
|
_setCompressMode(self, value)Property target used to set the compress mode. If notNone , the mode must be one of the values in VALID_COMPRESS_MODES .
|
_setDatabases(self, value)Property target used to set the databases list. Either the value must beNone or each element must be a string.
|
_setUser(self, value)Property target used to set the user value. |
Property Details |
---|
userUser to execute backup as. |
allIndicates whether to back up all databases. |
databasesList of databases to back up.
|
compressModeCompress mode to be used for backed-up files.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 18 22:53:29 2006 | http://epydoc.sf.net |