Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2006
    Posts
    783
    Plugin Contributions
    0

    Default WHY Can't this SQL be Restored from my cPanel backup?

    Someone trying to restore my DB sent this?
    "Unfortunately we will not be able to restore this particular SQL file. This is part of a cpmove file in which the installer is missing. "

    I do an SQL backup every night via Cpanel Admin. Why can't it be restored?? I have restored Cpanel backups before via just a DB backup file..

    AND, if NOT than WHAT kind of backup of the SQL DB SHOULD I be doing everynight?

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: WHY Can't this SQL be Restored?

    Quote Originally Posted by kevinmc3 View Post
    Someone trying to restore my DB sent this?
    "Unfortunately we will not be able to restore this particular SQL file. This is part of a cpmove file in which the installer is missing. "

    I do an SQL backup every night via Cpanel Admin. Why can't it be restored?? I have restored Cpanel backups before via just a DB backup file..

    AND, if NOT than WHAT kind of backup of the SQL DB SHOULD I be doing everynight?
    A cpanel backup is NOT the same as an SQL backup. Cpanel backups are generally compressed archives of your entire website, and therefore need to be decompressed before using them for restoration.

    SQL backups are nothing more than simple text files, usually with a ".sql" file extension.

    Cheers
    Rod

  3. #3
    Join Date
    Jun 2006
    Posts
    783
    Plugin Contributions
    0

    Default Re: WHY Can't this SQL be Restored?

    Quote Originally Posted by RodG View Post
    A cpanel backup is NOT the same as an SQL backup. Cpanel backups are generally compressed archives of your entire website, and therefore need to be decompressed before using them for restoration.

    SQL backups are nothing more than simple text files, usually with a ".sql" file extension.

    Cheers
    Rod
    Thanks. Yes, I understand the Cpanel backup is compressed.
    But, for a scenario where I have to move to a completely different server, what do I need to be backing up to prepare for that scenario?

    Apparently, just a Cpanal Backup of
    the DB cannot be restored on a NEW server. BUT, I've been told to make sure to do SQL backups using MYPHP Admin. ? And that DB backup could be restored anywhere...?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,451
    Plugin Contributions
    81

    Default Re: WHY Can't this SQL be Restored?

    FAQ on making Backups via phpMyAdmin: https://www.zen-cart.com/tutorials/i...hp?article=103
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jun 2006
    Posts
    783
    Plugin Contributions
    0

    Default Re: WHY Can't this SQL be Restored?

    Quote Originally Posted by DrByte View Post
    FAQ on making Backups via phpMyAdmin: https://www.zen-cart.com/tutorials/i...hp?article=103
    Thanks. Any creative ideas on doing a REAL Restore test to confirm validity of the Backups? I mean without having to do an actual restore over the live DB

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: WHY Can't this SQL be Restored from my cPanel backup?

    Yea create a new database thats not actually attached to anything and run your sql file
    Zen cart PCI compliant Hosting

 

 

Similar Threads

  1. Getting php file from a cpanel backup?
    By PudzPud in forum General Questions
    Replies: 1
    Last Post: 21 Nov 2011, 09:44 PM
  2. Site Backup Restored - Can't Log Into Admin
    By designsbytrina in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 25 Jun 2011, 11:23 PM
  3. Replies: 4
    Last Post: 28 Mar 2010, 12:30 AM
  4. Restored site from backup but now won't display
    By osgx in forum General Questions
    Replies: 0
    Last Post: 26 Feb 2010, 03:14 AM
  5. Backup MySQL Database vs using cPanel backup option?
    By IronMan101 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 30 Jul 2007, 08:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg