🎟️
Champion Tickets
DiscordBuiltByBit
  • Tebex Themes Docs
  • Champion Ultra Docs
  • Champion Ptero Docs
  • Welcome
    • Introduction
    • Commands
      • Permissions
    • Features
    • Images
  • Installation & Setup
    • Newbie Guide
    • Requirements
    • Bot Application Setup
    • Linux Installation
    • Invite Link
    • Pterodactyl
    • Database
      • v1.7.6 Migration
      • Change DB Type
      • Mongo Database
      • database-actions addon
  • Configuration
    • config.yml
    • categories.yml
    • commands.yml
    • language.yml
    • embeds.yml
    • products.yml
  • Addons
    • Example Addon
    • Creating Addons
    • Selling Addons
  • Other
    • Basic Server Configuration
    • SelfHost Transcripts
    • Dashboard Setup
    • Errors
    • PayPal (Invoices)
    • Tebex & Sellix
    • Update v1.7.8
Powered by GitBook
On this page

Was this helpful?

  1. Installation & Setup
  2. Database

Change DB Type

Documentation on how to transfer data to other database type like MongoDB or MySQL.

Previousv1.7.6 MigrationNextMongo Database

Last updated 1 year ago

Was this helpful?

This is only available if you're running version 1.7.6 or newer.

To transfer data between different database types, you'll need to use database-actions addon, the same one that is used for 1.7.6 database format migration.

There are specific database pairs for moving data:

  • SQLite > MySQL/MongoDB

  • MySQL/MongoDB > SQLite

To transfer data from one database type to other, you need to:

  1. and move folder from the zip into the addons folder (skip this if you already have addon installed)

  2. Open config.yml from that addon folder and put your ID into the transfer_access field and make sure that startup_migrate is set to false

  3. Open your bot's console so you can see if any error occur during the transfer

  4. Run the /transfer [Database From] [Database To] command. 1. Make sure that your database.type config field is set to the same database type as the one you're moving data from, if 'Database From' is MongoDB then database.type should be mongo etc.

  5. After transfer is done, stop the bot and remove the addon

Download addon from this page