Форум сетевых администраторов
Показаны 2 сообщений на этой странице

Форум сетевых администраторов (http://netadmin.ws/forum/index.php)
- VBulletin 3.x.x (http://netadmin.ws/forum/forumdisplay.php?forumid=74)
-- Загрузить backup (http://netadmin.ws/forum/showthread.php?threadid=11632)


Помещено Tagore 01-04-2006 в 14:00:

Lightbulb Загрузить backup

Ð_ебята,

Два года тому назад форум упал и не смог восстановить. У меня база на 30 мб (не так и много), но как ее теперь загрузить?

__________________
Международное брачное агенство в Сибири.


Помещено Xrobak 02-04-2006 в 17:04:

в мануале от вб есть ответ на твой вопрос:

quote:
Restoring The Database via SSH/Telnet
In order to restore your database via SSH or Telnet you will require 2 things:

1) SSH or Telnet access to your site. You will need to check with your hosting company to see if this is available.

2) An SSH/Telnet Client, such as PuTTy.
Note: If your database backup resides on your home computer, you will first have to upload it via FTP to your website
Open your SSH/Telnet client and log into your website. The command line prompt you will see will vary by OS.
For most hosting companies, this will bring you into the FTP root folder.

Type in the following:


code:
mysql -u dbusername -p databasename < /path/to/backupname.sql



You will be prompted for the database password. Enter it and the database will backup.

If your hosting company has you on a remote MySQL server, such as mysql.yourhost.com, you will need to add the servername to the command line. The servername will be the same as in your config.php. The command line will be:


code:
mysql -h servername -u dbusername -p databasename < /path/to/backupname.sql



Формат времени GMT. Текущее время 00:32.
Показаны 2 сообщений на этой странице

Powered by: vBulletin Version 2.2.4
Copyright © Jelsoft Enterprises Limited 2000, 2001.