Return to iWEBTOOL

Go Back   iWEBTOOL Talk > The Web and your Website > Programming > PHP
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
Welcome to iWEBTOOL Talk, where you talk about webmaster-related stuff.
 
Discuss topics which interest you.
With over thousands of threads (topics), we're sure you'll find something that'll interest you.
Ask for help whenever you need it.
We have thousands of members who are available to help you if you need it.
It's absolutely FREE!

 1  Register           2  Browse the board           3  Discuss whatever may interest you!
 


Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 03-25-2007, 07:52 PM   #1
roksolana
Member
 
roksolana's Avatar
 
Join Date: Mar 2007
Posts: 200
roksolana is on a distinguished road
Default Help.I get .php backup file

I try to backup SQL database from my host server. It generates *.php backup file instead *.sql .. I created my database on my local comp and PHP-admin on my local machine generated *.sql backup file. I uploaded it in my host server using servers php-admin? Can I restore my database with that *.php backup file or I should convert it? Is there some mistake?or I just do not understand anything?
__________________
roksolana-dating.com
aMariner.net
roksolana is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
SEO Checklist
Get yourself better ranking with
our "Do-it-Yourself" SEO Checklist.
Click Here
Old 04-04-2007, 10:13 AM   #2
techjournal
Junior Member
 
techjournal's Avatar
 
Join Date: Apr 2007
Posts: 14
techjournal is on a distinguished road
Default Re: Help.I get .php backup file

It may be saved as .php as a way of preventing it from being downloaded from the server.
Assuming it is a mysql database backup, have you tried opening it in a text editor?
I would rename it to .sql and then try a restore
techjournal is offline  
Old 04-04-2007, 10:17 AM   #3
Bagi Zoltán
iWEBTOOL Moderator
 Contributor 
 
Bagi Zoltán's Avatar
 
Join Date: Aug 2006
Location: Hungary
Posts: 1,845
Bagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of lightBagi Zoltán is a glorious beacon of light
Default Re: Help.I get .php backup file

Can you log in into the php myadmin interface?
__________________
Time may come when you will need an excellent eCommerce shopping cart software
free seo related web directory online marketing Free shopping cart
Bagi Zoltán is offline  
Old 04-04-2007, 10:30 AM   #4
roksolana
Member
 
roksolana's Avatar
 
Join Date: Mar 2007
Posts: 200
roksolana is on a distinguished road
Default Re: Help.I get .php backup file

Quote:
Originally Posted by techjournal View Post
It may be saved as .php as a way of preventing it from being downloaded from the server.
Assuming it is a mysql database backup, have you tried opening it in a text editor?
I would rename it to .sql and then try a restore
I opened .php file. It looks the same as .sql. Will I not spoil my database if I just rename file to .sql and upload it to the server?
__________________
roksolana-dating.com
aMariner.net
roksolana is offline  
Old 04-04-2007, 10:32 AM   #5
roksolana
Member
 
roksolana's Avatar
 
Join Date: Mar 2007
Posts: 200
roksolana is on a distinguished road
Default Re: Help.I get .php backup file

Quote:
Originally Posted by Bagi Zoltán View Post
Can you log in into the php myadmin interface?

I have access to phpadmin on the server. Should I change something there?
__________________
roksolana-dating.com
aMariner.net
roksolana is offline  
Old 04-04-2007, 10:32 AM   #6
jumpenjuhosaphat
 Contributor 
 
jumpenjuhosaphat's Avatar
 
Join Date: Jun 2006
Location: Denver
Posts: 4,459
jumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud of
Default Re: Help.I get .php backup file

Open the file in WordPad and see if it looks anything like this:

Code:
-- MySQL dump 10.9 -- -- Host: localhost Database: official_smf1 -- ------------------------------------------------------ -- Server version 4.1.21-standard -- -- Table structure for table `smf_attachments` -- DROP TABLE IF EXISTS `smf_attachments`; CREATE TABLE `smf_attachments` ( `ID_ATTACH` int(10) unsigned NOT NULL auto_increment, `ID_THUMB` int(10) unsigned NOT NULL default '0', `ID_MSG` int(10) unsigned NOT NULL default '0',

If it does, then it's a mysql backup file.

You can generate a backup from phpmyadmin.

Select the database that you want to backup from the dropdown menu.

Then click the Export tab.
In the area that is titled Exporth, highlight all of the tables that you want a copy of and select SQL from the radio list.

In the area that is titled "Save as file", select a compression method. Typically gzip works best for me.

Click go, and choose "save file" and click ok.....That should do it for you.
__________________
Storage Sheds
Lost Forum
jumpenjuhosaphat is offline  
Old 04-04-2007, 11:29 AM   #7
roksolana
Member
 
roksolana's Avatar
 
Join Date: Mar 2007
Posts: 200
roksolana is on a distinguished road
Default Re: Help.I get .php backup file

Thank you, friends. I have just checked it again. My host provider staff tuned phpMyadmin and it generates a correct .sql backup file. Before it was *.php file. Thank you once more.
__________________
roksolana-dating.com
aMariner.net
roksolana is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
Webmaster Tools Webmaster Tools Click Here
Closed Thread

(Threads which have no activity for more than 30 days are automatically closed.)



Quick Reply
Message:

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Expload Upload - Free file hosting + File SHARING Website hemanthjava Websites for Sale 0 02-25-2007 08:09 AM
Free File Hosting + File Sharing Website hemanthjava Websites for Sale 0 02-25-2007 08:08 AM
ps3 backup games hitachi General Talk 0 01-31-2007 10:10 PM
Email backup need help mihail_p Programming 2 01-22-2007 10:07 AM
Domain Backup ;what is it? seo Domain Name 5 12-25-2006 10:08 AM


All times are GMT. The time now is 01:14 PM.


Powered by vBulletin v3.6.7 © 2008, Jelsoft Enterprises Ltd. SEO by vBSEO © 2006, Crawlability, Inc.