ผู้เขียน หัวข้อ: How to Back Up a Local WordPress Project Running in XAMPP  (อ่าน 3 ครั้ง)

ออนไลน์ abdnova

  • Full Member
  • ***
  • กระทู้: 117
  • Karma: +0/-0
    • ดูรายละเอียด
How to Back Up a Local WordPress Project Running in XAMPP
« เมื่อ: วันนี้ เวลา 01:28:21 AM »
A local WordPress project in XAMPP consists of both website files and a database. Copying only the htdocs folder will not preserve posts, settings and other information stored in MariaDB.

Identify the project directory and its database name from the WordPress configuration. Copy the project files to a separate backup location. Use phpMyAdmin to export the relevant database as SQL, and store the export alongside the files. Treat the configuration file and backup as sensitive data.

My website includes information about XAMPP for local PHP development on Windows for readers setting up a local PHP and database development environment.

Test restoration in a separate local directory and database before relying on the backup. Update the test configuration to point to the restored database and check that pages and media load. XAMPP is intended for development, not as a publicly exposed production server.