Fast Migration of Latest ONO Coin Database
To quickly migrate the latest ONO Coin database from a trusted source, follow these steps:
🔄 Fast Migration of Latest ONO Coin Database
To quickly migrate the latest ONO Coin database from a trusted source, follow these steps:
✅ Step 1: Download the Latest Database Dump
Go to the ONO official backup server and download the latest .dump file:
cd ~
curl -O https://core-eu-2.ono.gg/backups/ono_core_eu_2_{YYYY-MM-DD}.dumpfor exmple:
cd ~
curl -O https://core-eu-2.ono.gg/backups/ono_core_eu_2_2025-06-16.dumpOr go to https://core-eu-2.ono.gg/backups/ and download latest dump manually.
🐳 Step 2A: Restore the Dump into a PostgreSQL Docker Container
1. Identify your container name:
docker psLook for the name of your PostgreSQL container (e.g., ono-postgres).
2. Copy the dump file into the container:
docker cp ono_core_eu_2_2025-06-16.dump ono-postgres:/tmp/latest.dump3. Restore the dump:
docker exec -it ono-postgres bashpg_restore -U postgres -d ono_db --clean --if-exists /tmp/latest.dumpexitReplace
ono_dbwith your actual database name if different.
🖥️ Step 2B: Restore the Dump to Local (Non-Docker) PostgreSQL
pg_restore -U postgres -d ono_db --clean --if-exists ~/ono_core_eu_2_2025-06-16.dumpMake sure your local PostgreSQL server is running and
ono_dbexists (create it withcreatedb ono_dbif needed).
🚀 Step 3: Start the Core Service
If you're using Docker Compose:
docker-compose up -d coreOr if you're running the core manually:
cd /path/to/ono-core
npm start✅ Done!
Your ONO Coin core service is now running with the latest synced database.
Last updated