Skip to main content

Documentation Index

Fetch the complete documentation index at: https://uncoded.ch/docs/llms.txt

Use this file to discover all available pages before exploring further.

How to migrate your data from an older version and move your database to a different server.

Upgrade your unCoded version

How to migrate an older bot database to the latest version. Step-by-step guide to migrating an older bot database to the latest version. Learn how to safely migrate an older bot database to the newest version.
Before performing any new installation, make sure to back up your old database first. See Step 4.If you already know how to use DBeaver, jump to: Restore the old database to the new bot.
1

๐Ÿ–ฅ๏ธ Server configuration

Make sure you have already installed the latest Linux version, including CapRover integration, on your server.If not, please follow the correct setup guide here: Setup your Server.
2

๐Ÿค– Create an unCoded bot

Create a new trading bot in unCoded. You can find the detailed instructions here: Create your unCoded Bot.
Make sure you are signed in to the website with your Google account.Also make sure that you have added your Binance UID / Binance API.

3

๐Ÿ—‚๏ธ Prepare your Database

This guide is based on DBeaver, but other database tools can be used as well.Download the software to your device and install it.

Open the database port for DBeaver (Netcup / Caprover)

This Section is for your Netcup / Caprover Setup. Scroll down to the next section to learn how to prepare your Railway / Zeabur setup.
Before downloading the database, you need to expose a port for DBeaver first.In your bot, open โ€œYOUR-BOT-NAME-dbโ€.
Image (13)
  • Then navigate to โ€œApp Configurationโ€ and add a Port mapping.
Image (14)
  • Set both fields to โ€œ5432โ€.
  • Click Save & Restart to apply the changes.

Prepare your Railway Instance

Learn how to prepare your Railway instance for your database connection.

Prepare your Zeabur Instance

Learn how to prepare your Zeabur instance for your database connection.
To connect DBeaver to your Zeabur database, you do not need to configure or enable anything manually. To establish the connection, we simply need to locate the correct database values in Zeabur and enter them into DBeaver.
Image (11)
  • To get the required values, first open your project folder in the Zeabur dashboard.
Image (38)
  • Under the Overview section, you will need the PostgreSQL Password. Save this value for later.
Image (39)
  • Then switch to the Networking section.
  • There, copy the domain/IP and the corresponding port.
    You will learn how to use these details in DBeaver in the following section.

4

๐Ÿ›œ Connect DBeaver to your database and Backup your Data

Now connect your database to DBeaver to gain access.Open DBeaver and click โ€œNew Database Connectionโ€ in the top left corner.
Image (15)
  • Select **โ€œPostgreSQLโ€**and click โ€œNextโ€.
Image (16)
  • Then enter the following details:
    • โ€‹Host: Your server IP
    • โ€‹Port: 5432
    • โ€‹Authentication โ†’ Password: Your POSTGRES_PASSWORD from CapRover
  • Click โ€œFinishโ€.
Image (17)
  • Your server should now appear in the left sidebar. Select it and click โ€œConnectโ€ in the top left corner. If the connection is successful, a green checkmark will appear and you will be able to open the database.
  • Open the database named uncoded_db.
Image (18)
  • If it does not appear, right-click your server connection and select โ€œEdit Connectionโ€.
Image (19)
  • Then enable โ€œShow all databasesโ€ and press โ€œOKโ€. Reconnect your Database.
Image (20)
  • After that, uncoded_db should be visible.
  • Right-click the database and select Tools โ†’ Global Backup.
Image (21)
  • Choose the database and click โ€œNextโ€.
Image (22)
  • Under โ€œOutput folderโ€, select the location where the backup should be saved and give the backup file any name you want.
  • Then click โ€œStartโ€. Your database will now be backed up to your device.
Image (23)
Repeat the database connection steps for the new app so you can restore the backup there.
5

โš™๏ธ Restore the old database to the new bot

Once you have successfully connected the new bot / server to DBeaver, right-click the uncoded_db database you want to replace, then select Tools โ†’ Restore.
Image (24)
  • Enable โ€œClean Databaseโ€, then select the backup file from your computer. After that, click โ€œStartโ€.
Image (25)
Once the restore is complete, restart your unCoded trading bot in your Caprover App. The migration is now finished.
HAPPY TRADING!
Last modified on May 8, 2026