Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
wiki:tsm_ueberblick [2011/10/13 14:57] – wyneken | wiki:tsm_ueberblick [2011/10/13 15:19] – [Commands] wyneken | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== TSM Kommandozeile Überblick ====== | ====== TSM Kommandozeile Überblick ====== | ||
+ | |||
+ | ===== Commands ===== | ||
+ | |||
* List contents of backup: | * List contents of backup: | ||
Zeile 5: | Zeile 8: | ||
dsmc query backup '/ | dsmc query backup '/ | ||
- | * Restore files with directory recursion to original | + | * Restore files with directory recursion to __original__ |
dsmc restore "/ | dsmc restore "/ | ||
| | ||
- | | + | " |
- | * Restore | + | * Restore |
- | + | ||
- | dsmc restore "/ | + | |
- | ("/" | + | |
- | (" | + | |
- | It looks like using dsmc interactively will wait for tape mounts but otherwise it won't. Maybe there' | + | |
- | -tapeprompt=no (default) | + | The "/" |
- | - means that it will wait | + | |
- | - yes means you will be prompted | + | |
- | -replace= | + | * Allow access to this host's backup from other hosts: |
- | - Prompt | + | |
- | You are prompted whether to overwrite a file that already exists on your workstation. If the existing file is read-only, you are prompted whether to overwrite it. This is the default. | + | dsmc set access backup " |
- | - All | + | |
- | All existing files are overwritten, | + | * Display host that have been allowed |
- | - Yes | + | |
- | Any existing files are overwritten, | + | query backup |
- | - No | + | |
- | Existing files are not overwritten. No prompts will be displayed. | + | * Delete access |
+ | |||
+ | | ||
+ | |||
+ | A list of access rules is shown and the user selects which one to delete. | ||
- | dsmc set access backup " | ||
- | delete access | ||
query access | query access | ||
-fromnode=other | -fromnode=other | ||
Zeile 46: | Zeile 45: | ||
Do several at once to speed up recovery | Do several at once to speed up recovery | ||
+ | ===== 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=no | ||
+ | </ | ||
+ | |||
+ | " | ||
+ | |||
+ | * 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. | ||
+ | |||
+ |