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:58] – wyneken | wiki:tsm_ueberblick [2011/11/09 11:01] – [Back up] wyneken | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== TSM Kommandozeile Überblick ====== | ====== TSM Kommandozeile Überblick ====== | ||
+ | |||
+ | ===== Commands ===== | ||
+ | |||
+ | ==== Display ==== | ||
+ | |||
* List contents of backup: | * List contents of backup: | ||
dsmc query backup '/ | dsmc query backup '/ | ||
+ | | ||
- | | + | ==== Back up and archive ==== |
+ | |||
+ | * Incremental | ||
+ | |||
+ | dsmc incr | ||
+ | |||
+ | * Archive | ||
+ | |||
+ | dsmc archive / | ||
+ | ==== Restore ==== | ||
+ | |||
+ | |||
+ | | ||
dsmc restore "/ | dsmc restore "/ | ||
Zeile 11: | Zeile 29: | ||
" | " | ||
- | * Restore | + | * Restore |
- | + | ||
- | dsmc restore "/ | + | dsmc restore "/ |
- | ("/" | + | |
- | ("-su" means do subdirectories" | + | The "/" |
+ | |||
+ | * :!: Please note that performing several restores in a row sometimes pulls in files that were previously marked as unavailable | ||
+ | ==== Restartable restore sessions ==== | ||
+ | |||
+ | * List restartable restore sessions: | ||
+ | |||
+ | dsmc query restore | ||
+ | |||
+ | * Restart a restartable restore: | ||
+ | |||
+ | dsmc restart restore | ||
+ | |||
+ | Choose for the list of restore sessions displayed. | ||
+ | |||
+ | * Cancel a restartable restore: | ||
+ | |||
+ | dsmc cancel restore | ||
+ | |||
+ | Choose for the list of restore sessions displayed. | ||
+ | |||
+ | |||
+ | ==== Access ==== | ||
+ | |||
+ | |||
+ | * Allow access to this host's backup from other hosts: | ||
+ | |||
+ | dsmc set access backup | ||
+ | |||
+ | * Display host that have been allowed access to this host's backup. | ||
+ | |||
+ | dmsc query access | ||
+ | |||
+ | * Delete access to this host's backup from other hosts: | ||
+ | |||
+ | dmsc delete access | ||
+ | |||
+ | A list of access rules is shown and the user selects which one to delete. | ||
+ | |||
+ | * Specify a different host's backup to restore from: | ||
+ | |||
+ | < | ||
+ | -fromnode=other-host | ||
+ | </ | ||
+ | |||
+ | |||
+ | * 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 | ||
+ | </ | ||
- | It looks like using dsmc interactively | + | " |
- | -tapeprompt=no (default) | + | * Specify what to do when trying to restore to an existing file with: |
- | - means that it will wait | + | |
- | - yes means you will be prompted | + | |
- | -replace= | + | < |
- | - Prompt | + | -replace=xxx |
- | 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. | + | </ |
- | - All | + | |
- | All existing files are overwritten, | + | |
- | - Yes | + | |
- | Any existing files are overwritten, | + | |
- | - No | + | |
- | Existing files are not overwritten. No prompts will be displayed. | + | |
- | dsmc set access backup " | + | The possibilities are: |
- | delete access | + | |
- | query access | + | |
- | -fromnode=other | + | |
- | query restore | + | * Prompt (default): You are prompted whether to overwrite a file that already exists on your workstation. |
- | - lists restartable sessions | + | * All: All existing files are overwritten. No action is taken on the file until there is a response to the prompt. |
- | cancel restore | + | * Yes: Any existing files are overwritten. No action is taken on the file until there is a response to the prompt. |
- | restart restore | + | * No: Existing files are not overwritten. No more prompts will be displayed. |
- | (how do you cancel | + | |
- | Do several at once to speed up recovery |