rcu /copy c:\data server1 client1_data

In this example the RCU copies the c:\data directory on the client to the client1_data directory on the server (which is located in the RCU working directory on the server).

IMPORTANT: Windows restricts many file names (including the path) to 255 characters.

When you copy, mirror, or prepopulate data using the RCU, make sure your path and file names

do not exceed 255 characters. For example:

c:\temp\rcu\rcu.exe /

copy d:\database remoteHost d:\NYBackup\database

If a file in d:\database has a name with 243 characters, this file cannot be restored on the server because the server path name and the file name exceeds 255 characters. The RCU reports an error in this case.

Mirroring Data

When the RCU mirrors data, the client specifies to the server which directory or file it wants to mirror. The server sends information about this directory on the server to the client. The client examines the information on the server and compares it with its own files. Finally, the client sends the files that differ to update the server. Any files on the server that are different from the client will either be removed (if they do not exist on the client) or updated based on the client version. New files created on the client will also be sent to the server.

In monitor mode with mirroring, only the client is monitored for changes, not the server. A change on the server is not detected until a change occurs on the client directory where the mirroring process is invoked.

The client RCU utility uses the following information to compare the client and server files:

‹File attributes (for example: read-only, hidden, system, and so forth)

‹File creation or modification time

‹File size

‹Security descriptor (only if the /compareacls option is invoked)

On the client, for each file or directory, if any of the above have changed, the file on the server is updated to match the file on the client. Thus, mirroring makes the server the same as the client.

To mirror data

1.

On server1, start a command window. This command starts the server RCU

 

 

process in the e:\working directory.

 

2.

Move to the working directory on the server where you want to copy data. For

 

 

example:

cd e:\working

3.Start the RCU on the server. For example:

18

2 - INSTALLING AND USING THE RCU

Page 20
Image 20
HP Enterprise File Services WAN Accelerator manual Mirroring Data, To mirror data