Skip to main content

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: [-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


Dump database 1 to file redis.dump:

$ ./ dump redis.dump -n 1

Load to database 3 from file redis.dump:

$ ./ 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.1.0.tar.gz (2.6 kB view hashes)

Uploaded source

Built Distribution

rdl-1.1.0-py2-none-any.whl (4.2 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page