Groups
Groups
Sign in
Groups
Groups
Redis DB
Conversations
About
Send feedback
Help
Remote dump for backup using redis-cli sync
940 views
Skip to first unread message
Kenn Ejima
unread,
Jun 4, 2012, 2:48:45 PM
6/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Redis DB
Hi,
Basically what I want to do is download what's equivalent to
"dump.rdb" from the Redis server.
The SYNC command seemed to fit the bill, so I went ahead and run the
following command:
redis-cli -h 10.1.2.3 sync > local.rdb
and compared local.rdb with dump.rdb.
They seem to be almost identical except there's one additional byte of
LF in local.rdb.
Here's my question: Is it safe to use this method for taking backups
(by removing the last byte)?
Reply all
Reply to author
Forward
0 new messages