The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. How do I diagnose a site that has had a corrupted database restored?

    How do I diagnose a site that has had a corrupted database restored?

    Technical SEO Issues
    5 2 90
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • featherseo
      featherseo last edited by

      Here's the situation:

      Downloaded a backup of a full database from CPanel, because we needed to perform some queries on it.

      Found out that after restoring it, CPanel had not been able to zip up the full database because the server memory was set so low (some posts weren't showing up after the restore).

      SO, how would I go about determining exactly what content is missing from the site? What search engine queries would you perform? Is there a plugin I could use to establish the inconsistencies between the database content and the search results?

      Your help is appreciated in advance!

      1 Reply Last reply Reply Quote 0
      • RyanKent
        RyanKent last edited by

        Based on your inquiry, it seems likely you are using specific software to run your site. It is unclear what type of software is being used, which is a critical factor. It could be a CMS such as WordPress. a shopping cart such as ZenCart, a forum such as vBulletin, etc.

        You would likely receive the fastest and most accurate response by using the support site of the specific software in use.

        Based on your questions, you are in far over your head and should ideally step aside and find a programmer who can resolve the issue. With that said, I'll try to answer your questions.

        "how would I go about determining exactly what content is missing from the site?"

        In order to determine what is missing, you need a baseline. You need to understand the site's function and activity. For example, if you are running an ecommerce site, what is the timestamp of the last order placed on the site?

        "What search engine queries would you perform?"

        None. You have an onsite issue. That is where your attention needs to be focused.

        ** "Is there a plugin I could use to establish the inconsistencies between the database content and the search results?"**

        No. The search results should not even be a consideration. Search engines may choose to index or not index your content based on numerous factors including the robots.txt file, the meta tags on each page, the content on each page and so forth. Asking this question indicates you are grasping at straws. If your site is important to you, hire a professional developer to fix the problem. If the site is not of great importance (i.e. it does not generate revenue) then you can visit the site of the software in use and spend a day or two reading various articles, forums and such, then making various setting changes in an attempt to restore the site.

        Another option....contact the web host and request them to restore a full backup of the entire site. This option would likely be best, but you would lose all data from after the time the backup was taken.

        featherseo 1 Reply Last reply Reply Quote 1
        • featherseo
          featherseo @RyanKent last edited by

          Hi Ryan,

          Apologies for not mentioning the software. The website is built on Wordpress.

          Here's a bit extra information for you regarding the issue: upon inspection after seeing that the database was corrupted, comparing file sizes of the recently backed-up database, with a database that was backed-up three days beforehand, we found that the most recently backed-up database was around 5% smaller in file size than the earlier one—if anything it should be larger.

          Regarding timestamps, the latest posts are there, and the comments seem to be there, so determining what exactly IS missing is something I'm going to need help with.

          I can't restore the earlier version of the database either, because important data has been added since then.

          The site works fine, for now. I'm just worried somewhere down the road we're going to find that there are 100 posts missing that are now turning up as 404 pages and lost links.

          Does that make sense? Thanks for your help.

          RyanKent 1 Reply Last reply Reply Quote 0
          • RyanKent
            RyanKent @featherseo last edited by

            Prior to SEO, my time was spent as a Microsoft Database Administrator. Your site almost certainly is using a MySQL database which is a different format then T-SQL, but the comparison likely holds.

            Whenever I set up a MS SQL database, a task would be scheduled to automatically shrink the database. There are temp tables which are added and removed, files within the database which can have unused pages removed, etc. A database size reduction of 5% does not indicate to me any data loss.

            At a high level, you need to compare the "corrupted" database with the one you restored on a file or table level to determine any differences. That is the only reasonable way to achieve your goal. The work should ideally be performed by a professional who is highly experienced in MySQL.

            If you desire further assistance, I recommend pursuing the topic on a MySQL forum as this does not really pertain to SEO nor even WordPress.

            featherseo 1 Reply Last reply Reply Quote 1
            • featherseo
              featherseo @RyanKent last edited by

              Thanks a lot, Ryan. This response was really helpful.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Site address change: new site isn't showing up in Google, old site is gone.
                GlobeRunner
                GlobeRunner
                0
                5
                107

              • 301 Multiple Sites to Main Site
                CleverPhD
                CleverPhD
                0
                5
                114

              • I noticed all my SEOed sites are getting attacked constantly by viruses. I do wordpress sites. Does anyone have a good recommendation to protect my clients sites? thanks
                inboundauthority
                inboundauthority
                0
                8
                266

              • One site per location or all under and umbrella site?
                VentaMarketing
                VentaMarketing
                0
                4
                1.4k

              • How do you diagnose if on your site is only 50% crawled?
                Nightwing
                Nightwing
                0
                3
                326

              • I am Posting an article on my site and another site has asked to use the same article - Is this a duplicate content issue with google if i am the creator of the content and will it penalize our sites - or one more than the other??
                Alex-Harford
                Alex-Harford
                0
                4
                524

              • How do I set up a site review for a password protected site?
                jsturgeon
                jsturgeon
                0
                2
                968

              • Some sites like bbc.co.uk place the most important category links at the bottom of the page while other sites will place the whole site map there. What are the benefits (or not) of both approaches?
                Christy-Correll
                Christy-Correll
                0
                6
                1.0k

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy