content/commands/sync.md
Initiates a replication stream from the master.
The SYNC command is called by Redis replicas for initiating a replication
stream from the master. It has been replaced in newer versions of Redis by
[PSYNC]({{< relref "/commands/psync" >}}).
For more information about replication in Redis please check the replication page.
| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | |
{{< multitabs id="sync-return-info" tab1="RESP2" tab2="RESP3" >}}
Non-standard return value, a bulk transfer of the data followed by PING and write requests from the master.
-tab-sep-
Non-standard return value, a bulk transfer of the data followed by PING and write requests from the master.
{{< /multitabs >}}