Redis::Dump::Restore - It's a simple way to restore data to redis-server based on redis-dump.
version 0.016
use Redis::Dump::Restore; my $restore = Redis::Dump::Restore->new({ server => '127.0.0.6379', file => 'foo.txt');
It's a simple way to restore data to redis-server based on redis-dump (JSON).
This class uses MooseX::Getopt to provide a command line api. The command line options map to the class attributes.
Provided by MooseX::Getopt. Parses attributes init args from @ARGV.
Perfomas the actual restore.
Host:Port of redis server, example: 127.0.0.1:6379.
If you want to select another database than default which is 0.
Remove all keys from all databases
File with dump
Redis::Dump is a open source project for everyone to participate. The code repository is located on github. Feel free to send a bug report, a pull request, or a beer.
http://www.github.com/maluco/Redis-Dump
Redis::Dump, App::Redis::Dump, App::Redis::Dump::Restore
You can find documentation for this module with the perldoc command.
perldoc Redis::Dump
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Redis-Dump
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Redis-Dump
CPAN Ratings
http://cpanratings.perl.org/d/Redis-Dump
Search CPAN
http://search.cpan.org/dist/Redis-Dump
Thiago Rondon <thiago@nsms.com.br>
This software is copyright (c) 2011 by Thiago Rondon.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Redis::Dump, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Redis::Dump
CPAN shell
perl -MCPAN -e shell install Redis::Dump
For more information on module installation, please visit the detailed CPAN module installation guide.