# \#site-export

**URL:** https://community.localwp.com/tag/site-export/19.md

[Latest](https://community.localwp.com/latest.md) · [Categories](https://community.localwp.com/categories.md) · [Tags](https://community.localwp.com/tags.md)

---

## [Export sites from command line](https://community.localwp.com/t/export-sites-from-command-line/51676)

<div class="topic-metadata">

**Author:** [@rahul\_local](https://community.localwp.com/u/rahul_local)\
**Replies:** 5\
**Last updated:** [December 11, 2025, 2:12pm UTC](https://community.localwp.com/t/export-sites-from-command-line/51676 "2025-12-11T14:12:37Z")

</div>

Hi, I would like to know how to export sites from command line. I have looked at the exported zip files and looks like the export is doing these actions: Take mysqldump of the database to path-to-site/app/sql/local.sql …

---

## [Export Error](https://community.localwp.com/t/export-error/45950)

<div class="topic-metadata">

**Author:** [@DCK](https://community.localwp.com/u/DCK)\
**Replies:** 1\
**Last updated:** [December 9, 2024, 3:23pm UTC](https://community.localwp.com/t/export-error/45950 "2024-12-09T15:23:20Z")

</div>

What issue or error are you experiencing? There was an error exporting a local site (attached). I am having my IT department look into a separate issue regarding permissions currently, could this be effecting the export…

---

## [Restoring LocalWP from ZIP loses custom code snippet](https://community.localwp.com/t/restoring-localwp-from-zip-loses-custom-code-snippet/45079)

<div class="topic-metadata">

**Author:** [@CodeSlayer2010](https://community.localwp.com/u/CodeSlayer2010)\
**Replies:** 10\
**Last updated:** [November 13, 2024, 5:06pm UTC](https://community.localwp.com/t/restoring-localwp-from-zip-loses-custom-code-snippet/45079 "2024-11-13T17:06:03Z")

</div>

What issue or error are you experiencing? I created a custom function (using Code Snippets plugin) that gives me a contenteditable div on the dashboard where I can add notes about the site. But, after importing from a L…

---

## [Export localwp site to remote Wordpress (not Flywheel or WP Engine)](https://community.localwp.com/t/export-localwp-site-to-remote-wordpress-not-flywheel-or-wp-engine/41100)

<div class="topic-metadata">

**Author:** [@TJT](https://community.localwp.com/u/TJT)\
**Replies:** 3\
**Last updated:** [January 30, 2024, 5:13pm UTC](https://community.localwp.com/t/export-localwp-site-to-remote-wordpress-not-flywheel-or-wp-engine/41100 "2024-01-30T17:13:01Z")

</div>

Hello Just starting out witth localwp! When I am ready to export the localwp site to my wordpress (which is not WP Engine), as described here Then: Do I replace the wp-content on my server/ftp t with the exported wp-…

---

## [Assistance Needed with Export Error](https://community.localwp.com/t/assistance-needed-with-export-error/40889)

<div class="topic-metadata">

**Author:** [@tsudhonimh](https://community.localwp.com/u/tsudhonimh)\
**Replies:** 1\
**Last updated:** [January 18, 2024, 3:32pm UTC](https://community.localwp.com/t/assistance-needed-with-export-error/40889 "2024-01-18T15:32:02Z")

</div>

Hello, I am reaching out for assistance regarding an issue I’m experiencing while attempting to export my site. I’ve encountered a specific error during the export process, along with several warnings and errors that ma…

---

## [Export: error when compressing site](https://community.localwp.com/t/export-error-when-compressing-site/39751)

<div class="topic-metadata">

**Author:** [@clubside](https://community.localwp.com/u/clubside)\
**Replies:** 3\
**Last updated:** [November 3, 2023, 1:24pm UTC](https://community.localwp.com/t/export-error-when-compressing-site/39751 "2023-11-03T13:24:07Z")

</div>

Howdy! I’ve been enjoying the benefits of local for helping a friend of a friend with a WP Engine site that needs some radical surgery to remove a builder plugin. I’ve run into some frustrations with WooCommerce and am …

---

## [Exported Local site has different layout?](https://community.localwp.com/t/exported-local-site-has-different-layout/39343)

<div class="topic-metadata">

**Author:** [@radionowhere](https://community.localwp.com/u/radionowhere)\
**Replies:** 5\
**Last updated:** [September 30, 2023, 8:20pm UTC](https://community.localwp.com/t/exported-local-site-has-different-layout/39343 "2023-09-30T20:20:43Z")

</div>

Hi - I’ve exported my site from a Local installation on my desktop to a Local installation on my laptop—trying to set up two identical websites—but the layout/formatting on the laptop site is all messed up. As far as I …

---

## [Importing a site exported from LocalWP doesn't work on Windows](https://community.localwp.com/t/importing-a-site-exported-from-localwp-doesnt-work-on-windows/38580)

<div class="topic-metadata">

**Author:** [@MikeAtHanson](https://community.localwp.com/u/MikeAtHanson)\
**Replies:** 1\
**Last updated:** [August 15, 2023, 2:58pm UTC](https://community.localwp.com/t/importing-a-site-exported-from-localwp-doesnt-work-on-windows/38580 "2023-08-15T14:58:47Z")

</div>

I have a site setup on LocalWP running on Mac, when I use the LocalWP export feature it creates a zip file which I can import fine on any other Mac using LocalWP import. However, when attempting to import the same site o…

---

## [Export a WordPress Site – and the domain name?](https://community.localwp.com/t/export-a-wordpress-site-and-the-domain-name/36825)

<div class="topic-metadata">

**Author:** [@Thobie](https://community.localwp.com/u/Thobie)\
**Replies:** 2\
**Last updated:** [May 9, 2023, 3:21pm UTC](https://community.localwp.com/t/export-a-wordpress-site-and-the-domain-name/36825 "2023-05-09T15:21:29Z")

</div>

Hello, I know how to export a local WP website. However, when exporting and uploading to the web space of the hoster’s server, how is it ensured that the previous domain name for the local website localhost:xxxx is rep…

---

## [Importing site from production will start on localhost instead of given Local site domain (example.local)](https://community.localwp.com/t/importing-site-from-production-will-start-on-localhost-instead-of-given-local-site-domain-example-local/36362)

<div class="topic-metadata">

**Author:** [@eelraad](https://community.localwp.com/u/eelraad)\
**Replies:** 9\
**Last updated:** [April 12, 2023, 1:21pm UTC](https://community.localwp.com/t/importing-site-from-production-will-start-on-localhost-instead-of-given-local-site-domain-example-local/36362 "2023-04-12T13:21:23Z")

</div>

Issue Summary Downloaded a backup from getflywheel.com and imported it into localwp. Filled in Local site domain (example.local) in step 1, but when I continue (preferred setup) and go to WP Admin it will open localhost:…

---

## [Back-up and Bulk Export](https://community.localwp.com/t/back-up-and-bulk-export/34785)

<div class="topic-metadata">

**Author:** [@typosruinokes](https://community.localwp.com/u/typosruinokes)\
**Replies:** 1\
**Last updated:** [December 17, 2022, 5:42pm UTC](https://community.localwp.com/t/back-up-and-bulk-export/34785 "2022-12-17T17:42:50Z")

</div>

I have ton of sites on Local and they are using a lot of my space on my hard drive. I am trying to move them to an external hard drive. Please correct me if I’m wrong, but it’s my understanding that the best way to do t…

---

## [Replacing old website with a new one on wordpress](https://community.localwp.com/t/replacing-old-website-with-a-new-one-on-wordpress/33177)

<div class="topic-metadata">

**Author:** [@Charlie\_STC](https://community.localwp.com/u/Charlie_STC)\
**Replies:** 1\
**Last updated:** [September 15, 2022, 4:01pm UTC](https://community.localwp.com/t/replacing-old-website-with-a-new-one-on-wordpress/33177 "2022-09-15T16:01:02Z")

</div>

Hello, I have created an updated version of a currently running website within local. I wish to now export that website and replace the old one, but before I do I would like to know what will happen. My boss would also…

---

## [Export fails for some local sites](https://community.localwp.com/t/export-fails-for-some-local-sites/33011)

<div class="topic-metadata">

**Author:** [@coreymaass](https://community.localwp.com/u/coreymaass)\
**Replies:** 5\
**Last updated:** [August 31, 2022, 5:29pm UTC](https://community.localwp.com/t/export-fails-for-some-local-sites/33011 "2022-08-31T17:29:53Z")

</div>

Issue Summary Exporting some sites fails. Troubleshooting Questions Does this happen for all sites in Local, or just one in particular? This only happens for some sites. Are you able to create a new, plain WordPress…

---

## [Can't Export Sites Anymore](https://community.localwp.com/t/cant-export-sites-anymore/31916)

<div class="topic-metadata">

**Author:** [@ZolaDesigners](https://community.localwp.com/u/ZolaDesigners)\
**Replies:** 1\
**Last updated:** [June 1, 2022, 4:40pm UTC](https://community.localwp.com/t/cant-export-sites-anymore/31916 "2022-06-01T16:40:18Z")

</div>

Program hangs when you try to export a site clicking the Export site button. Troubleshooting Questions Does this happen for all sites in Local, or just one in particular? all sites Are you able to create a new, pl…

---

## [Database Error on new M1 MacBook Pro](https://community.localwp.com/t/database-error-on-new-m1-macbook-pro/29776)

<div class="topic-metadata">

**Author:** [@bcorchiolo](https://community.localwp.com/u/bcorchiolo)\
**Replies:** 1\
**Last updated:** [January 14, 2022, 7:48pm UTC](https://community.localwp.com/t/database-error-on-new-m1-macbook-pro/29776 "2022-01-14T19:48:35Z")

</div>

I recently got a new m1 mac book pro. I moved my install from my old mac book pro and now I can’t access the local database. How can I fix this?

---

## [Where is my database? backup.sql upon export does not exist inside the public folder instead there is a local.sql in the sql folder](https://community.localwp.com/t/where-is-my-database-backup-sql-upon-export-does-not-exist-inside-the-public-folder-instead-there-is-a-local-sql-in-the-sql-folder/29176)

<div class="topic-metadata">

**Author:** [@RaySa](https://community.localwp.com/u/RaySa)\
**Replies:** 3\
**Last updated:** [January 4, 2022, 6:19pm UTC](https://community.localwp.com/t/where-is-my-database-backup-sql-upon-export-does-not-exist-inside-the-public-folder-instead-there-is-a-local-sql-in-the-sql-folder/29176 "2022-01-04T18:19:42Z")

</div>

Issue Summary backup.sql upon export does not exist inside public folder. Troubleshooting Questions Does this happen for all sites in Local, or just one in particular? all Are you able to create a new, plain WordPr…

---

## [Exclude folders from export](https://community.localwp.com/t/exclude-folders-from-export/27106)

<div class="topic-metadata">

**Author:** [@Jayssen](https://community.localwp.com/u/Jayssen)\
**Replies:** 1\
**Last updated:** [September 9, 2021, 9:19am UTC](https://community.localwp.com/t/exclude-folders-from-export/27106 "2021-09-09T09:19:58Z")

</div>

Hey, Just wanted to share a tip on how to exclude folders from LocalWP exports, since I’ve noticed a few people have been trying to do that (namely to exclude node\_modules) in the following topic, but without success : …

---

## [Move Local Sites directory to external drive](https://community.localwp.com/t/move-local-sites-directory-to-external-drive/25430)

<div class="topic-metadata">

**Author:** [@djmtype](https://community.localwp.com/u/djmtype)\
**Replies:** 4\
**Last updated:** [April 30, 2021, 9:15pm UTC](https://community.localwp.com/t/move-local-sites-directory-to-external-drive/25430 "2021-04-30T21:15:36Z")

</div>

When I initially set up local on my Mac (running Big Sur), I set up the Local Sites directory to on my Mac’s internal drive. But I see now my projects have grown and rather relocate the Local Sites directory to an extern…

---

## [Unable to EXPORT any of my sites from Local (the version 5.9.8 + 5191)](https://community.localwp.com/t/unable-to-export-any-of-my-sites-from-local-the-version-5-9-8-5191/24226)

<div class="topic-metadata">

**Author:** [@fourwhitesocks](https://community.localwp.com/u/fourwhitesocks)\
**Replies:** 1\
**Last updated:** [February 4, 2021, 1:24pm UTC](https://community.localwp.com/t/unable-to-export-any-of-my-sites-from-local-the-version-5-9-8-5191/24226 "2021-02-04T13:24:22Z")

</div>

Issue Summarylocal-lightning.log (887.1 KB) I am unable to export ANY of my sites in Local version 5.9.3+5100 Running Windows 10 Troubleshooting Questions This is happening in ALL of my sites… please help! Local log a…

---

## [How to duplicate a site in local](https://community.localwp.com/t/how-to-duplicate-a-site-in-local/22459)

<div class="topic-metadata">

**Author:** [@PolV](https://community.localwp.com/u/PolV)\
**Replies:** 1\
**Last updated:** [October 12, 2020, 3:47pm UTC](https://community.localwp.com/t/how-to-duplicate-a-site-in-local/22459 "2020-10-12T15:47:12Z")

</div>

Issue Summary Is there an easy way to make a copy (backup) of a site in Local Troubleshooting Questions

---

## [Bulk export and Import website in LBFWheel](https://community.localwp.com/t/bulk-export-and-import-website-in-lbfwheel/19592)

<div class="topic-metadata">

**Author:** [@soso](https://community.localwp.com/u/soso)\
**Replies:** 4\
**Last updated:** [June 3, 2020, 6:15pm UTC](https://community.localwp.com/t/bulk-export-and-import-website-in-lbfwheel/19592 "2020-06-03T18:15:59Z")

</div>

Hi everyone :wave:t3: I migrate my laptop and I would like migrate all website in my LBFWheel in my new laptop. I can only export website One by One, and not a bulk import … It’s same fort import : I can only import we…

---

## ['Local' CUSTOM Import: "Uh-oh! Unable to import site ---- Error: Unable to get 'home' option from WordPress"](https://community.localwp.com/t/local-custom-import-uh-oh-unable-to-import-site-error-unable-to-get-home-option-from-wordpress/18345)

<div class="topic-metadata">

**Author:** [@MarkUK](https://community.localwp.com/u/MarkUK)\
**Replies:** 2\
**Last updated:** [April 27, 2020, 2:44pm UTC](https://community.localwp.com/t/local-custom-import-uh-oh-unable-to-import-site-error-unable-to-get-home-option-from-wordpress/18345 "2020-04-27T14:44:58Z")

</div>

I’m importing a custom site (not Wordpress site) from Local by Flywheel to Local. I’ve already had success importing a Wordpress website, but this custom site transfer doesn’t work. It all goes okay with the transferrin…

---

## [Export/import issue on Beta](https://community.localwp.com/t/export-import-issue-on-beta/17666)

<div class="topic-metadata">

**Author:** [@dbeja](https://community.localwp.com/u/dbeja)\
**Replies:** 0\
**Last updated:** [February 28, 2020, 6:53pm UTC](https://community.localwp.com/t/export-import-issue-on-beta/17666 "2020-02-28T18:53:45Z")

</div>

Sometimes it’s useful to duplicate a website (for example, testing a pull request), so to have that on Local Beta, I export the website and re-import it with a different domain. The problem is that every time I do that,…

---

## [V5.2.3 Import Local Zip Failed with Error](https://community.localwp.com/t/v5-2-3-import-local-zip-failed-with-error/16931)

<div class="topic-metadata">

**Author:** [@renegate](https://community.localwp.com/u/renegate)\
**Replies:** 0\
**Last updated:** [February 2, 2020, 2:38am UTC](https://community.localwp.com/t/v5-2-3-import-local-zip-failed-with-error/16931 "2020-02-02T02:38:38Z")

</div>

Exported a Local Site as a ZIP: a. Can only export with local site up and running b. I noticed there is a “conf-backup” folder whilst running - see #5 below Later decide I need to revert / rollback to this ZIP. dele…

---

## [Can same site be on "local by Flywheel" and "Local (Beta)" / "Local"?](https://community.localwp.com/t/can-same-site-be-on-local-by-flywheel-and-local-beta-local/16196)

<div class="topic-metadata">

**Author:** [@sheryl](https://community.localwp.com/u/sheryl)\
**Replies:** 3\
**Last updated:** [December 30, 2019, 4:18pm UTC](https://community.localwp.com/t/can-same-site-be-on-local-by-flywheel-and-local-beta-local/16196 "2019-12-30T16:18:39Z")

</div>

Instructions on how to update from 'local by Flywheel" to “Local (Beta)” indicate that one needs to delete a site immediately after exporting it. I do not feel comfortable deleting a site before I ensure it has been prop…

---

## [Exporting a site from Local](https://community.localwp.com/t/exporting-a-site-from-local/15188)

<div class="topic-metadata">

**Author:** [@fourwhitesocks](https://community.localwp.com/u/fourwhitesocks)\
**Replies:** 0\
**Last updated:** [November 1, 2019, 3:12pm UTC](https://community.localwp.com/t/exporting-a-site-from-local/15188 "2019-11-01T15:12:34Z")

</div>

So this might be a dumb question but the Export function exports a COPY correct, it does not delete that site from Local, is this correct?
