| | How do i restore a sql.gz file? Im confused |
| Nov 8, 2009 |
|
Well, if you have phpmyadmin, you can run the sql query through it.. the sql.gz usually is just a file with queries and comments.. I don't know how you exported it, but uncompress it and if the method you used is INSERT blah, then run the query with some kind of language such as PHP.. I think you really can find something on google, it is really easy.. You can have problems if you want to restore a large database, for example 1 GB.
Good luck! QUOTE How do i restore a sql.gz file? How did you get that sql.gz file ? If you got it through a cpanel "make backup" menu, you restore it with the correspondig "restore backup" menu. If you obtained it from somebody, this guy should tell you how he created the file and how the file has to be restored. Remember, it's an old Unix rule : when you give somebody a backup file, you must provide the way of restoring (cpio, tar, import, etc...) Nevertheless, Quatrux is right : get this file on your own computer, untar it, and see what is inside, and if it's simple "insert into mytable" things, just run this file.
hope this help with decompressing the file..
not all compressing programs can understand *.GZ file since this is a *NIX native file you can use powerarchiever for this matter since it have support for *NIX files. -- nomally, other decompressors will only create a new folder with a tar file inside when you decompress the file and yank that you confirm an overwrite for the TAR file. QUOTE not all compressing programs can understand *.GZ file winrar also knows how to manage the .rar or .gz files, you can get it at winrar.com Yordan
Similar Topics
Keywords : restore, sql, gz, file
(11) Hi, I downloaded a backup of my forum database and wanted to import it on my computer locally for (4) Alright, I'm currently creating an interface program for a MS Access database. I've only (7) I wanted to use my live forum database (in another webhost) on Astahost for testing purposes. But I (9) I have a couple of .frm files with no corresponding data or index files. Is it possible to recover if you need as startup (2) Hi all, Recently there has been lots of questions about configuring MySQL. Usually the rpm (1) login to mysql, type command below: mysql db_name < back.sql.... Looking for restore, sql, gz, file
|
![]() How To Restore A Sql.gz File |
Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com