NAME Redis::Dump - Backup and restore your Redis data to and from JSON. VERSION version 0.005 SYNOPSIS $ redis-dump --server 127.0.0.1:6379 --filter foo { "foo" : "1", } DESCRIPTION It's a simple way to dump data from redis-server in JSON format or any format you want (you can use Redis::Dump class). COMMAND LINE API This class uses MooseX::Getopt to provide a command line api. The command line options map to the class attributes. METHODS new_with_options Provided by MooseX::Getopt. Parses attributes init args from @ARGV. run Perfomas the actual dump, and you can use your code as: use Redis::Dump; use Data::Dumper; my $dump = Redis::Dump({ server => '127.0.0.6379', filter => 'foo' }); print Dumper( \$dump->run ); ATTRIBUTES server Host:Port of redis server, example: 127.0.0.1:6379. filter String to filter keys stored in redis server. DEVELOPMENT 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. SUPPORT 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 * AnnoCPAN: Annotated CPAN documentation * CPAN Ratings * Search CPAN AUTHOR Thiago Rondon COPYRIGHT AND LICENSE 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.