%SYS
Task Class Reference

A backup task is a backup type and an output device with an optional description. More...

Inheritance diagram for Task:
Collaboration diagram for Task:

Public Member Functions

_.Library.Status LoadData (_.Library.String id, _.Library.Boolean flag)
 Overrides the default LoadData method.
 
_.Library.Status OnNew (_.Library.RawString newtask)
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 

Static Public Member Functions

_.Library.Status DeleteData (_.Library.String id, _.Library.Integer concurrency)
 This callback method is invoked by the <METHOD>Delete</METHOD> method to. More...
 

Public Attributes

 Description
 User-specified description of this backup task. More...
 
 Device
 User-specified output device for this backup task. More...
 
 DeviceIsTape
 True if the output device is a tape. More...
 
 LastFile
 Date portion of the filename for the last run of this task. More...
 
 LastModifiedTime
 The date and time this backup task was last modified. More...
 
 LastRunStatus
 The status of this backup task's last run. More...
 
 LastRunTime
 The date and time this backup task was last run. More...
 
 Name
 The name of this task. More...
 
 SwitchJournal
 Indicates whether the journal file should be switched as part of. More...
 
 SystemTask
 Denotes that this is a system task. More...
 
 Type
 Type of backup which will be performed. More...
 

Static Public Attributes

 DOMAIN = None
 A backup task is a backup type and an output device with an optional description. More...
 

Detailed Description

A backup task is a backup type and an output device with an optional description.

There are a set of system defined tasks which cannot be changed.

Member Function Documentation

◆ DeleteData()

_.Library.Status DeleteData ( _.Library.String  id,
_.Library.Integer  concurrency 
)
static

This callback method is invoked by the <METHOD>Delete</METHOD> method to.

remove the data when an instance is deleted.

If this method returns an error then the object will not be created.

◆ OnNew()

This callback method is invoked by the <METHOD>New</METHOD> method to.

provide notification that a new instance of an object is being created.

The name of the new task must be specified as the argument to the New() method and is resitricted to alphanumeric characters.

If this method returns an error then the object will not be created.

Member Data Documentation

◆ DOMAIN

DOMAIN = None
static

A backup task is a backup type and an output device with an optional description.

There are a set of system defined tasks which cannot be changed.

Default Localization Domain

◆ Description

Description

User-specified description of this backup task.

This is stored in the

backup history.

 

◆ Device

Device

User-specified output device for this backup task.

This can be a

tape device or a directory where the backup files are stored. If this is blank the default is the Backup subdirectory under the directory which contains the IRISSYS database.  

◆ DeviceIsTape

DeviceIsTape

True if the output device is a tape.

 

◆ LastFile

LastFile

Date portion of the filename for the last run of this task.

The full

filename consists of this property plus the .cbk file extension.

Log files are located in the Backup subdirectory under the directory that contains the IRISSYS database, and their filenames consist of the LastFile property plus the .log file extension.  

◆ LastModifiedTime

LastModifiedTime

The date and time this backup task was last modified.

 

◆ LastRunStatus

LastRunStatus

The status of this backup task's last run.

It can be blank if the task has never been run, or else one of the following statuses: "Running", "Completed", or "Failed".  

◆ LastRunTime

LastRunTime

The date and time this backup task was last run.

 

◆ Name

Name

The name of this task.

 

◆ SwitchJournal

SwitchJournal

Indicates whether the journal file should be switched as part of.

running the backup.  

◆ SystemTask

SystemTask

Denotes that this is a system task.

Certain tasks are defined by the system and cannot be modified.

 

◆ Type

Type

Type of backup which will be performed.