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.
|
__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
|
|
|
|
|
|
|
|
|
addOverride(self,
command,
absolutePath)
If no override currently exists for the command, add one. |
source code
|
|
|
replaceOverride(self,
command,
absolutePath)
If override currently exists for the command, replace it; otherwise
add it. |
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__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|
|
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__
|