Bidirectional Snapshot Replicaton Setup tutorial
Publishing a DAV collection Publishing a DAV collection for replication

## Preliminaries

Bidirectional snapshot replication allows you to set up snapshot replication between multiple servers where updates can be performed on all servers.

- Publisher-subscriber model where each DAV collection has only one publisher and when an update is performed on subscriber it goes to publisher first, and then to all other subscribers.
- Conflict resolution may need to take place on the publisher when DAV resources coming from a subscriber are processed.

## Example publishing a DAV collection

1. Login to the Conductor UI using the dba account.
2. Go to the "Replication" tab and then go to the "Bidirectional Snapshot" tab.
3. Press "Add DAV Collection" button.
4. Enter DAV collection name or select DAV collection using "Browse..." button and press "Add" button.

## Equivalent SQL commands to above

1. Connect to the Virtuoso server via ISQL utility as DBA user.
2. Publish "/DAV/doc" DAV collection.

       SQL> repl_create_snapshot_pub ('/DAV/doc', 1);