Importing your previous external backups from Kinsta is quite easy, but it is a manual process for the time being.

Creating a backup

One of the easiest ways to import a site is to create a downloadable backup. Visit the Backups section for your chosen site and head over to the Download tab and create a downloadable backup. This may take a while if you have a large site but eventually you’ll be able to download it.

DevKinsta backup download

Once the backup is downloaded, extract it somewhere on your computer.

Creating a site in DevKinsta

Create a site in DevKinsta (see our site creation guide) as usual. Once created you will see the site path which you can click to open the location within your computer.

DevKinsta site path

Importing your content

Click the site path to open it. You should see a standard WordPress directory structure. Delete the wp-content folder and then move the wp-content folder from your extracted backup in its place. This will ensure that the themes, plugins and media from the imported site are in place.

Importing your database

Click the Adminer button to open your local database. Make sure the appropriate database is selected in the top-right. In the main screen click on the checkbox in the top-left of the table list. This will select all tables.

Adminer use during site import

Click the Drop button and confirm to delete all database tables from your local site’s database. Next, click the Import button in the sidebar and in the File upload section select the mysql-database-backup.sql file from your downloaded backup and click Execute. This will import your database.

Search and replace

Since the database is straight from a hosted sites, there will be a lot of references to your site’s URL within the database. To ensure this doesn’t cause any issues we recommend running a search and replace on your database.

You can do so with any of the following tools:

 

Here you can find more info about how to use WP-CLI in DevKinsta

For some more information on search and replace, take a look at our knowledge base article on the subject