English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The Redis Sync command is used to synchronize the master and slave servers.
The basic syntax of the redis SYNC command is as follows:
redis 127.0.0.1:6379> SYNC
>= 1.0.0
Indeterminate.
redis 127.0.0.1:6379> SYNC Entering slave output mode... (press Ctrl-C to quit) SYNC with master, discarding 18 bytes of bulk transfer... SYNC done. Logging commands from master. "PING" "PING" "PING" "PING"