Tivoli CLI Restore: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
Line 10: Line 10:
#: <tt>'''# dsmc restore -pitdate=MM/DD/YYYY -pittime=HH:MM:SS /absolute/path/to/directory'''</tt>
#: <tt>'''# dsmc restore -pitdate=MM/DD/YYYY -pittime=HH:MM:SS /absolute/path/to/directory'''</tt>
#:: <tt>'''ex: dsmc restore -pitdate=01/31/2017 -pittime=01:00:00 /root/file.txt'''</tt>
#:: <tt>'''ex: dsmc restore -pitdate=01/31/2017 -pittime=01:00:00 /root/file.txt'''</tt>
# Point in time restore to another location
#: <tt>'''# dsmc restore <path>/* <path>/ -subdir=yes -replace=yes -ifnewer -pitdate=<MM/DD/YYYY> -pittime=<HH:MM>'''</tt>


== Windows ==
== Windows ==

Revision as of 13:54, 20 September 2017

AIX and Linux

  1. Restore a single file to original location
    # dsmc restore /absolute/path/to/file
    ex: # dsmc restore /root/file.txt
  2. Select files to restore to another location
    # 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
  3. Point in time restore of all files to original location
    # dsmc restore -pitdate=MM/DD/YYYY -pittime=HH:MM:SS /absolute/path/to/directory
    ex: dsmc restore -pitdate=01/31/2017 -pittime=01:00:00 /root/file.txt
  4. Point in time restore to another location
    # dsmc restore <path>/* <path>/ -subdir=yes -replace=yes -ifnewer -pitdate=<MM/DD/YYYY> -pittime=<HH:MM>

Windows

Further Reading

  1. IBM Tivoli v6.4 Knowledge Center - Restore
  2. IBM Tivoli v6.4 Knowledge Center - Restore and Retrieve Processing Options
  3. IBM Tivoli v6.4 Knowledge Center - Command Line Restore Examples