Tivoli Header

Tivoli Storage Manager for Windows Backup-Archive Clients Installation and User's Guide

Replace

The replace option specifies what you want the system to do when it restores files that already exist on your workstation. This option applies to the restore, retrieve, and restore backupset commands only.

Note:
The Tivoli Storage Manager Client API does not support this option.

Supported Clients

This option is valid for all Windows clients.

Options File

Place this option in the client options file dsm.opt.

Syntax

           .-Prompt-.
>>-REPlace-+--------+------------------------------------------><
           +-All----+
           +-Yes----+
           '-No-----'
 
 

Parameters

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. On Windows NT, 2000, XP, and Windows.Net workstations, 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 display.
Note:
On Windows NT, 2000, XP, and Windows.Net workstations, you can choose to replace locked files when the system is rebooted. Tivoli Storage Manager cannot perform an in-place restore of active files. However, it will stage restored versions of active files for replacement during the next reboot, except files containing named streams, sparse files, and directories. You can only restore these files if they are unlocked.

Examples

Options file:
replace all

Command line:
-replace=no


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]