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.

How can I restore a backup from a specific day?

Discussion in 'Data Protection' started by PumpinIron, May 15, 2013.

  1. PumpinIron

    PumpinIron Member

    Joined:
    Mar 8, 2013
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I've got my own dedicated server that I lease through HostGator. It's running the latest version of WHM.

    I have a site on that server and I need to restore the database form a few days ago (my server does backups every night). When I login as root and go to Backup > Restore Backup > Daily, it let's me choose the user I want to restore (as well as a host of other options) but it doesn't let me choose what date I want to restore it to.

    I find this a little odd... Is there any way to restore a backup from a specific day?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    That depends on the version of cPanel that server is running I would think. New backup options have just been introduced that do permit this. (specific days)
    If you're not using that new system, you'll need to grab a prior backup, unpack it and locate the mysql directory which contains your databases and restore the .sql file itself.
     
  3. PumpinIron

    PumpinIron Member

    Joined:
    Mar 8, 2013
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm using 11.36.1 Build 6. Any idea whether that has these new backup features to mentioned?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  5. PumpinIron

    PumpinIron Member

    Joined:
    Mar 8, 2013
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Okay thanks!

    In order to grab a backup from a specific day do I have to use SSH and login as root to do it? There's no GUI interface to grab the backups I assume?

    I only ask because I'm not super savvy with the command line.
     
  6. livelovesurveys

    livelovesurveys Registered

    Joined:
    May 15, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Call the host. I use hostgator too and they can back it up to pretty much anything i ask.
     
  7. PumpinIron

    PumpinIron Member

    Joined:
    Mar 8, 2013
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Will do! Thanks!
     
  8. sp3ctre69

    sp3ctre69 Well-Known Member

    Joined:
    Aug 14, 2006
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Just found that, I didn't know about it... that is going to be really useful, thanks!
     
Loading...

Share This Page