# Copying Modx Site using backup\\restore?

**URL:** <https://community.modx.com/t/copying-modx-site-using-backup-restore/8405>\
**Category:** Installation\
**Created:** [March 8, 2025, 3:30pm UTC](https://community.modx.com/t/copying-modx-site-using-backup-restore/8405 "2025-03-08T15:30:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![david000](https://community.modx.com/letter_avatar_proxy/v4/letter/d/82dd89/32.png) [@david000](https://community.modx.com/u/david000)\
**Post date:** [March 8, 2025, 3:30pm UTC](https://community.modx.com/t/copying-modx-site-using-backup-restore/8405/1 "2025-03-08T15:30:41Z")

</div>

Hi there,

I’m a long time if non skilled user of Modx and wish to copy an existing site into the dev subdomain of the existing site.

The idea is that I can then evolve and make some substantial changes to the site in safety before copying it back to the main domain.

I see that there is now a back up and restore function in the manage page so I wondered if it would be possible to utilize that as a way of moving the site. I appreciate that paths with need amending in the config.

Is this a viable idea ? Is it even possible to have 2 Modx installs on the same domain ?

Thanks

D

---

<div class="post-metadata">

**Author:** ![halftrainedharry](https://community.modx.com/user_avatar/community.modx.com/halftrainedharry/32/1063_2.png) [@halftrainedharry](https://community.modx.com/u/halftrainedharry)\
**Post date:** [March 8, 2025, 3:47pm UTC](https://community.modx.com/t/copying-modx-site-using-backup-restore/8405/2 "2025-03-08T15:47:21Z")

</div>

> [@david000](#):
>
> I see that there is now a back up and restore function in the manage page

Where exactly is this “back up and restore function”?  
Is this a function of the MODX core (that I’m not aware of) of something added by an installed extra?

---

<div class="post-metadata">

**Author:** ![david000](https://community.modx.com/letter_avatar_proxy/v4/letter/d/82dd89/32.png) [@david000](https://community.modx.com/u/david000)\
**Post date:** [March 8, 2025, 5:12pm UTC](https://community.modx.com/t/copying-modx-site-using-backup-restore/8405/3 "2025-03-08T17:12:51Z")

</div>

Its on the manager page so maybe an extra. Not something I’ve knowingly installed.

It says:  
BackupMODX 3.1.0  
© 2015-2023 by [www.quadro-system.de](https://www.quadro-system.de)  
Version 3.x refactored by [treehillstudio.com](https://treehillstudio.com)

---

<div class="post-metadata">

**Author:** ![halftrainedharry](https://community.modx.com/user_avatar/community.modx.com/halftrainedharry/32/1063_2.png) [@halftrainedharry](https://community.modx.com/u/halftrainedharry)\
**Post date:** [March 8, 2025, 5:48pm UTC](https://community.modx.com/t/copying-modx-site-using-backup-restore/8405/4 "2025-03-08T17:48:29Z")

</div>

Yes [BackupMODX](https://extras.modx.com/package/backupmodx) is an extra (that you must have installed at some point in time). It can create a database dump and copy your server files (so you don’t have to do it manually). The main purpose of the extra is to have a backup, so that you can restore the site if something unexpectedly goes wrong.

You probably can use this backup to set up a new copy of the site, but I guess you’ll have to change the config file manually and rerun the setup. Maybe take a look at this article in the MODX documentation:

[https://docs.modx.com/current/en/getting-started/maintenance/moving-your-site](https://docs.modx.com/current/en/getting-started/maintenance/moving-your-site)

---

<div class="post-metadata">

**Author:** ![david000](https://community.modx.com/letter_avatar_proxy/v4/letter/d/82dd89/32.png) [@david000](https://community.modx.com/u/david000)\
**Post date:** [March 12, 2025, 6:19pm UTC](https://community.modx.com/t/copying-modx-site-using-backup-restore/8405/5 "2025-03-12T18:19:21Z")

</div>

Hi, Just to clarify it should be possible to have 2 modx installs on the same server? i.e.

> **[mydomain.co.uk - mydomain Resources and Information.](http://www.mydomain.co.uk)**
>
> mydomain.co.uk is your first and best source for all of the information you’re looking for. From general topics to more of what you would expect to find here, mydomain.co.uk has it all. We hope you find what you are searching for!

> **[mydomain.co.uk - mydomain Resources and Information.](http://dev.mydomain.co.uk)**
>
> mydomain.co.uk is your first and best source for all of the information you’re looking for. From general topics to more of what you would expect to find here, mydomain.co.uk has it all. We hope you find what you are searching for!

with db’s and paths as appropriate.

Thanks

David.

---

<div class="post-metadata">

**Author:** ![halftrainedharry](https://community.modx.com/user_avatar/community.modx.com/halftrainedharry/32/1063_2.png) [@halftrainedharry](https://community.modx.com/u/halftrainedharry)\
**Post date:** [March 12, 2025, 7:37pm UTC](https://community.modx.com/t/copying-modx-site-using-backup-restore/8405/6 "2025-03-12T19:37:41Z")

</div>

Yes it’s possible to have multiple MODX installations on the same server, if they are in different folders. So make sure that your subdomain points to a different folder and create a new database for the second installation.
