Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » MobiLink - Getting Started » MobiLink tutorials » Tutorial: Introducing MobiLink

 

Lesson 11: Synchronizing

In this lesson, you synchronize the remote database with the consolidated database using the dbmlsync utility.

Prérequis

This lesson assumes you have completed all preceding lessons. See Lesson 1: Setting up a MobiLink consolidated database.

This lesson assumes that you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Introducing MobiLink.

 Task
  1. At a command prompt, change to the c:\MLintro\mlintro_project\sync_mlintro_deploy directory.

  2. Run the following command to synchronize the sync_mlintro_remote database:

    sync.bat "server=sync_mlintro_remote;UID=DBA;PWD=sql"

    A window appears displaying all information relevant to the sync_mlintro_remote client synchronization with the consolidated database. The information is saved to the remote.dbs file, which is accessible after you close the client synchronization window.

  3. Close the client synchronization window.

    Click Shut Down.

  4. In the MobiLink Profiler, click the Pause button to stop the horizontal scrolling and then use the bottom pane to scroll back to the last synchronization.

  5. Look at the properties of the last synchronization.

    Double-click the vertical colored bar to view the synchronization properties.

Résultat

The remote database is synchronized with the consolidated database.

 See also