rdl - Redis dump-load tool ========================== 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 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
File details
Details for the file rdl-1.0.tar.gz
.
File metadata
- Download URL: rdl-1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c23ad00002efe189d15122ec3610c43a8bebac9670e3f3fbe877997d11a3304 |
|
MD5 | 1b7701cc0cf87b28117e570484c3af66 |
|
BLAKE2b-256 | 05382aca1d17b270387b388a4d81c1589d65910977bea7142821ab5c64399094 |