Total Recall v5 CLI

Article ID: 83033238

Details

Topic or Information

How to script/automate Total Recall profile creation/restore

Applies To

Workabout Pro 4, Omnii XT15, EP10, VH10

Details

Total Recall v5.x leverages XML files to perform its tasks.


The exe is called TotalRecall.exe and is found in the \Windows folder.
Note this file is hidden so you need to disable hidden files on the terminal to see it if desired but that is not necessary for the CLI commands to work.

Create an XML file to feed into Total Recall, based upon  your use case.
An example is shown below, this sample creates an autorestore backup Total Recall profile called "Default2.pfl " in the terminal's Flash Disk folder

<root>
  <command>backup
     <profilename>
        \Flash Disk\Default2.pfl
    </profilename>
   <autorestore>
      autorestoreenabled
   </autorestore>
 </command>
</root>


Save this text as an xml file (e.g. test.xml) and then place it on the terminal in a folder of your choice
To initiate the xml file call it via the TotalRecall.exe mentioned above. 

For example if the xml file was called test.xml and was stored in the \root of the terminal, run the following:

\windows\totalrecall.exe \test.xml

You must tell the terminal the full path to the exe and the xml file for it to work.
Any errors will be logged in the \Total Recall\Errorlog.txt file on the terminal

A complete list of supported commands is below:

Usage: TotalRecall.exe commandfile.xml

Create a backup profile

command: backup

Parameter: autorestore

Parameter: profilename

Parameter: ignorepower

Restore a profile

command: restore

Parameter: profilename

Generate this file

command: help

Parameter: no parameters

Generate a list of potential backup candidates

command: listcandidates

Parameter: profilename

Get information about a given profile

command: getprofileinfo

Parameter: profilename

Get archive information about a given profile

command: getarchiveinfo

Parameter: profilename

Parameter: restorableOnly

Create a backup profile(advance option)

command: advancedbackup

Parameter: autorestore

Parameter: profilename

Parameter: allfiles

Parameter: allregistry

Parameter: alldatabases

Parameter: archivelist

Parameter: ignorepower

Find and restore the AutoRestore Profile

command: autorestore

Parameter: no parameters

Advance Restore a profile

command: advancedrestore

Parameter: profilename

Parameter: allregistry

Parameter: archivelist

Return a status message containing the name of the autorestore profile

command: autorestorename

Parameter: no parameters

Find and restore the RAM Disk portion of the AutoRestore Profile

command: autorestoreramdisk

Parameter: no parameters