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:12] – wyneken |
---|
dsmc restore "/data/*" -su=yes | dsmc restore "/data/*" -su=yes |
| |
"-su" stands for subdirectories. | "-su" stands for subdirectories. |
| |
* Restore file recursively to a different location: | * Restore files 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? | dsmc restore "/data/*" /different/location/ -su=yes |
| |
-tapeprompt=no (default) | The "/" at end of the new location is mandatory. |
- means that it will wait | |
- yes means you will be prompted | |
| |
-replace= | ===== Options ===== |
- 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. | * Options apparently go at the end of a command. |
- 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. | * It looks like using dsmc interactively will wait for tape mounts but otherwise it won't. You can use the //tapeprompt// option: |
- 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. | <code> |
- No | -tapeprompt=no |
Existing files are not overwritten. No prompts will be displayed. | </code> |
| |
| "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: |
| |
| <code> |
| -replace=xxx |
| </code> |
| |
| The possibilities are: |
| |
| * 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 | dsmc set access backup "*" TOP*.PHYSIK.UNI-FREIBURG.DE root |