Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungLetzte ÜberarbeitungBeide Seiten der Revision | ||
wiki:tsm_ueberblick [2011/10/13 15:13] – [Commands] wyneken | wiki:tsm_ueberblick [2022/07/14 07:37] – ph1046 | ||
---|---|---|---|
Zeile 2: | Zeile 2: | ||
===== Commands ===== | ===== Commands ===== | ||
+ | |||
+ | ==== Display ==== | ||
Zeile 7: | Zeile 9: | ||
dsmc query backup '/ | dsmc query backup '/ | ||
+ | | ||
+ | |||
+ | ==== Back up and archive ==== | ||
+ | |||
+ | * Incremental | ||
+ | |||
+ | dsmc incr | ||
+ | |||
+ | * Archive | ||
+ | |||
+ | dsmc archive "/ | ||
+ | ==== Restore and retrieve ==== | ||
+ | |||
+ | The //restore// command works with files that have been backed up, // | ||
* Restore files with directory recursion to __original__ location: | * Restore files with directory recursion to __original__ location: | ||
Zeile 20: | Zeile 36: | ||
The "/" | The "/" | ||
+ | * :!: Please note that performing several restores in a row sometimes pulls in files that were previously marked as unavailable | ||
+ | |||
+ | Restore Inactive (older) Versions of files or folders: | ||
+ | * dsmc restore -inactive -pick -su=yes '/ | ||
+ | * a windows will open with the older files or folders numbered | ||
+ | * choose the number of the file you want to restore and press enter | ||
+ | * confirm by typing o (stands for ok) and press enter again, the files will bes restored in the choosen location; cancel the selected file with typing c and enter | ||
+ | |||
+ | ==== Delete files from backup and archive ==== | ||
+ | |||
+ | The commands are: | ||
+ | |||
+ | dsmc delete backup ... | ||
+ | dsmc delete archive ... | ||
+ | | ||
+ | The other specifications are the same as with //backup//, // | ||
+ | ==== 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 ===== | ||
Zeile 40: | Zeile 116: | ||
The possibilities are: | 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. | + | * Prompt |
- | * 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. | + | * 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, 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. | + | * 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 prompts will be displayed. | + | * No: Existing files are not overwritten. No more prompts will be displayed. |
- | + | ||
- | dsmc set access backup " | + | |
- | 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 |