Home > Enterprise >  Recover Wordpress from unbootable Ubuntu box
Recover Wordpress from unbootable Ubuntu box

Time:03-09

After rebooting a Wordpress Dev machine (Ubuntu Desktop), does not boot at all. I can ping the machine, but cannot access it using SSH. I recon the SSH Daemon doesn't start properly. Is there a way of recovering the Wordpress site from a dead machine? I have access to the filesystem by attaching it to another machine.

CodePudding user response:

Depend on your Linux architecture, but you can certainly copy the files for your Wordpress installation. Usually files are in /var/www/....

Additionnaly you need to backup your database, if you have no means to access it throught SSH, you cannot use the SQL dump capability. You can try recovering raw database files wich are usually under /var/lib/*sql (for PostGreSQL database this is /var/lib/pgsql or /var/lib/mysql for MySQL database).

Once your database is backuped you need to use the exact same SQL engine and copy the files to the new database folder (be extr cautious with files permissions).

  • Related