Local copy mode

You can generate a transfer package using 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.

User-Supplied Options: OS and Path

Use the Local Copy mode 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.
Table 1. Examples of Local Copy mode path values for UNIX and Windows transfers
Source Destination Destination database path
UNIX UNIX /ccm72/ccmdbs/ESX
UNIX Windows /ccm72/ccmdbs/ESX1
Windows Windows \\server_machine\ccm72\ccmdbs\ESX2
Windows UNIX x:\ccm72\ccmdbs\ESX

Feedback