# Migrate Nextcloud to a new Envirnment

**URL:** <https://help.nextcloud.com/t/migrate-nextcloud-to-a-new-envirnment/46668>\
**Category:** ℹ️ Support\
**Tags:** nc15\
**Created:** [February 1, 2019, 7:56pm UTC](https://help.nextcloud.com/t/migrate-nextcloud-to-a-new-envirnment/46668 "2019-02-01T19:56:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dosch](https://help.nextcloud.com/user_avatar/help.nextcloud.com/dosch/32/2891_2.png) [@dosch](https://help.nextcloud.com/u/dosch)\
**Post date:** [February 1, 2019, 7:56pm UTC](https://help.nextcloud.com/t/migrate-nextcloud-to-a-new-envirnment/46668/1 "2019-02-01T19:56:29Z")

</div>

Hey,

I have NC15 running on a shared hosting account. But I’d like to migrate to a dedicated VPS as more and more users are added to the machine and I run out of space at my shared hosting contract.

Ideally I’d like to

1. setup the new NC on a place like [cloudtest.mysite.com](http://cloudtest.mysite.com)
2. Migrate all files, apps, settings, users etc. to the new instance
3. change the DNS so that [cloud.mysite.com](http://cloud.mysite.com) now points to the IP of the new server.

My main question is about step 2. What is the level of migration that NC will automate for me? Or do I have to manually set over files and export/import MYSQL databases?

Thnx for tips and ideas!

---

<div class="post-metadata">

**Author:** ![Reiner\_Nippes](https://help.nextcloud.com/user_avatar/help.nextcloud.com/reiner_nippes/32/9479_2.png) [@Reiner\_Nippes](https://help.nextcloud.com/u/Reiner_Nippes)\
**Post date:** [February 1, 2019, 11:00pm UTC](https://help.nextcloud.com/t/migrate-nextcloud-to-a-new-envirnment/46668/2 "2019-02-01T23:00:35Z")

</div>

> [@dosch](#):
>
> Or do I have to manually set over files and export/import MYSQL databases?

yes.  
take care that the instanceid: in config.php and the foldername appdata\_ are the same .

> [@dosch](#):
>
> setup the new NC on a place like

this could be helpful. will save a lot of typing.

> **[GitHub - ReinerNippes/nextcloud: Ansible playbook to install nextcloud, php,...](https://github.com/ReinerNippes/nextcloud)**
>
> Ansible playbook to install nextcloud, php, nginx or apache, mariadb or postgres, redis-server, onlyoffice or collabora office - GitHub - ReinerNippes/nextcloud: Ansible playbook to install nextclo...

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [September 23, 2024, 5:18pm UTC](https://help.nextcloud.com/t/migrate-nextcloud-to-a-new-envirnment/46668/3 "2024-09-23T17:18:19Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 4:55pm UTC](https://help.nextcloud.com/t/migrate-nextcloud-to-a-new-envirnment/46668/4 "2024-12-09T16:55:34Z")

</div>


