Sample restore from command line Tivoli Storage Manager. Run as root.
3 | dsmc -optfile=/opt/tivoli/tsm/client/ba/bin/dsm-ora.opt |
4 | tsm> restore /mydir/*.dbf -inactive -pick |
You should specify an ‘optfile’ at line 3 only if you saw it in the output of line 1.
Other useful options:
List backup files:
1 | tsm>q backup "/opt/fc-lun1/*" -inactive -subdir= yes |
Restore (note how second mention directory name is shorter):
1 | tsm> restore "/opt/fc-lun1/MYDB/mydb/*" /ORA_DISK/MYDB/infprod/ -subdir= yes –pick |
Select all files:
Leave a Reply