Windows operating systems

Duplicate file names

If you attempt to restore or retrieve a file whose name is the same as the short name of an existing file, a file name collision occurs (existence of duplicate file names).

An example is when the file abcdefghijk.doc has a short name of abcdef~1.doc, and you attempt to restore or retrieve a file explicitly named abcdef~1.doc into the same directory. In this case, a collision occurs because the name of the file you are restoring conflicts with the short name for abcdefghijk.doc.

A collision can occur even if the files are restored or retrieved to an empty directory. For example, files abcdef~1.doc and abcdefghijk.doc might originally have existed in the directory as abcdefghijk.doc and abcdef~2.doc. During the restore, if abcdefghijk.doc is restored first, it is assigned a short name of abcdef~1.doc by the Windows operating system. When you restore abcdef~1.doc, the duplicate file name situation occurs.

Tivoli® Storage Manager handles these situations based on the value of the replace option. Use the replace option to specify whether to overwrite an existing file, or to prompt you for your selection when you restore or retrieve files.

If a file name collision occurs, you can do any of the following: