The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Backup/restore using phpMyAdmin/SSH
Backing Up & Restoring a MySQL Database using phpMyAdmin / SSH ================================================== ===== This is just a short mini-tutorial explaining how to backup parts of the mySQL database using phpMyAdmin and also via SSH (Secure Shell) access. This tutorial should be of use to most people, as it's an important part of any website/forum maintenance. So, let's get started... Step 1 - Backing up using phpMyAdmin Note: Most good hosts provide phpMyAdmin (mySQL administration). If you do not know where it is or even if it exists on your server, just get in touch with your host.
Congratulations! You have successfully backed up your database / selected tables! Step 2 - Restoring your database using phpMyAdmin Note: Most good hosts provide phpMyAdmin (mySQL Administration). If you do not know where it is or even if it exists on your server, just get in touch with your host.
Step 3 - Backing up using SSH Note: Some hosts do not offer SSH access, I suggest contacting your host and asking him/her if SSH access is enabled and if so the details. A good program to use for connecting via SSH is PuTTY (Get it at: http://www.chiark.greenend.org.uk/~sgtatham/putty/). Don't know how to use it? Search on Google for a tutorial.
Step 4 - Restoring using SSH Note: Some hosts do not offer SSH access, I suggest contacting your host and asking him/her if SSH access is enabled and if so the details. A good program to use for connecting via SSH is PuTTY (Get it at: http://www.chiark.greenend.org.uk/~sgtatham/putty/). Don't know how to use it? Search on Google for a tutorial.
That's basically it I think, I believe I have covered everything? Anything I missed? Comments or suggestions? Just let me know! Hope this tutorial was as useful to you as it is to me. Thanks, -Snake www.metalgearforums.com |
#22
|
|||
|
|||
Quote:
|
#23
|
|||
|
|||
I'm trying to move from one server to another. The server I am moving FROM doesn't have ssh access so I'll have to do it in phpmyadmin. The server I'm moving TO does not have phpmyadmin so I'll have to use the ssh method.
Can I use part 1 of the phpmyadmin tutorial and part 2 of the ssh tutorial? It's okay to combine the two like that, isn't it? |
#24
|
|||
|
|||
Hi,
I'm restoring my database using phpMyAdmin and I followed step 2 in the first post when attempting to restored the db. When I do this I get the following error, does anyone know why or how to fix this? Quote:
|
#25
|
|||
|
|||
Using SSH to backup your SQL file doens't specifically compress the database, the --opt command optimizes the database and clears the overhead on each table. While it may appear to be smaller, the database is actually the same size, without the overhead.
As for Site5, they actually do use CPanel, it is simply a skinned version of CPanel which is rebranded. They have indeed added their own features, such as FlashBack and such services, however it's easy to see they still use a rebranded version of CPanel . |
#26
|
|||
|
|||
Quote:
Which brings me to my question for anyone who can help - When phpAdmin asks for a filename template for the database backup file there is this message below: Quote:
Okay, I assume this means I can put something in the template which cause the filename to include the date/time, but I don't know what. Anyone help me with this?? Cheers. |
#27
|
|||
|
|||
Quote:
|
#28
|
|||
|
|||
how do you find the correct path??
|
#29
|
|||
|
|||
My previous host had ssh access, my new host doesnt, so I used the bigdump method, which seemed to have restored the mysql file on my new database, now I cant view my forums homepage (its blank) however I can log into admin cp without a problem
|
#30
|
|||
|
|||
I'm having some issues myself...
I'm all backed up via the export function on my old server. Fine. I have a new dedicated server. So I created the database, and user for sql. Problems. I don't think I'm setting up the permissions for that new user correctly... I'm using plesk to add the new database and user. Fine. I try to restore the database via ssh, and I get: Can't create database 'DB_Name'; database exists Ugh... So what is the issue there? If I delete the database, and do it that way, I get the errors saying no database exists. So I feel like i'm stuck. I know there is probably a simple answer, but I just cant find it. Thanks in advance folks. Carter Ah ha.. think I found the answer... in ssh.. on a new server... use the "-f" command to ignore the error messages. That fixed it. sql -f -u USERNAME -p DB_NAME < /Path_to/sql_dump_file.sql @dj look here: http://www.vbulletin.com/docs/html/blank_pages |
#31
|
|||
|
|||
Quote:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|