I regularly did backups of my site via CPanel > Backups > Full Backup, by pressing the 'download or generate a full website backup'.
(I also did it under the Partial Backups too - not sure if that means anything).
Anyway, my site was built on a Wordpress platform and I mistakenly uninstalled Wordpress so my site got entirely wiped out. I was able to successfully restore the home directory from the backup file. But I have not been able to successfully restore the MySQL database. The MySQL backup file is only 4K, which seems to small to hold my entire database.
I opened the .gz MySQL backup file and this is all that is in it:
- - - - - - - - -
-- MySQL dump 10.11
--
-- Host: localhost Database: (database_name)
-- ------------------------------------------------------
-- Server version 5.0.92-community-log
/*!40101 SET @[email protected]@CHARACTER_SET_CLIENT */;
/*!40101 SET @[email protected]@CHARACTER_SET_RESULTS */;
/*!40101 SET @[email protected]@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @[email protected]@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @[email protected]@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @[email protected]@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @[email protected]@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @[email protected]@SQL_NOTES, SQL_NOTES=0 */;
--
-- Temporary table structure for view `titles_data`
--
DROP TABLE IF EXISTS `titles_data`;
- - - - - - - - - - - -
From reading online, it seems that this file should actually contain a bunch of insert commands and data that are used to rebuild all of the dozen or so tables that were in my database. Above only shows one table called titles_data. All of my backups I've done over time look like this. I am worried this backup function didn't work correctly and it is missing 95% of the tables needed to rebuild the database.
I am new to Web Development so any insight would be appreciated.
(I also did it under the Partial Backups too - not sure if that means anything).
Anyway, my site was built on a Wordpress platform and I mistakenly uninstalled Wordpress so my site got entirely wiped out. I was able to successfully restore the home directory from the backup file. But I have not been able to successfully restore the MySQL database. The MySQL backup file is only 4K, which seems to small to hold my entire database.
I opened the .gz MySQL backup file and this is all that is in it:
- - - - - - - - -
-- MySQL dump 10.11
--
-- Host: localhost Database: (database_name)
-- ------------------------------------------------------
-- Server version 5.0.92-community-log
/*!40101 SET @[email protected]@CHARACTER_SET_CLIENT */;
/*!40101 SET @[email protected]@CHARACTER_SET_RESULTS */;
/*!40101 SET @[email protected]@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @[email protected]@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @[email protected]@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @[email protected]@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @[email protected]@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @[email protected]@SQL_NOTES, SQL_NOTES=0 */;
--
-- Temporary table structure for view `titles_data`
--
DROP TABLE IF EXISTS `titles_data`;
- - - - - - - - - - - -
From reading online, it seems that this file should actually contain a bunch of insert commands and data that are used to rebuild all of the dozen or so tables that were in my database. Above only shows one table called titles_data. All of my backups I've done over time look like this. I am worried this backup function didn't work correctly and it is missing 95% of the tables needed to rebuild the database.
I am new to Web Development so any insight would be appreciated.
Last edited: