I’m trying to migrate a landing page to go live and when backing up the files I noticed that the files haven’t been updating. This is the second time this has occurred and I’m wondering what the cause of this is and how can I fix this for future websites?
Hey @SSkefu – Welcome to the Local Community Forums!
Starting the site in Local doesn’t do anything to the underlying files. The timestamp you see in the file explorer was the last time the files were updated, which is likely when the site was created.
You mention a landing page was updated. In WordPress, this often means content that only lives in the database, so the underlying files wouldn’t necessarily be updated when updating the landing page.
In terms of backing up the files, everytime you stop a site, Local will try and export the database to a file located at ~/Local Sites/sitename/app/sql/local.sql. Otherwise, when you make a backup of a site by right-clicking on a site and selecting “Export”, that will create a new zip file as well.
Hope that helps clarify things, let us know if you have any other questions!