Tivoli CLI Restore: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== AIX and Linux== | == AIX and Linux== | ||
# Restore a single file to original location | # Restore a single file to original location | ||
#: <tt>'''# dsmc restore /absolute/path/to/ | #: <tt>'''# dsmc restore </absolute/path/to/filename>'''</tt> | ||
#::<tt>'''ex: # dsmc restore /root/file.txt'''</tt> | #::<tt>'''ex: # dsmc restore /root/file.txt'''</tt> | ||
# Select files to restore to another location | # Select files to restore to another location | ||
#: <tt>'''# dsmc restore </absolute/path/ | #: <tt>'''# dsmc restore </absolute/source/path>/* </absolute/destination/path>/ -pick -inactive'''</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> | ||
# Point in time restore of | # Point in time restore of a directory to original location | ||
#: <tt>'''# dsmc restore -pitdate=MM/DD/YYYY -pittime=HH:MM: | #: <tt>'''# dsmc restore </absolute/path>/ -subir=yes -pitdate=<MM/DD/YYYY> -pittime=<HH:MM>'''</tt> | ||
#:: <tt>'''ex: dsmc restore -pitdate= | #:: <tt>'''ex: dsmc restore /var/ -subir=yes -pitdate=01/31/2017 -pittime=01:00'''</tt> | ||
# Point in time restore to another location | |||
#: <tt>'''# dsmc restore </absolute/path>/* </absolute/path>/ -subdir=yes -replace=yes -ifnewer -pitdate=<MM/DD/YYYY> -pittime=<HH:MM>'''</tt> | |||
#:: <tt>'''ex: dsmc restore /var/* /mnt/var/ -subdir=yes -replace=yes -ifnewer -pitdate=09/15/2017 -pittime=13:00'''</tt> | |||
== Windows == | == Windows == | ||
== Further Reading == | == Further Reading == | ||
# [https://www.ibm.com/support/knowledgecenter/SSGSG7_6.4.0/com.ibm.itsm.client.doc/r_cmd_restore.html IBM Knowledge Center - Restore] | # [https://www.ibm.com/support/knowledgecenter/SSGSG7_6.4.0/com.ibm.itsm.client.doc/r_cmd_restore.html IBM Tivoli v6.4 Knowledge Center - Restore] | ||
# [https://www.ibm.com/support/knowledgecenter/SSGSG7_6.4.0/com.ibm.itsm.client.doc/c_opt_restoreretrieve.html IBM Knowledge Center - Restore and Retrieve Processing Options] | # [https://www.ibm.com/support/knowledgecenter/SSGSG7_6.4.0/com.ibm.itsm.client.doc/c_opt_restoreretrieve.html IBM Tivoli v6.4 Knowledge Center - Restore and Retrieve Processing Options] | ||
# [https://www.ibm.com/support/knowledgecenter/SSGSG7_6.4.0/com.ibm.itsm.client.doc/c_res_cmdlineunx.html?cp=SSGSG7_6.4.1#c_res_cmdlineunx IBM Tivoli v6.4 Knowledge Center - Command Line Restore Examples] | |||
[[Category: Software]] | [[Category: Software]] | ||
[[Category: Tivoli]] | [[Category: Tivoli]] |
Latest revision as of 14:05, 20 September 2017
AIX and Linux
- Restore a single file to original location
- # dsmc restore </absolute/path/to/filename>
- ex: # dsmc restore /root/file.txt
- # dsmc restore </absolute/path/to/filename>
- Select files to restore to another location
- # dsmc restore </absolute/source/path>/* </absolute/destination/path>/ -pick -inactive (Note: The last slash in the restore directory is necessary.)
- pick> <choose the number of the file you wish to restore>
- pick> o
- # dsmc restore </absolute/source/path>/* </absolute/destination/path>/ -pick -inactive (Note: The last slash in the restore directory is necessary.)
- Point in time restore of a directory to original location
- # dsmc restore </absolute/path>/ -subir=yes -pitdate=<MM/DD/YYYY> -pittime=<HH:MM>
- ex: dsmc restore /var/ -subir=yes -pitdate=01/31/2017 -pittime=01:00
- # dsmc restore </absolute/path>/ -subir=yes -pitdate=<MM/DD/YYYY> -pittime=<HH:MM>
- Point in time restore to another location
- # dsmc restore </absolute/path>/* </absolute/path>/ -subdir=yes -replace=yes -ifnewer -pitdate=<MM/DD/YYYY> -pittime=<HH:MM>
- ex: dsmc restore /var/* /mnt/var/ -subdir=yes -replace=yes -ifnewer -pitdate=09/15/2017 -pittime=13:00
- # dsmc restore </absolute/path>/* </absolute/path>/ -subdir=yes -replace=yes -ifnewer -pitdate=<MM/DD/YYYY> -pittime=<HH:MM>