Skip to main content

Import Redis

Overview

Import a Redis database from your current setup into a Cloudron app.

Cloudron uses Redis' RDB persistence format for point-in-time snapshots. Create a dump file in your existing Redis installation by sending the SAVE command to import the RDB.

Import

  1. Stop the app using the stop button in the Console section. This also stops the dependent Redis container.
  1. Identify the app's ID from the Updates section.
  1. Copy the Redis dump file via SCP. Replace server-ip with your server's IP address and use your app's ID:
$ scp dump.rdb root@server-ip:/home/yellowtent/platformdata/redis/85a26cdf-3858-4784-b2c1-6ddb9c37e5b9/dump.rdb
dump.rdb 100% 692 4.8KB/s 00:00
  1. Start the app using the start button in Console.

Verify

  1. Open a Web Terminal using the Terminal button in the Console section.
  1. Click the Redis button at the top of the terminal to paste the Redis CLI command. Press Enter to access the Redis shell.