Switching from MAMP to XAMPP

Moderator
Yui

(@fierevere)

ゆい

have transferred the wordpress project to XAMPP Htdocs.

Have you transferred Database as well?

Less painful way to transfer site from one host to another including files and database could be using a migration plugin.

Like this one for example: https://wordpress.org/plugins/duplicator/

Thanks for a quick answer.

I now realize I haven’t transferred the database. I have opened phpmyadmin, but am not sure how to retrieve the former database. Is this a challenging process?

Moderator
Yui

(@fierevere)

ゆい

Backing Up Your Database


Your question is covered in this article, with pictures

I just realized I don’t have a physical back-up of my database. I have all the theme files and corresponding plugins, but I didn’t think to backup the database when I did the back-up…

How screwed am I? Is there anyway to create a new database, and get the same WordPress site up and running? Or can I somehow access my old database, despite all my work being done locally on my MacBook.

Moderator
Yui

(@fierevere)

ゆい

All content, meta data, settings are stored in the database.
You shall have database dump (or at least an WXR export file) to restore your site. Otherwise, everything you have are just your media files library in (wp-content/uploads/)

When I did my back-up I just copied the htdocs folder containing my entire wordpress site. The database dump isn’t by chance stored somewhere in here?

If not then I presume my only action is starting over from the beginning – correct?

Thanks for the help so far.

Moderator
Yui

(@fierevere)

ゆい

Just copied the htdocs folder containing my entire wordpress site. The database dump isn’t by chance stored somewhere in here

If, by chance, you had a backup plugin, that stored dumps of your database somewhere in here, then you might have a db dumps in some folder.
Otherwise – no. WordPress has no built-in backup ability.
Database is stored by MySQL/MariaDB/… server, completely outside your user folder or web sites folder.

If not then I presume my only action is starting over from the beginning – correct?

Correct. You still have your media files in /wp-content/uploads/ (you only will need originals, not other sizes, when recreating your content in editor)

Okay, I don’t have a backup plugin, so I guess I learned this the hard way.

Thanks a lot for the help. 🙂



Source link