<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Erdem SELÇUK &#187; Php</title>
	<atom:link href="http://www.eravse.com/index.php/category/programlama/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eravse.com</link>
	<description>Kişisel Günlük ,Teknoloji ve mobil yaşam</description>
	<lastBuildDate>Fri, 21 Oct 2011 19:26:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PHP ile MYSQL table backup</title>
		<link>http://www.eravse.com/index.php/2009/12/13/php-ile-mysql-table-backup/</link>
		<comments>http://www.eravse.com/index.php/2009/12/13/php-ile-mysql-table-backup/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 20:39:55 +0000</pubDate>
		<dc:creator>Eravse</dc:creator>
				<category><![CDATA[Genel]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Programlama]]></category>

		<guid isPermaLink="false">http://www.eravse.com/?p=377</guid>
		<description><![CDATA[<p>Posted in <a href="http://www.eravse.com/index.php/category/genel/" title="Genel">Genel</a><a href="http://www.eravse.com/index.php/category/programlama/php/" title="Php">Php</a><a href="http://www.eravse.com/index.php/category/programlama/" title="Programlama">Programlama</a></p>Mysql tablomuzu yedek almak için 3 adet yol bulunmaktadır. 1. PHP taraflı query kullanarak backup almak . 2. System Functionlarından mysqldump kullanarak backup almak 3. PHPmyadmin ve türvlerini kullanarak backup almak . php ile backup almak kısmı şu şekilde olmaktadır. (&#8230;)</p><p><a href="http://www.eravse.com/index.php/2009/12/13/php-ile-mysql-table-backup/">Read the rest of this entry &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Posted in <a href="http://www.eravse.com/index.php/category/genel/" title="Genel">Genel</a><a href="http://www.eravse.com/index.php/category/programlama/php/" title="Php">Php</a><a href="http://www.eravse.com/index.php/category/programlama/" title="Programlama">Programlama</a></p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Mysql tablomuzu yedek almak için 3 adet yol bulunmaktadır.</p>
<p>   1. PHP taraflı query kullanarak backup almak .<br />
   2. System Functionlarından mysqldump kullanarak backup almak<br />
   3. PHPmyadmin ve türvlerini kullanarak backup almak .</p>
<p>php ile backup almak kısmı şu şekilde olmaktadır.</p>
<pre class="brush:[php]">

< ?php
include 'config.php';
include 'opendb.php';

$tableName  = 'mypet';
$backupFile = 'backup/mypet.sql';
$query      = "SELECT * INTO OUTFILE '$backupFile' FROM $tableName";
$result = mysql_query($query);

include 'closedb.php';
?> 
</pre>
<p>Backup alınan dosyadan geri yükleme işlemi ise php taraflı şu şekilde olmaktadır.</p>
<pre class="brush:[php]">
< ?php
include 'config.php';
include 'opendb.php';

$tableName  = 'mypet';
$backupFile = 'mypet.sql';
$query      = "LOAD DATA INFILE 'backupFile' INTO TABLE $tableName";
$result = mysql_query($query);

include 'closedb.php';
?> 

* Bu yöntemde backup alacaksanız en iyi yöntem SQL dosyanızın adını Tablo ismi olarak vermenizdir.
</pre>
<div class="shr-publisher-377"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.eravse.com/index.php/2009/12/13/php-ile-mysql-table-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

