Skip to content

Simple Python script to parse a Redis append only file

License

Notifications You must be signed in to change notification settings

yasny/redis-aof-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Parse Redis AOF

This script will parse a Redis append only file and print out each command on a separate line.

$ ./parse-redis-aof.py appendonly.aof
SELECT  1
MULTI
incrby  stat:processed  0
...

NOTE: Only tested with an AOF file from Redis 5.x. May not work correctly with Redis 7's multi-part AOF mechanism.

About

Simple Python script to parse a Redis append only file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages