rdb-cli

command module
v0.0.0-...-a4d187a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2016 License: MIT Imports: 6 Imported by: 0

README

Redis RDB manipulation tool

rdb-cli tool takes redis RDB file and converts it to redis protocol (or other) format. This can be then used for ex. to pipe data in protocol format directly to redis using mass insertion feature.

Usage example

This tool will be used in backup process to restore a running redis instance without the need to have SSH access (ex. AWS ElastiCache)

A primary use case:

  • take RDB snapshot of Redis instance,
  • format RDB file to redis protocol (RESP)
  • pipe it to redis instance using mass insert

After you acquire an RDB snapshot, restoring it to a running instance is as simple as running one command:

$ ./rdb-cli --format protocol ./redis-backup.rdb | redis-cli --pipe

Similar tools

Similar tools in different languages:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL