Examples: Restoring large amounts of data
If you need to restore a large number of files, you get faster performance using the command line interface rather than the GUI interface. In addition, you improve performance if you enter multiple restore commands at one time.
About this task
c: file
space, enter: dsmc restore c:\* -subdir=yes -replace=all -tapeprompt=noc: file
space, you can restore the files faster. For example, enter these
commands: dsmc restore c:\users\ -subdir=yes -replace=all -tapeprompt=no
dsmc restore c:\data1\ -subdir=yes -replace=all -tapeprompt=no
dsmc restore c:\data2\ -subdir=yes -replace=all -tapeprompt=no dsmc restore c:\* -subdir=yes -replace=all -tapeprompt=no
dsmc restore d:\* -subdir=yes -replace=all -tapeprompt=no
dsmc restore e:\* -subdir=yes -replace=all -tapeprompt=noWhen you enter multiple commands to restore your files, you must specify a unique part of the file space in each restore command. Do not use any overlapping file specifications in the commands.
dsmc query backup -dirsonly -subdir=no c:\As
a general rule, you can enter two to four restore commands
at one time. The maximum number you can run at one time without degrading
performance depends on factors such as network utilization and how
much memory you have. For example, if \users and \data1 are
on the same tape, the restore for \data1 must wait
until the restore for \users is complete. However,
if \data2 is on a different tape, and there are at
least two tape drives available, the restore for \data2 can
begin at the same time as the restore for \users.
The speed at which you can restore the files also depends upon how many tape drives are available and whether your administrator is using collocation to keep file spaces assigned to as few volumes as possible. If your administrator is using collocation, the number of sequential access media mounts required for restore operations is also reduced.