Tivoli CLI Restore: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 2: | Line 2: | ||
# Restore a single file to original location | # Restore a single file to original location | ||
#: <tt>'''# dsmc restore /absolute/path/to/file'''</tt> | #: <tt>'''# dsmc restore /absolute/path/to/file'''</tt> | ||
#::<tt>'''ex: # dsmc restore / | #::<tt>'''ex: # dsmc restore /root/file.txt'''</tt> | ||
# Select files to restore | # Select files to restore to another location | ||
#: <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> | ||
# Point in time restore of all files to original location | |||
#: <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> | |||
== Windows == | == Windows == |
Revision as of 18:56, 23 March 2017
AIX and Linux
- Restore a single file to original location
- # dsmc restore /absolute/path/to/file
- ex: # dsmc restore /root/file.txt
- # dsmc restore /absolute/path/to/file
- 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
- # dsmc restore </absolute/path/to/file/directory> -pick -inactive </absolute/path/to/restore/directory/> (Note: The last slash in the restore directory is necessary.)
- 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
- # dsmc restore -pitdate=MM/DD/YYYY -pittime=HH:MM:SS /absolute/path/to/directory