PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, March 12, 2022

[FIXED] Recover Wordpress from unbootable Ubuntu box

 March 12, 2022     ubuntu, wordpress     No comments   

Issue

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.


Solution

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).



Answered By - Jaay
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing