w3resource

Redis Server: SYNC

SYNC

Redis SYNC command is used to sync slave to master.

Syntax:

SYNC

Available since

1.0.0.

Return Value

Simple string reply

Return Value Type

String

Example: Redis SYNC

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"

Previous: SLOWLOG
Next: TIME



Follow us on Facebook and Twitter for latest update.