- Redis Basics
- Redis - Home
- Redis - Overview
- Redis - Environment
- Redis - Configuration
- Redis - Data types
- Redis Commands
- Redis - Commands
- Redis - Keys
- Redis - Strings
- Redis - Hashes
- Redis - Lists
- Redis - Sets
- Redis - Sorted Sets
- Redis - HyperLogLog
- Redis - Publish Subscribe
- Redis - Transactions
- Redis - Scripting
- Redis - Connections
- Redis - Server
- Redis Advanced
- Redis - Backup
- Redis - Security
- Redis - Benchmarks
- Redis - Client Connection
- Redis - Pipelining
- Redis - Partitioning
- Redis - Java
- Redis - Php
- Redis Useful Resources
- Redis - Quick Guide
- Redis - Useful Resources
- Redis - Discussion
Redis - Server Sync Command
Redis SYNC command is used to sync slave to master.
Return Value
Simple string reply.
Syntax
Following is the basic syntax of Redis SYNC command.
redis 127.0.0.1:6379> SYNC
Example
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"
redis_server.htm
Advertisements