Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%SYS] >  [Task] >  [BackupSuper]
Private  Storage   

class %SYS.Task.BackupSuper

Super class for backup tasks.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 3 2


Summary

Properties
Device SaveToTape TapeDevice

Methods
OnTask

Subclasses
%SYS.Task.BackupAllDatabases %SYS.Task.BackupCumulativeDatabaseList %SYS.Task.BackupFullDatabaseList
%SYS.Task.BackupIncrementDatabaseList

Parameters

• parameter TaskName;

Properties

• property Device as %String(MAXLEN=1024) [ InitialExpression = ##class(%File).NormalizeDirectory("Backup") ];
• property SaveToTape as %Boolean [ InitialExpression = "0" ];
• property TapeDevice as %String [ InitialExpression = "47" ];
Back up tape device if it is save to tape

Methods

• method OnTask() as %Status
This method is responsible for executing the task.
At the scheduled time, the Task Manager creates an instance of this object, sets any property values using the stored "settings" for the task, and then invokes this method to execute the task.
In order to execute a real task, override this method in a subclass.


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.