Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Dbvisit Replicate command console is central to Dbvisit Replicate and can be used to create a new replication, view the replication process and also to control and change the replication settings.

The Dbvisit Replicate command console is started by running the dbvrep program.

The Dbvisit Replicate command console can be started in two the following ways:

  1. Starting the Dbvisit Replicate command console without a DDC file. This  This brings up an empty command console and from here to run the setup wizard can be started to setup a new replication.initiate a new replication.
  2. Run the start-console.sh or start-console.bat script to start the console with a DDC file. This is the preferred method after a replication has been configured through the setup wizard. The setup wizard creates the start-console.sh or start-console.bat scripts. 
  3. Starting the Dbvisit Replicate command console with a DDC file. This connects to an existing replication and will show the progress and overview of the replication. From the command console, the replication can be changed, paused, stopped, new tables can be added, conflict handlers can be configured and current conflicts can be resolved.

1 - Starting the Dbvisit Replicate command console WITHOUT a DDC file

This brings up an empty command console to run the setup wizard to initiate a new replication.

On Windows:

There are several ways to start the Dbvisit Replicate command console:

1. There is a start Windows start menu Windows shortcut to the Dbvisit Replicate command console:

  Start > Dbvisit > Replicate > Dbvisit Replicate Command Console

...

Column
width5%

 

...

width95%

...

Image Added

 

2. Start a Windows command prompt and type:

No Format
bgColorCCC
dbvrep.exe

 

The command console will start:

Image Added

On Linux/Unix:

Start the dbvrep program without a DDC file:

No Format
bgColorCCC
dbvrep

 

2 - Starting the Dbvisit Replicate command console WITH a DDC file

This connects to an existing replication and will show the progress and overview of the replication. From the command console, the replication can be changed, paused, stopped, new tables can be added, conflict handlers can be configured and current conflicts can be resolved.

On Windows:

There are several ways to start the Dbvisit Replicate command console:

1. There is a Windows start menu shortcut to the Dbvisit Replicate command console:

Start > Dbvisit > Replicate > Dbvisit Replicate Command Console
No Format
bgColorCCC
dbvrep> readddc w112a.ddc

 

2. Start a Windows command prompt and type:

Section
Column
width5%

 

Column
width95%
Panel No Format
bgColorCCC
dbvrep.exe --ddcfile w112a.ddc
Where w112a.ddc is an example name of a DDC file

 

3. Use the shortcut script generated by the setup wizard (located in the specific replication directory). This script will start the command console with the correct DDC file:

column5%
Sectionnoformat
bgColor
width
CCC
start-console.bat

 

...

width95%

...

On Linux/Unix:

There are several ways to start the Dbvisit Replicate command console:

1. Start the dbvrep program with a DDC file:

No Format
bgColorCCC
start-console.bat

On Linux/Unix:

panel
dbvrep --ddcfile w112a.ddc
Section
Column
width5%

 

Column
width95%
Where w112a.ddc is an example name of a DDC file

 

2. Use the shortcut script generated by the setup wizard (located in the specific replication directory). This script will start the command console with the correct DDC file:

No Format
bgColorCCC
start-console.sh

 

3. Start the dbvrep program with no termcap. This disables the status bar and scrolling. It can be used when the normal Dbvisit Replicate console does not display properly.

No Format
bgColorCCC
dbvrep --no-termcap --ddcfile w112a.ddc
Where w112a.ddc is an example name of a DDC file