Rollback operations roll back the directory to the most recent backed up version.
For example, say you have a directory called logs, one called logs.2008_10_11.08_00_00, and other, older versions. When you roll back, the following things happen:
Note
There can only be a single .unwanted directory at a time. If you roll back twice, the .unwanted directory from the first rollback is deleted.
Note
Do not start a backup or rollback operation while another such operation is in progress on the same directory. Unexpected behavior may occur if you do so.
RunRollbackType parameters:
token identifies the token used to stop the utility or to get its status. If you do not specify a token, one is generated and returned when you start the utility.
hostID is a unique identifier for the host. The hostID and dirName parameters specify the path to the directory that will be archived.
dirName is the full path of the directory. The hostID and dirName parameters specify the path to the directory that will be archived.
Throws:
Returns: