# Restoring backup fails in Win10/Ubuntu development environment

**URL:** https://meta.discourse.org/t/restoring-backup-fails-in-win10-ubuntu-development-environment/86893
**Category:** Self-hosting
**Created:** [May 6, 2018, 8:33pm UTC](https://meta.discourse.org/t/restoring-backup-fails-in-win10-ubuntu-development-environment/86893 "2018-05-06T20:33:26Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![Cheeser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cheeser/32/96050_2.png) [@Cheeser](https://meta.discourse.org/u/Cheeser)
#### Post date: [May 7, 2018, 8:26am UTC](https://meta.discourse.org/t/restoring-backup-fails-in-win10-ubuntu-development-environment/86893/10 "2018-05-07T08:26:30Z")

</div>

OK thanks @codinghorror – so the instructions I followed are not current, since it installs Postgres 9.5: [Install Discourse on Windows for development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-windows-10-for-development/75149)

The production Docker version (w/Postgres 10) apparently creates a backup script that is incompatible with Postgres 9.5 even though the same version/build of Discourse is used during backup & restore.

What do you recommend for my unique situation, @codinghorror? I need to import **a VERY large amount of content** (millions of posts from almost 100,000 members) from a proprietary forum system I wrote. [@bletch that should answer your question as well.]

My idea was to have a local Discourse installation, use .NET’s Entity Framework Core to [scaffold the Discourse database](http://www.npgsql.org/efcore/index.html) and then directly add my data to the Postgres database using a .NET Core console app. Then backup & restore that database onto my production site (hosted on Google Cloud Compute in a Docker container).

So, it would seem I need to use a full Docker/Ubuntu VM installation with Hyper-V on Windows 10 to achieve my goals? And not the (admittedly cool) new Linux Subsystem?

---

_[View the full topic](https://meta.discourse.org/t/restoring-backup-fails-in-win10-ubuntu-development-environment/86893)._
