models.remote_job_script module

class models.remote_job_script.RemoteJobScript(full_backup_script=None, incremental_backup_script=None, log_backup_script=None, remote_host=None, username=None)[source]

Bases: object

Implementation of the ‘RemoteJobScript’ model.

Provides details about the Remote Adapter associated with a ‘kPuppeteer’ Protection Job.

Attributes:
full_backup_script (RemoteScriptPathAndParams): Specifies the script

that should run for the Full (no CBT) backup schedule of a Remote Adapter ‘kPuppeteer’ Job. This field is mandatory if the Policy associated with this Job has a Full (no CBT) backup schedule and this is Remote Adapter ‘kPuppeteer’ Job.

incremental_backup_script (RemoteScriptPathAndParams): Specifies the

script that should run for the CBT-based backup schedule of a Remote Adapter ‘kPuppeteer’ Job. A CBT-based backup schedule is utilizing Change Block Tracking when capturing Snapshots. This field is mandatory if the Policy associated with this Job has a CBT-based backup schedule and this is Remote Adapter ‘kPuppeteer’ Job.

log_backup_script (RemoteScriptPathAndParams): Specifies the script

that should run for the Log backup schedule of a Remote Adapter ‘kPuppeteer’ Job. This field is mandatory if the Policy associated with this Job has a Log backup schedule and this is Remote Adapter ‘kPuppeteer’ Job.

remote_host (RemoteHost): Specifies the remote host where the remote

scripts are executed. This field must be set for Remote Adapter Jobs.

username (string): Specifies the username that will be used to login

to the remote host. For host type ‘kLinux’, it is expected that user has setup the password-less access. So only username field is required.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.