Tivoli CLI Restore: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
Line 1: Line 1:
== Restoring Data from the command line ==
== Restoring Data from the command line ==
== AIX and Linux==
== AIX and Linux==
# Restore a single file to original location
#: <tt>'''# dsmc restore /absolute/path/to/file'''</tt>
#::<tt>'''# dsmc restore /home/outlands/file.txt'''</tt>
# Select files to restore
# Select files to restore
#: <tt>'''# dsmc restore </absolute/path/to/file/directory> -pick -inactive </absolute/path/to/restore/directory/>'''</tt> (Note: The last slash in the restore directory is necessary.)
#: <tt>'''# dsmc restore </absolute/path/to/file/directory> -pick -inactive </absolute/path/to/restore/directory/>'''</tt> (Note: The last slash in the restore directory is necessary.)
#:: <tt>'''pick> <choose the number of the file you wish to restore>'''</tt>
#:: <tt>'''pick> <choose the number of the file you wish to restore>'''</tt>
#:: <tt>'''pick> o'''</tt>
#:: <tt>'''pick> o'''</tt>
# Verify that the restore completed successfully.


== Windows ==
== Windows ==

Revision as of 18:18, 23 March 2017

Restoring Data from the command line

AIX and Linux

  1. Restore a single file to original location
    # dsmc restore /absolute/path/to/file
    # dsmc restore /home/outlands/file.txt
  2. Select files to restore
    # dsmc restore </absolute/path/to/file/directory> -pick -inactive </absolute/path/to/restore/directory/> (Note: The last slash in the restore directory is necessary.)
    pick> <choose the number of the file you wish to restore>
    pick> o

Windows

Further Reading

  1. IBM Knowledge Center - Restore
  2. IBM Knowledge Center - Restore and Retrieve Processing Options