This script can help you to copy redis dump.rdb file to another ubuntu 16+ server by scp
command
First, install the script and make it executable:
wget https://raw.githubusercontent.com/AY-ME/rdb/main/copy-redis-remotely.sh
chmod +x copy-redis-remotely.sh
Then, run it by:
./copy-redis-remotely.sh
Will ask you for:
- The old server-ip address .
- The old server root password to get access and grep the file .
NOTE: if he ask you for (yes/no) enter yes .