Local copy mode

User-Supplied Options: OS and Path

When you generate a transfer package using the Local Copy mode, DCM uses a copy command to send the transfer package from the generate_directory to the receive_directory of the destination database. The Rational® Synergy engine that generates the transfer package performs the copy.

The Local Copy mode is appropriate when the source database engine can write to the receive_directory of the destination database as user ccm_root. Such transfers are common between two DCM databases that can access the same file system.

DCM uses the OS field to determine which copy command to use. If the source database is UNIX-based, DCM uses the UNIX® cp -r command. If the source database is Windows-based, DCM uses the Windows® copy command for files and xcopy command for directories.

DCM uses the Path field to complete the path to the receive_directory of the destination database. In the Local Copy mode, DCM automatically appends the dcm\receive directory to the Path value.

Note: Transfers that use Windows-to-UNIX Local Copy mode require that the UNIX file system that contains the destination database are visible to the Windows host. This state is accomplished using a third-party NFS client package for Windows, or a gateway server solution such as Samba.

The table shows examples of Local Copy mode path values for UNIX and Windows transfers.

Table 1.
Source Destination Destination database path
UNIX UNIX /ccm71/ccmdbs/ESX
UNIX Windows /ccm71/ccmdbs/ESX1
Windows Windows \\server_machine\ccm71\ccmdbs\ESX2
Windows UNIX x:\ccm71\ccmdbs\ESX

Feedback