The syntax for restoring a complete Windows system from a backupset on tape is slightly different than what is normally used.
If the backupset contains both the system state and the system drive (typically C:) filespaces, it is not possible to control in which order the filespaces will be restored. Therefore, the entire backupset should not be restored, but instead it should be restored one filespace at a time.
The majority of the instructions provided in the technote "Modified Instructions for Complete Restores of Windows Systems with the TSM Client: Bare Metal Restore (BMR), System State Restore, Windows System Object Restore" apply when restoring a backupset from tape. The only difference is the syntax of the commands to restore the system drive and the system state file spaces in the Restore steps 2 and 3.
For the system drive filespace (typically c:), the following syntax is used:
“dsmc restore backupset c:\* -backupsetname=\\.\tape0 -loc=tape -su=yes -repl=all”
“dsmc restore backupset %systemdrive%\* -backupsetname=\\.\tape0 -loc=tape -su=yes -repl=all"
For the system state, the following syntax is used:
"dsmc restore backupset systemstate -backupsetname=\\.\tape0 -loc=tape"
- Replace \\.\tape0 with the proper tape drive if there is more than one tape drive and the tape is not mounted in \\.\tape0
- The "restore systemstate" command does not work with -backupsetname when -loc=tape, but works with "restore backupset systemstate".