The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cpanel Backup Restore Error and Missing Database Files

Discussion in 'Database Discussions' started by Altug, Feb 4, 2013.

  1. Altug

    Altug Registered

    Joined:
    Feb 4, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hey guys, I hope you're all well tonight.

    I'm having a bit of a scare..I backed up my old hosting providers Cpanel files (I can't remember which method I used now..) way back in November and have only just got round to trying to restore them with my new host. I know it seems if I left them for a few months that they aren't that important but one of them is my sisters website which she has been on my case for ages to restore..

    Anyway I asked my new host to restore my backup and they got back to me with the following email message :-

    "Hello,

    The given backup file seems corrupted. We are getting the below error while restoring.
    +-------------------------+
    Sorry, we were unable to restore the account. Information about backup-wrinkle-free.info-11-17-2012's primary domain is either missing or corrupt.
    +-------------------------+

    Please re upload a fresh backup file so that I can try restoring the files."

    I guess this makes sense as I'm not using that main domain anymore and it was deleted from my cpanel. However, I'm now trying to manual put a couple of my websites back as I don't want most websites in the backup file..but I can't for the life of me find the database files!!

    Yes, I've done a search and seen that they're likely to be in the lib/ folder but nothing like that exists in this backup! And if my databases are missing I doubt that my old host will have kept them from November :((

    Have I royally messed up or is there somewhere I can find the files? I'm attaching a screenshot of the inside of my backup folder. Any ideas..?

    I really really appreciate this!
    Al

    Untitled.jpg
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,460
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    In your image, you're in one or two directories too deep I think. In root of that backup find the mysql directory. Databases might be there.
     
  3. vincentg

    vincentg Well-Known Member

    Joined:
    May 12, 2004
    Messages:
    140
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    new york
    You can do this but not by using the cpanel backup file to restore.

    Get Winrar or another type of compression utility
    Unpack the cpanel backup on your PC and you can copy all files needed to new website home dir.
    You can find database dump in Mysql folder - just create a new database and in phpmyadmin import the db dump file.

    There is no other way to do it except to pull out what can be used from the cpanel backup and by FTP and SQL tools re-construct the account files.
     
Loading...

Share This Page