![]() |
![]() |
Your administrator determines how many backup versions Tivoli Storage Manager maintains for each file on your NetWare server. Frequently, the administrator maintains more than one version of each file. Having multiple versions of a file allows you to restore older versions in case the most recent backup is damaged.
Tivoli Storage Manager considers the most recent backup version to be the active version. Any other backup version is considered an inactive version.
Every time Tivoli Storage Manager backs up your files, it marks the new backup version as the active backup, and it changes what used to be the active backup to an inactive backup. When the maximum number of inactive versions is reached, Tivoli Storage Manager deletes the oldest inactive version.
Normally, you want to restore active backup versions of files. However, there might be times when you want to restore an inactive version. For example, you might want to restore a file with the contents it contained on or before a specific date. Or you might accidentally erase a file, and then run an incremental backup. The active backup version of the file is now inactive. To get your file back, you need to restore the most recent inactive backup version of the file.
The restore command restores only active backup versions of files, unless you use the following options:
For example, if you want to restore the latest version of the deleted file sys:h1.doc, use:
load dsmc restore sys:h1.doc -latest
If you try to restore both an active and inactive version of a file at the same time, only the active version is restored.
You can restore a file to either its original location or to a different location. For example, to restore the sys:doc/h1.doc file to its original directory, use:
load dsmc restore sys:doc/h1.doc
To restore the file under a new name and directory, use:
load dsmc restore sys:doc/h1.doc sys:newdoc/h2.doc
Add the -subdir=yes option to the command if you need to restore the files in a directory and all of its subdirectories. For example, if you are recovering an entire volume (in this example, the nw3: volume), you can restore all the files using:
load dsmc restore nw3:* -subdir=yes
See Restore for more information.