Redis dump & load tool.
Project description
This tool is made specially for dump & load certain database of a redis server, if you want to dump whole redis or replicate from one to another, please checkout redis bgsave or redis replication on google.
NOTE: Package redis is required to use this tool.
Usage
usage: rdl.py [-n N] [-h H] [-p P] [-f] [--help] ACTION FILE Redis dump-load tool. positional arguments: ACTION `dump` or `load`. FILE if action is dump, then its output file, if actions is load, then its source file. optional arguments: -n N Number of database to process. -h H Redis host -p P Redis port -f Force or flush database before load --help show this help message and exit
Example
Dump database 1 to file redis.dump:
$ ./rdl.py dump redis.dump -n 1
Load to database 3 from file redis.dump:
$ ./rdl.py load redis.dump -n 3 -f
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rdl-1.0.1.tar.gz
(2.6 kB
view hashes)
Built Distributions
rdl-1.0.1.win-amd64.tar.gz
(4.0 kB
view hashes)
rdl-1.0.1.whatever.tar.gz
(4.0 kB
view hashes)
rdl-1.0.1.linux-x86_64.tar.gz
(4.0 kB
view hashes)
rdl-1.0.1-py2.7.egg
(4.8 kB
view hashes)
Close
Hashes for rdl-1.0.1.macosx-10.11-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d57e7ba5296c9fa9a071fd36981d7d0d9aaaa94fb98fbc8ca131c1cfa7511d8 |
|
MD5 | 7a5035572f7d68ceff776eac25458167 |
|
BLAKE2b-256 | 5a388cb383a670d97e85ffa26003cf9dbd16cb15f0bb3bf5d386e37f585f63b0 |