Tivoli CLI Restore: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
#:: <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 </absolute/path | #: <tt>'''# dsmc restore </absolute/path>/ -pitdate=<MM/DD/YYYY> -pittime=<HH:MM>'''</tt> | ||
#:: <tt>'''ex: dsmc restore -pitdate=01/31/2017 -pittime=01:00:00 | #:: <tt>'''ex: dsmc restore /var/ -pitdate=01/31/2017 -pittime=01:00:00'''</tt> | ||
# Point in time restore to another location | # 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>'''# dsmc restore </absolute/path>/* </absolute/path>/ -subdir=yes -replace=yes -ifnewer -pitdate=<MM/DD/YYYY> -pittime=<HH:MM>'''</tt> |
Revision as of 13:58, 20 September 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 a directory to original location
- # dsmc restore </absolute/path>/ -pitdate=<MM/DD/YYYY> -pittime=<HH:MM>
- ex: dsmc restore /var/ -pitdate=01/31/2017 -pittime=01:00:00
- # dsmc restore </absolute/path>/ -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>