Tivoli Header

Tivoli Storage Manager for UNIX Backup-Archive Clients Installation and User's Guide


Performing a Command Line Restore

Use the restore command to restore files. Indicate the file you want to restore and where you want to restore it. If you do not indicate a destination, the files are restored to their original location.

For example, to restore the /home/monnett/h1.doc file to its original directory, enter:

   dsmc restore /home/monnett/h1.doc

To restore it under a new name, use:

   dsmc restore /home/monnett/h1.doc /home/monnett/h2.doc

If the file you want to restore is not on your workstation, and you have run an incremental backup since deleting the file, there is no active backup of the file on the server. In this case, you need to use the latest option to tell the server to restore the most recent backup version. If you do not want the most recent version, use the pick and inactive options to get a list of backups from which you can select.

For example, if you want to restore the latest version of the deleted file /home/monnett/h1.doc, enter:

   dsmc restore /home/monnett/h1.doc -latest

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 file system (the /home file system in this case), you can restore all of the files using:

   dsmc restore /home/ -subdir=yes

If you specify subdir=yes when restoring a specific path and file, Tivoli Storage Manager recursively restores all subdirectories under that path, and any instances of the specified file that exist under any of those subdirectories.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]