Does anybody know a good solution for export/import in Redis? Generally I need to dump DB (and edit the dump as a case) from a server and load it to another one (e.g. localhost). Maybe some scripts?
Redis has two binary format files supported: RDB and AOF.
RDB is a dump like what you asked. You can call save
to force a rdb. It will be stored in the dbfilename
setting you have, or dump.rdb in the current working directory if that setting is missing.
More Info: http://redis.io/topics/persistence