Skip to main content

Redis Migrate

Simple command line tool for redis data migration (minimal functionality)

It is useful when you're not able to use slaveof command (e.g. slaveof command is not available in ElastiCache) or should migrate from multiple redis servers to a single server.

Installation

pip install redis-migrate

Usage

# Basic usage
redis-migrate srchost[:port][/db] dsthost[:port][/db] [--all-keys=false] [--procs=1]

# Migrate the keys from db 0 of source host to db 1 of destination host.
redis-migrate srchost dsthost/1

# If you don't want to replace existing keys, use `--no-replace` option.
redis-migrate srchost dsthost/1 --no-replace

# Migrate the entire keys from source host at 6380 port to destination host.
# It will ignore `/db` number.
redis-migrate srchost:6380 dsthost --all-keys

# You can also set process number to use multiprocessing for speed up.
# It works only with `--all-keys`.
redis-migrate srchost dsthost --all-keys --procs 4

License

MIT

Stashed changes

Metadata

Release files for redis-migrate 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for redis-migrate 1.0.0
File Size Uploaded Provenance Actions
redis-migrate-1.0.0.tar.gz 3.8 kB Without provenance Details for redis-migrate-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for redis-migrate 1.0.0
File Interpreter ABI Platform Actions
redis_migrate-1.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for redis_migrate-1.0.0-py2.py3-none-any.whl

Total release size: 7.6 kB

Release files / redis-migrate-1.0.0.tar.gz

Download URL redis-migrate-1.0.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
eab27d09a341a1cbf1c3743018e88a0d294fc2df826ab01187e60c04e069fd0d
BLAKE2b-256 checksum
How to use checksums
fb5c4562c6a7a8caf14f7b84a7c9b900097a501c99e5da7cc9c8b537b9e65a06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

Release files / redis_migrate-1.0.0-py2.py3-none-any.whl

Download URL redis_migrate-1.0.0-py2.py3-none-any.whl
Size 3.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a8e53546090e910b307c81bd9e51054e9f0bad33bf7ddf00c67ae895c1198d26
BLAKE2b-256 checksum
How to use checksums
8942e806e22102e1e558d5dbb70c0dd7c0619220a6421c2216b2d0e592f13e3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

Security for redis-migrate 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page