Class representing a Cedar Backup global options configuration.
The options section is used to store global configuration options and
defaults that can be applied to other sections.
As with all of the other classes that represent configuration
sections, all of these values are optional. It is up to some
higher-level construct to decide whether everything they need is filled
in. Some validation is done on non-None
assignments
through the use of the Python property()
construct.
The following restrictions exist on data in this class:
|
__init__(self,
startingDay=None,
workingDir=None,
backupUser=None,
backupGroup=None,
rcpCommand=None,
overrides=None,
hooks=None,
rshCommand=None,
cbackCommand=None,
managedActions=None)
Constructor for the OptionsConfig class. |
source code
|
|
|
|
|
|
|
|
|
|
|
_getStartingDay(self)
Property target used to get the starting day. |
source code
|
|
|
|
|
_getWorkingDir(self)
Property target used to get the working directory. |
source code
|
|
|
|
|
_getBackupUser(self)
Property target used to get the backup user. |
source code
|
|
|
|
|
_getBackupGroup(self)
Property target used to get the backup group. |
source code
|
|
|
|
|
_getRcpCommand(self)
Property target used to get the rcp command. |
source code
|
|
|
|
|
_getRshCommand(self)
Property target used to get the rsh command. |
source code
|
|
|
|
|
_getCbackCommand(self)
Property target used to get the cback command. |
source code
|
|
|
|
|
_getOverrides(self)
Property target used to get the command path overrides list. |
source code
|
|
|
|
|
_getHooks(self)
Property target used to get the command path hooks list. |
source code
|
|
|
|
|
_getManagedActions(self)
Property target used to get the managed actions list. |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|
|
startingDay
Day that starts the week.
|
|
workingDir
Working (temporary) directory to use for backups.
|
|
backupUser
Effective user that backups should run as.
|
|
backupGroup
Effective group that backups should run as.
|
|
rcpCommand
Default rcp-compatible copy command for staging.
|
|
rshCommand
Default rsh-compatible command to use for remote shells.
|
|
overrides
List of configured command path overrides, if any.
|
|
cbackCommand
Default cback-compatible command to use on managed remote
peers.
|
|
hooks
List of configured pre- and post-action hooks.
|
|
managedActions
Default set of actions that are managed on remote peers.
|
Inherited from object :
__class__
|