Site Panel Help | User Panel Help | Panel Demo's | Search | Help |
Categories· New Customer FAQs · FAQ Home |
XML-File<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?> <!-- XML-Output by phpMyFAQ 1.3.8 --> <phpmyfaq xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:NamespaceSchemaLocation="http://www.phpmyfaq.de/xml/faqschema.xsd"> <article id="34"> <language>en</language> <category>MySQL</category> <keywords></keywords> <theme>How do I restore a backup of a database?</theme> <content xmlns="http://www.w3.org/TR/REC-html40">You can restore a backup of a database created with mysqldump *. 1: Create the database with the site owner panel - The ONLY way you can create databases is from the site owner panel, so you must create the database first. - If it already exists, delete it, and create it again to make sure it's empty before the restore. 2: Log in to the server via <a href="http://www.pro.echoechoplus.com/helpfiles/index.php?&aktion=anzeigen&rubrik=005" target="_blank">SSH </a>. 3: Write a command like this (directly at the SSH prompt): <b>mysql -u username -h localhost -p databasename < textfile</b> - <b>username</b> is the username for your hosting plan, for example: testuser. - <b>databasename</b> is the name of your database, for example: testuser_mybase. - <b>textfile</b> is the name of the backup file, for example: backup_mybase. 4: You will be asked for your password. Enter the mysql password for the database. That's it - mysql will now read the backup file and create and restore your database tables! * The backup procedure is explained here: <a href="/helpfiles/index.php?aktion=artikel&rubrik=019&id=33&lang=en">How do I create a backup of a database? </a></content> <author>EchoEcho Support</author> <date>12.07.2009, 21:19</date> </article> </phpmyfaq> |
Copyright © EchoEchoPlus Hosting |