mc admin replicate resync

Resynchronizes data from one site in the replication configuration to a second site in the replication configuration in the event of lost data.

Syntax

mc [GLOBALFLAGS] admin replicate resync start|status|cancel ALIAS1 ALIAS2
  • Replace ALIAS1 with the alias for the site that has the data to restore.
  • Replace ALIAS2 with the alias for the site that needs resynchronized data.

Parameters

Start

Launches a new resynchronization process from one site with data to a second site that needs synchronization.

Status

Shows the status of an existing resynchronization process between two sites configured for site replication.

Cancel

Ends a resynchronization process currently in progress between two sites configured for site replication.

ALIAS1

The alias of an active MinIO AIStor deployment in the site replication configuration with the data you want to resync to another site.

ALIAS2

The alias of an active MinIO AIStor deployment in the site replication configuration that needs data resynced from another site.

Global flags

This command supports any of the global flags.

Examples

The following command starts a resynchronization process to restore myaistor2 from myaistor1

mc admin replicate resync start myaistor1 myaistor2

The following command shows the status of a resynchronization currently in progress.

mc admin replicate resync status myaistor1 myaistor2

The following command stops a resynchronization that is in progress.

mc admin replicate resync cancel myaistor1 myaistor2