Skip to main content

Restore database from Raw files

Comments

2 comments

  • hydn79
    First make a copy of /var/lib/mysql Then you can restore by copying the files in /var/lib/mysql to a new server. Or restoring to the old server after fresh mysql install. If the backup is corrupt then thats another thing altogether and not really a backup. But rather the db files in their crashed/corrupt state. Depending on table type check innodb_force_recovery: MySQL :: MySQL 5.7 Reference Manual :: 14.21.2 Forcing InnoDB Recovery
    0
  • cPanelMichael
    Hello, Were account backups enabled on this system, or do you only have a copy of the filesystem? Thank you.
    0

Please sign in to leave a comment.