UseBB Community

The official board for UseBB help and discussion

UseBB Community » Help & Support » How To make/restore back up database ?

How To make/restore back up database ?

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: Jun 2006
Posts: 12
Location: Indonesia
i want to ask how to make and to restore database?
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.
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).
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
You can also use phpMyAdmin to export the database or use mysqldump.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
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..
Member
Registered: May 2005
Posts: 298
Location: 98671
nike wrote
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

Best I can do been posted above.
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.
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 » Help & Support » How To make/restore back up database ?

UseBB Community is powered by UseBB 1 Forum Software