def restore(self, backupjobrun_id):
        """restores a backup job run.

        :param backupjobrun_id: The :class:`BackupJobRun` to restore.
        """
        self._restore("/backupjobruns/%s" % base.getid(backupjobrun_id))
    def delete(self, backupjobrun_id):
        """Delete a backup job run.

        :param backupjobrun_id: The :class:`BackupJobRun` to delete.
        """
        self._delete("/backupjobruns/%s" % base.getid(backupjobrun_id))
Esempio n. 3
0
    def restore(self, backupjobrun_id):
        """restores a backup job run.

        :param backupjobrun_id: The :class:`BackupJobRun` to restore.
        """
        self._restore("/backupjobruns/%s" % base.getid(backupjobrun_id))
Esempio n. 4
0
    def delete(self, backupjobrun_id):
        """Delete a backup job run.

        :param backupjobrun_id: The :class:`BackupJobRun` to delete.
        """
        self._delete("/backupjobruns/%s" % base.getid(backupjobrun_id))
    def prepare(self, backupjob_id):
        """Prepares a backup job.

        :param backupjob_id: The :class:`BackupJob` to prepare.
        """
        self._execute("/backupjobs/%s?prepare=1" % base.getid(backupjob_id))
    def execute(self, backupjob_id):
        """Executes a backup job.

        :param backupjob_id: The :class:`BackupJob` to execute.
        """
        self._execute("/backupjobs/%s" % base.getid(backupjob_id))