|
|
|
|
![]() ![]() |
Aug 5 2005, 11:05 AM
Post
#1
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 86 Joined: 18-July 05 From: Lithuania Member No.: 9,570 |
Is it possible save database from this server to my harddrive
I couldn't find right opration in myPhpadmin. I found "export" button in this tool but there are so many options and I am a little afraid to use it becouse I don't want to loos my data (actualy I wan save it Or maybe it can be done throuth ftp browser? There are a lot of defoult folders (I even don't know for what are thay. I know just bublic_html) on my site location so maybe my data are holdet there... So is there way to save my databases Thanx in advice |
|
|
|
Aug 5 2005, 11:17 AM
Post
#2
|
|
|
Desperately seeking "any key" to continue... ![]() Group: Admin Posts: 3,468 Joined: 23-April 05 From: Trap17 storage box Member No.: 6,042 |
You can backup your database and download into your harddrive. Will that work for you? I'm not proficient with database (I just don't trust anything that's out of my reach although TRAP17's been really reliable) so I don't have the working experience. But I'm sure our members can lead you to the right place.
You will see it in the cPanel > phpMyadmin > export and use the option Save As File. When you are saving as a file (select the file type) you will not disturb any current database. |
|
|
|
Aug 6 2005, 04:14 AM
Post
#3
|
|
|
Trap Grand Marshal Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,183 Joined: 24-September 04 Member No.: 1,245 |
just phpmyadmin can do it
you can just upload sql to it or just download all sql to your disk |
|
|
|
Aug 9 2005, 11:11 PM
Post
#4
|
|
|
Member [Level 1] ![]() ![]() ![]() ![]() Group: Members Posts: 69 Joined: 6-August 05 Member No.: 10,375 |
Yeah, to export your mysql database, select the name of your database and wait for the options to load.
Then, select the export tab. If i remember correctly, all the default selection are alright to use; so all you have to do is type a name for the saved file to be and click "SAVE" It should be in .sql file type. Take note of where the file is saved to and download it to your computer using an ftp program. You can also saved it through your browser it think, but i'm not sure how you can save it as .sql file extension. Well, at least I'm pretty sure the ftp program will download it for me. |
|
|
|
Aug 11 2005, 08:28 AM
Post
#5
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 351 Joined: 19-October 04 From: India Member No.: 1,824 |
yup,
Follow these steps to backup: Go to phpMyAdmin, select the database u want to backup. Then select the "Export" tab. Select the tables that u want to backup in the Export combo box, use control to select multiple or select all if u want all the tables. Check "Drop Table" and "If not Exist" boxes in the structure section. *This means that it wud add a statement to drop an existing table if it exists when u use this backup for restoring data. *The "if not exist" clause would create the table if it does not exist or has been dropped. ****chek the "Drop Table" box only if you do not mind losing data that might have been added since last backup**** The "If not exists" is a harmless clause. Check the "Complete Inserts" box in the Data section. check the "Save as file" checkbox and click on "GO". The export sql file will be generated and you will be prompted to save it to ur disk. U r done with the backup. IF u want to restore from this file, just go to import, browse to this file and run it.. The whole set of sql statements in the file will execute and the data in the selected tables will be restored. Cheers. |
|
|
|
Aug 12 2005, 03:08 PM
Post
#6
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 183 Joined: 24-April 05 From: Europe Member No.: 6,109 |
Hmm.. I don't backup my mySQL databases like that, i use cPanel.
Here's what you need to do: 1. Open your cPanel page and fill your login details, then go to "Backup" section; 2. Then look for the "Download a MySQL Database Backup" section. There should be your mySQL databases, ordered by name. 3. Just click on one of them to download. If you need to restore the backup database: 1. Login again to cPanel and access the "Backup" section; 2. Look for the field called: Restore a MySQL Database. Browse to your backup database location and hit "Upload". 3. There you are, you've succesful uploaded your previous mySQL backup database. Last note, you can do in the "Backup" page, full backups of the website, featuring all the files and cpanel configuration. Now the "Full Backup" does NOT backup your mySQL databases. So you'll have to download always your databases separatly of your main site backup. Just a small warning. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 8th September 2008 - 06:17 PM |