Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
wiki:tsm_ueberblick [2011/10/13 14:50] – angelegt wynekenwiki:tsm_ueberblick [2011/10/13 14:57] wyneken
Zeile 1: Zeile 1:
 ====== TSM Kommandozeile Überblick ====== ====== TSM Kommandozeile Überblick ======
  
 +  * 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 file recursively to a different location:
 + 
 +dsmc restore "/data/*" /different/location/ -su=yes
 + ("/" at end is recommended)
 + ("-su" means do subdirectories"
 +
 +It looks like using dsmc interactively will wait for tape mounts but otherwise it won't. Maybe there's an option to use?
 +
 +-tapeprompt=no (default)
 + - means that it will wait
 + - yes means you will be prompted
 +
 +-replace=
 + - 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.
 + - All
 +All existing files are overwritten, including read-only files. All locked files are replaced when the system is rebooted. If access to a file is denied, you are prompted to skip or overwrite the file. No action is taken on the file until there is a response to the prompt.
 + - Yes
 +Any existing files are overwritten, except read-only files. If a file is read-only, you are prompted to overwrite the file or skip it. No action is taken on the file until there is a response to the prompt. If access to a file is denied, the file is skipped.
 + - No
 +Existing files are not overwritten. No prompts will be displayed.
 +
 +dsmc set access backup "*" TOP*.PHYSIK.UNI-FREIBURG.DE root
 +delete access
 +query access
 +-fromnode=other
 +
 +query restore
 + - lists restartable sessions
 +cancel restore
 +restart restore
 +(how do you cancel a restartable session?)
 +
 +
 +Do several at once to speed up recovery

QR-Code
QR-Code TSM Kommandozeile Überblick (erstellt für aktuelle Seite)