Command Line

Using the Windows Command Line I can create a named snapshot:

C:\Program Files\COMODO\Time Machine\ctmcmd /n /name “name of the snapshot” /d “description for the
snapshot” /user “username” /pass “password”

However, the user guide makes no mention of how to rollback to it using the Windows Command Line. Is it possible to do this?

Hi, MrMoney

You can switch your system to a specified snapshot by command-line.
The COMODO Time Machine tells how to do it.
The following is the detailed. Hope it helps.

Best regards.

To restore your system to the Baseline snapshot

Specify the Command
/ctmcmd /r /baseline /user “username” /pass “password”

The path to the executable will be followed by commands for the configuration of the restore task in sequence with space between each switch command. For example, if Comodo Time Machine has been installed to the default directory, the format would be:

C:\Program Files\COMODO\Time Machine\ctmcmd /r /baseline /user “username” /pass “password”

To restore your system to the latest snapshot

Specify the Command
/ctmcmd /r /current /user “username” /pass “password”

The path to the executable will be followed by commands for the configuration of the restore task in sequence with space between each switch command. For example, if Comodo Time Machine has been installed to the default directory, the format would be:

C:\Program Files\COMODO\Time Machine\ctmcmd /r /current /user “username” /pass “password”

To restore your system to the snapshot closest to a certain time

Specify the Command
/ctmcmd /r /time “<date & time>” /user “username” /pass “password”

Example:

If the Comodo Time Machine has been installed to the default directory, user name is ‘Administrator’ and the password is ‘12345678’ and the user wants to restore the system to the snapshot closest to the time 10:00 am on 15th November 2009, the command would be:

C:\Program Files\COMODO\Time Machine\ctmcmd /r /time “2009-11-15 10:00” /user “Administrator” /pass “12345678”

Note: The date has to be specified in yyyy-mm-dd format and the time has to be specified in 24 hr format.
Note: The Username and the Password are required only if Access Control is enabled in User Settings area of Settings interface.