# Data Migration

> How do you move a key, or a whole dataset, from one Redis instance to another?

Canonical: https://www.internhack.in/learn/interview/redis-caching/redis-migration-pattern
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

How do you move a key, or a whole dataset, from one Redis instance to another?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

MIGRATE, DUMP and RESTORE, Resharding, Replication-based migration, Big keys

Previous: [Disabling Replies](https://www.internhack.in/learn/interview/redis-caching/redis-client-reply) · Next: [Redis VM/Swap (Legacy)](https://www.internhack.in/learn/interview/redis-caching/redis-swap-files-legacy) · [All of Redis & Caching](https://www.internhack.in/learn/interview/redis-caching)

## More Redis & Caching questions

- [Set Math: Intersection/Union](https://www.internhack.in/learn/interview/redis-caching/redis-set-operations)
- [Popping from Sorted Sets](https://www.internhack.in/learn/interview/redis-caching/redis-zpopmin-max)
- [LRU Accuracy](https://www.internhack.in/learn/interview/redis-caching/redis-max-memory-samples)
- [Core Data Types](https://www.internhack.in/learn/interview/redis-caching/redis-data-types)
- [Caching Strategies](https://www.internhack.in/learn/interview/redis-caching/redis-caching-strategies)
- [Eviction Policies](https://www.internhack.in/learn/interview/redis-caching/redis-eviction-policies)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Redis & Caching](https://www.internhack.in/learn/interview/redis-caching)
