Create Magento App
Create ScandiPWA AppScandiPWA DocsGitHub
v2
v2
  • Create Magento App
  • Getting started
    • Getting Started
    • Prerequisites
      • Linux requirements
      • MacOS requirements
        • Apple Silicon
      • Windows requirements
    • Available commands
      • Start the application
      • Stop the application
      • Check application status
      • Enter application CLI
      • Explore application logs
      • Execute commands in Docker containers
      • Link a theme
      • Import database dump
      • ⚠️ Uninstall a project
    • Folder structure
    • Updating to New Releases
      • Testing Alpha Releases
    • Configuration File
      • System Configuration File
    • Supported Magento versions
    • How does it work?
    • Limitations
    • What Is New in Version 2
  • Usage guide
    • Using console commands
    • Accessing Docker containers
    • Linking a Scandi Theme
    • Enabling XDebug
    • Enabling SSL
    • Configuring PHP
    • Configuring Multi-Store
    • Configuring NewRelic
    • Access on the local network
    • Using custom domain
    • Using Enterprise Edition
    • Using OpenSearch
    • Importing database
      • Importing remote database
    • Converting legacy Docker setup to CMA
    • Improve Performance
  • Container images
    • PHP Images
      • PHP 8.4
      • PHP 8.3
      • PHP 8.2
      • PHP 8.1
      • PHP 7.4
      • PHP 7.3
      • PHP 7.2
    • ElasticSearch Images
      • ElasticSearch 6.8
  • Scripts Extensions
    • PHP Extensions
      • PHP Extensions Package
      • (deprecated) ionCube Extension
  • Troubleshooting
    • Common Issues
    • CMA Debugging
    • Uninstall CMA
Powered by GitBook
On this page

Was this helpful?

  1. Usage guide

Importing database

PreviousUsing OpenSearchNextImporting remote database

Last updated 18 days ago

Was this helpful?

To import the database use the command.

Heads up!

If you are running a version older than magento-scripts@1.6.0, you will need to start project manually using !

yarn import-db <dump file path>
npm run import-db <dump file path>

When the command is called, multiple steps are executed to ensure the success of the import. These steps are as follows:

  • A connection established with MySQL

  • Theme configurations will be dumped and restored after the dump is imported

  • The dump will be imported into MySQL from the specified file

  • It will be ensured that dump will work with CMA set up by setting necessary configuration values

  • And Magento setup will be running to finish the configuration.

To import database from remote ssh server, use the following guide:

import-db
start command
Importing remote database