Skip to content

Simple Lua script to dump Redis content as redis commands. Supports only string, set & hash type.

Notifications You must be signed in to change notification settings

bbogacki/redis-dump-as-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

redis-dump-as-commands

Simple and dirty Lua script to dump Redis content as redis commands. Supports only string, set & hash type.

Usage

To dump redis database as commands type:

redis-cli EVAL "$(cat redis-dump-as-commands.lua)" 0

To recreate database in redis type:

redis-cli < output.txt

About

Simple Lua script to dump Redis content as redis commands. Supports only string, set & hash type.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages