2. Create an SSH connection to your web server with PuTTY.
3. At the command prompt navigate to your backup folder eg.
Code:
cd /home/mywebsite/backups
Code:
ls -l
6. Uncompress the backup by typing the following at the command line -
Code:
gunzip yourdbbackupfile.sql.gz
Code:
mysql -u yourMySQLusername -pyour MySQLpassword
8. At the MySQL prompt type
Code:
use yourdbname;
9. Type
Code:
truncate yourdbname;
10. Type
Code:
source /fullpathtoyourdbbackup.sql;
11. Type
Code:
quit
12. At the command line re-compress your database backup file by tying
Code:
gzip /fullpathtoyourdbbackup.sql
13. Switch Vbulletin back on in Admin Control Panel - Settings - Options - Switch Vbulletin On/Off.
Your database restore is complete.

