Backup and Restore

Discussion in 'Domains, Hosting and Servers' started by Blubble, Jun 7, 2010.

  1. Blubble

    Blubble Novice

    Joined:
    Jun 3, 2010
    Messages:
    28
    Likes Received:
    2
    Location:
    France
    First Name:
    Chris
    I'm not sure if this is in the right place, mods please move at your discretion.

    I take regular database backups and download them to my hdd and also copy them to a removeable hdd for safety. All very commendable I hear you say, but here is my problem, I have not got the know how or ability to restore these backups should the need arise. How is it done? Do I need any specialized software? I tried to restore my main database to my test forum to make testing more realistic using several guides that I googled but I couldn't do it.

    Any pointers? I 'd rather figure this out now than try to do it in a genuine recovery situation.


    I'm running vB 3.8.4 PL2
     
  2. Dan Hutter

    Dan Hutter aka Big Dan

    Joined:
    Jul 20, 2006
    Messages:
    1,412
    Likes Received:
    515
    Location:
    New York
    3 people like this.
  3. kev

    kev Regular Member

    Joined:
    Mar 9, 2009
    Messages:
    1,224
    Likes Received:
    61
    Small databases can usually be restored from cpanel, or a php script like mysql dumper.

    Larger databases, they need to be restored from the command line.

    PHP scripts can timeout when restoring large databases - leaving you with a partial restore. Which is something you do not want happening.
     
  4. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    Moved to Hosting section.
     
    2 people like this.
  5. Michael

    Michael Regular Member

    Joined:
    Jan 18, 2004
    Messages:
    166
    Likes Received:
    35
    You could always upload the backup to somewhere above public_html/ and request for your host to restore the files from the particular backup you uploaded, not perfect but good if you dont know how to do so via the command line.
     
    2 people like this.
  6. Blubble

    Blubble Novice

    Joined:
    Jun 3, 2010
    Messages:
    28
    Likes Received:
    2
    Location:
    France
    First Name:
    Chris
    Thanks for the replies guys, very helpful.
    I'm going to try out the method Big Dan linked to on my test database as soon as I can.

    My hosting company are extremely helpful but they are a 9 to 5 Mon-Fri operation and I need to be able to be able to do stuff out of hours. I'd hate the site to go down on Friday evening and not come back up until Monday at the earliest.
     
  7. Dan Hutter

    Dan Hutter aka Big Dan

    Joined:
    Jul 20, 2006
    Messages:
    1,412
    Likes Received:
    515
    Location:
    New York
    Best of luck if you have any trouble post back. :)
     
    3 people like this.

Share This Page