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
Built Distributions
File details
Details for the file rdl-1.0.1.tar.gz
.
File metadata
- Download URL: rdl-1.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4afa24c63267bbbb51e3010e8053603908b0d58f92a91f3a5f609fb954053c13 |
|
MD5 | d0d73eb3e2622b2aa312218da992981b |
|
BLAKE2b-256 | dcc1e23956f16d18d089f17e4e5a5918fc71d7e156723dc2252155379b94c589 |
File details
Details for the file rdl-1.0.1.win-amd64.tar.gz
.
File metadata
- Download URL: rdl-1.0.1.win-amd64.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 007c6e540261e2ef7e99c0ca19ea15a23e0b6c1d9cffa6a00e9487ac41e08820 |
|
MD5 | df622bee318f5a7dda5d07726330da17 |
|
BLAKE2b-256 | d85579614b0fe233e08cc511f79a30c0ea114d9e96e0bf4e2d072970e8c32dab |
File details
Details for the file rdl-1.0.1.whatever.tar.gz
.
File metadata
- Download URL: rdl-1.0.1.whatever.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a1b0468deaa2674bc528d1028c7cfd5ba41c6edb87cfcecb76bd34fb90560ac |
|
MD5 | fa9731091eb21e1c43fbde767aa73cb3 |
|
BLAKE2b-256 | 3cca841a066860c960c73e9cb541d9221c35d10619be9fa02e7884d54b6673c2 |
File details
Details for the file rdl-1.0.1.macosx-10.11-x86_64.tar.gz
.
File metadata
- Download URL: rdl-1.0.1.macosx-10.11-x86_64.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d57e7ba5296c9fa9a071fd36981d7d0d9aaaa94fb98fbc8ca131c1cfa7511d8 |
|
MD5 | 7a5035572f7d68ceff776eac25458167 |
|
BLAKE2b-256 | 5a388cb383a670d97e85ffa26003cf9dbd16cb15f0bb3bf5d386e37f585f63b0 |
File details
Details for the file rdl-1.0.1.linux-x86_64.tar.gz
.
File metadata
- Download URL: rdl-1.0.1.linux-x86_64.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf37e644149674c2a8fb41f3bfd65114274a0ca3b7286954cbd6ee2e758e2423 |
|
MD5 | a39e1ccfd2448e2079238f97e7009603 |
|
BLAKE2b-256 | c9462d68c0ed5b2183dead161d16b7f7e186488c4e8b9ad192b0600f1cf42766 |
File details
Details for the file rdl-1.0.1-py2.7.egg
.
File metadata
- Download URL: rdl-1.0.1-py2.7.egg
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceb3ee818fb42940425cc2ea062b0d7d02518b9cc5690a5dc5ee4a24243484cf |
|
MD5 | 59fe5cf3b726add06f858b76ad139795 |
|
BLAKE2b-256 | e339be5d70dfce1d02fe7a829c67fdf972e0b7eab6328120a525376ae780f91e |