#author("2020-12-27T03:29:29+00:00","default:yusami","yusami") #contents &tag(Redis); * 情報 [#gd18c795] - [[WEB+DB PRESS Vol.73|技術評論社>http://gihyo.jp/magazine/wdpress/archive/2013/vol73]] Redis大活用~高速・多機能KVSの決定版! ~ ** [[MacOSX]] [#pa5bc083] - [[Macosx に Redis をインストールする|misc|@OMAKASE>http://www.omakase.org/misc/macosx_redis.html]] - [[Mac OSXにredisをインストール - blog.katsuma.tv>http://blog.katsuma.tv/2010/03/start_redis.html]] - [[[MacPorts] Mac OS X Lionにredisをインストール | CreativeStyle>http://kadoppe.com/archives/2011/09/macports-redis.html]] ** [[Windows]] [#g2495192] - [[Redis x86 builds for Windows>http://bitsandpieces.it/redis-x86-32bit-builds-for-windows]] ** [[バックアップ]] [#g15fc15c] - [[redisデータバックアップとリストア - Qiita>http://qiita.com/kkam0907/items/9a384fa260fdc5b4b047]] - [[RedisのBGSAVEコマンドを実行し、LASTSAVEが更新されるのを待つ。 タイムアウト時間を超えたら exit status 1 で終了する。>https://gist.github.com/nekoruri/6238957/download#]] ** [[Ruby]] [#ac2e8ee0] - [[redis/redis-rb · GitHub>https://github.com/redis/redis-rb]] * [[コマンド]] [#p1506e25] ** 概要 [#m2d9041b] - [[redis-cliの使い方 - Qiita>http://qiita.com/sawada_masahiko/items/1f60936c421ecab8dfbf]] redis-cliの使い方についてまとまった情報がなかったので、まとめてみました ** バックアップ [#m1ae48df] ** [[バックアップ]] [#m1ae48df] $ redis-cli bgsave Background saving started - バックアップの検証 $ redis-check-dump /usr/local/var/db/redis/dump.rdb ==== Processed 3 valid opcodes (in 12 bytes) =================================== CRC64 checksum is OK - バックアップ日時の取得 ([[date]]) $ date -r "`/usr/local/bin/redis-cli lastsave`" +%FT%T%z 2014-06-12T17:31:56+0900