Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
TSM Kommandozeile Überblick
Commands
- List contents of backup:
dsmc query backup '/data/*'
- Restore files with directory recursion to original location:
dsmc restore "/data/*" -su=yes
„-su“ stands for subdirectories.
- Restore files recursively to a different location:
dsmc restore "/data/*" /different/location/ -su=yes
The „/“ at end of the new location is mandatory.
Options
- Options apparently go at the end of a command.
- It looks like using dsmc interactively will wait for tape mounts but otherwise it won't. You can use the tapeprompt option:
-tapeprompt=no
„No“ is the default and means TSM will automatically wait for the tape to be mounted. „Yes“ means TSM will ask the user whether to wait or not.
- Specify what to do when trying to restore to an existing file with:
-replace=xxx
The possibilities are:
- Prompt (default): You are prompted whether to overwrite a file that already exists on your workstation.
- All: All existing files are overwritten. No action is taken on the file until there is a response to the prompt.
- Yes: Any existing files are overwritten. No action is taken on the file until there is a response to the prompt.
- No: Existing files are not overwritten. No more prompts will be displayed.