Redis::Dump - It's a simple way to dump and backup data from redis-server
version 0.016
use Redis::Dump; use Data::Dumper; my $dump = Redis::Dump->new({ server => '127.0.0.6379', filter => 'foo' }); print Dumper( \$dump->run );
It's a simple way to dump data from redis-server in JSON format or any format you want.
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 dump.
Host:Port of redis server, example: 127.0.0.1:6379.
If you want to select another database than default which is 0.
String to filter keys stored in redis server.
If you want to get just some types of keys.
It can be: lists, sets, hashs, strings, zsets
If you want to show type with key name.
Hide value of keys.
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::Restore, App::Redis::Dump, App::Redis::Dump::Restore
Rémi Paulmier
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.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Rémi'. Assuming UTF-8
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.