Get the App
SLTechnology News&Howtos  ›  Servers  › 

Introduction of redis data Migration tool redis-shake

Shulou Source: shulou.com Published: 2022-06-01 12:54:49 10月03日 Update

This article mainly explains "the introduction of redis data migration tool redis-shake". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn the introduction of redis data migration tool redis-shake.

Restore operation

1. Download the backup data to the redis-shake peer directory, as shown in the figure

2. Modify the redis-shake.conf configuration and modify these items:

(for more information, please refer to https://help.aliyun.com/document_detail/116378.html?spm=5176.11065259.1996646101.searchclickresult.74f05fe2CkrEwz)

Rdb.input 、 target.address 、 target.password_raw 、 rewrite 、 parallel

3. Just execute the order.

. / redis-shake.linux64-type=restore-conf=redis-shake.conf

Remarks: none. During the import process, the cpu pressure on the destination redis will be relatively high, so you should pay attention to it.

Synchronous operation

1. Modify the redis-shake.conf configuration and modify these items:

Reference link 1: https://help.aliyun.com/document_detail/97027.html?spm=a2c4g.11174283.6.683.6169dce0vFE7rY

Reference link 2: https://help.aliyun.com/document_detail/117311.html?spm=a2c4g.11186623.2.16.13835957U62eVS#concept-226440

2. Just execute the command.

. / redis-shake.linux64-type=sync-conf=redis-shake.conf

Note: in the process of synchronization, there is little pressure on the source redis and relatively high pressure on the destination redis.

At this point, I believe you have a deeper understanding of "the introduction of redis data migration tool redis-shake". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Data tools pressure reference content commands notes purposes processes links learning configuration practical deeper less interesting peer backup practical practical Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS NVidia Linux Huawei OPPO Reno