# How to clone a NC installation?

**URL:** <https://help.nextcloud.com/t/how-to-clone-a-nc-installation/19935>\
**Category:** ℹ️ Support\
**Created:** [August 22, 2017, 12:34pm UTC](https://help.nextcloud.com/t/how-to-clone-a-nc-installation/19935 "2017-08-22T12:34:53Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![dred](https://help.nextcloud.com/letter_avatar/dred/32/5_5575768a8748004e209b776fc1b2916d.png) [@dred](https://help.nextcloud.com/u/dred)\
**Post date:** [September 2, 2017, 6:49am UTC](https://help.nextcloud.com/t/how-to-clone-a-nc-installation/19935/8 "2017-09-02T06:49:09Z")

</div>

could you provide more notes / explanation on your commands?  
Im just trying to rescue / clone my old nextcloud installation as written here:

> [@Nextcloud migration from dead server](https://help.nextcloud.com/t/nextcloud-migration-from-dead-server/19923/2):
>
> I guess all hard drives of the old server are still running, so you have access to the nextcloud folder, data folder and theoretically database, which was also mysql/mariadb before? So the nextcloud and data folders can just copied over. To set nextcloud into maintenance, you can manually change the related line in you nextcloud/config/config.php before accessing nc on your new machine. About the database I am not too sure how to get all that data inside safely to your new machine, as you cann…

any help appreciated!

---

_[View the full topic](https://help.nextcloud.com/t/how-to-clone-a-nc-installation/19935)._
