<< back to sysax.com Product page

7.2. Initiating Backup Operation

The BackupRun method is used to initiate the backup operation. The comparison method used is set using the "bydate", "bysize", "bynewerdate", "bynewersize", "bycrc", "bymd5", or "bysha1" keywords. If "bynewerdate" or "bynewersize" is selected, the the source file will be copied to the destination only if it is newer or larger.

The BackupRunV method is used to initiate the backup operation and verify each transferred file after transfer using crc, md5, or sha1. The "bycrc", "bymd5", or "bysha1" keywords are used to set the verification method.

Exhibit 7.3. IDL Definition of method for initiating backup operation


HRESULT BackupRun  ([in] BSTR b_backuprule);
HRESULT BackupRunV ([in] BSTR b_verifyrule, [in] BSTR b_backuprule);


Exhibit 7.4. Example usage of method for initiating backup operation (VBScript)


app.BackupRun       "bycrc"
app.BackupRunV      "bysha1", "bynewerdate"