Skip to content

Commit

Permalink
Data recovery on startup (#793)
Browse files Browse the repository at this point in the history
* Add flags

* Update flags and remove callout
  • Loading branch information
kgolubic authored May 22, 2024
1 parent b61b3d2 commit 9b90043
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pages/clustering/replication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Callout } from 'nextra/components'

# Replication


When distributing data across several instances, Memgraph uses replication to
provide a satisfying ratio of the following properties, known from the CAP theorem:

Expand Down Expand Up @@ -306,19 +305,19 @@ you need expose different ports for each instance.
The MAIN instance:

```
docker run -p 7687:7687 memgraph/memgraph-mage
docker run -p 7687:7687 memgraph/memgraph-mage --data-recovery-on-startup=true
```

REPLICA instance 1:

```
docker run -p 7688:7687 memgraph/memgraph-mage
docker run -p 7688:7687 memgraph/memgraph-mage --data-recovery-on-startup=true
```

REPLICA instance 2:

```
docker run -p 7689:7687 memgraph/memgraph-mage
docker run -p 7689:7687 memgraph/memgraph-mage --data-recovery-on-startup=true
```

You can connect to each instance using the Memgraph Lab desktop application, or any
Expand Down

0 comments on commit 9b90043

Please sign in to comment.