Moderators: Gaia.
Page: 1
| Author | Post |
|---|---|
|
#1 Sun Jun 18, 2006 4:58 am
|
|
Member
![]() Registered: Jun 2006
Posts: 12
Location: Indonesia
|
i want to ask how to make and to restore database?
|
|
#2 Sun Jun 18, 2006 8:03 am
|
|
|
Member
Registered: May 2005
Posts: 298
Location: 98671
|
If you have cPanel access(control for domain you own).
To download backup, just click backup and click database you want under "Download a MySQL Database Backup" downloads to where ever you choose. To do restore, click browse under "Restore a MySQL Database" to get file and then click upload. |
|
#3 Sun Jun 18, 2006 8:15 am
|
|
|
Member
Registered: May 2005
Posts: 298
Location: 98671
|
cPanel is provided with a hosting account(allows you to control your site), forgot to add that(can not edit above).
|
|
#4 Sun Jun 18, 2006 9:25 am
|
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
You can also use phpMyAdmin to export the database or use mysqldump.
_______________ |
|
#5 Mon Jun 19, 2006 3:38 am
|
|
Member
![]() Registered: Jun 2006
Posts: 12
Location: Indonesia
|
to: dietrich
i am sorry i still newbie in phpmyadmin can you please decribe step by step please ... (if possible by screen shot maybe ? ) to : william i never using backup facility in cpanel ... can you describe .. step by step please? i am very sure it will help others too i hope in the next UseBB version there also integrated facility to make and restore database to .. thanks.. |
|
#6 Mon Jun 19, 2006 6:23 pm
|
|
|
Member
Registered: May 2005
Posts: 298
Location: 98671
|
Best I can do been posted above. |
|
#7 Tue Jun 20, 2006 1:58 pm
|
|
Member
![]() Registered: Jun 2006
Posts: 12
Location: Indonesia
|
never mind william ;p
now i know they way .... i tray to backup using Phpmyadmin. to restore it , i just delet the database..... make the new one with same name (now the database is empty) and then i restore the database. maybe it`s not the good way .. but it works ! ![]() i prefer using phpmyadmin ... since i can restore the mysql to other server. |
|
#8 Sat Jul 01, 2006 12:46 am
|
|
Member
![]() Registered: Jul 2006
Posts: 8
Location: Florida
|
If you have shell access the following is the best way to do this.
To make a backup issue the following command: mysqldump --opt -Q -u databaseusername -p thedatabasename > /path/to/nameofthebackup.sql To restore use this command: mysql -u databaseusername -p thedatabasename < /path/to/nameofyourbackupfile.sql if the database is on another server add "-h theservername" (with out quotes) to the commands |
Page: 1
UseBB Community is powered by UseBB 1 Forum Software