Help us understand the problem. What is going on with this article?

redisでmysqldumpのようなダンプツールを使う

More than 5 years have passed since last update.

mysqldumpのように既存データベースに対しての追記形式でダンプできたほうが都合が良いこともある
そんな時にはredis dump

http://code.google.com/p/redis-dump/

redis-dump -u 127.0.0.1:6371 > db_full.json
< db_full.json redis-load 

DB単位でダンプもできる

redis-dump -u 127.0.0.1:6371 -d 15 > db_db15.json

centos6.4にインストールするには以下のパッケージを入れる

sudo yum install ruby-devel ruby rubygems
sudo gem install redis-dump

ひとつだけ注意書きがあってまだアルファバージョンだから運用に使うなよとある。

NOTE: This is alpha software. DO NOT RELY ON IT FOR PRECIOUS THINGS!!
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away