<?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>table backup &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/table-backup/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Thu, 29 Jun 2017 18:39:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.5</generator>
	<item>
		<title>MySQL: Take a separate backup of Table Data and Table Structure</title>
		<link>https://www.dbrnd.com/2017/07/mysql-take-a-separate-backup-of-table-data-and-table-structure-mysqldump/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Mon, 03 Jul 2017 16:16:53 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[data backup]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[MySQL Command]]></category>
		<category><![CDATA[MySQL Database Administrator]]></category>
		<category><![CDATA[MySQL Database Designing]]></category>
		<category><![CDATA[MySQL Database Programming]]></category>
		<category><![CDATA[MySQL Error]]></category>
		<category><![CDATA[MySQL Performance Tuning]]></category>
		<category><![CDATA[MySQL Query]]></category>
		<category><![CDATA[MySQL Tips and Tricks]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[table backup]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=5457</guid>

					<description><![CDATA[In the previous article, I shared few mysqldump options to take the table only backup or ignore few tables from the full database backup. In addition to the previous post, here I am sharing other relevant options to take the backup of table structure or take the backup of table data only. Why we need [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-separate-backup-of-table-data-and-table-structure-mysqldump%2F&amp;linkname=MySQL%3A%20Take%20a%20separate%20backup%20of%20Table%20Data%20and%20Table%20Structure" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-separate-backup-of-table-data-and-table-structure-mysqldump%2F&amp;linkname=MySQL%3A%20Take%20a%20separate%20backup%20of%20Table%20Data%20and%20Table%20Structure" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-separate-backup-of-table-data-and-table-structure-mysqldump%2F&amp;linkname=MySQL%3A%20Take%20a%20separate%20backup%20of%20Table%20Data%20and%20Table%20Structure" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-separate-backup-of-table-data-and-table-structure-mysqldump%2F&amp;linkname=MySQL%3A%20Take%20a%20separate%20backup%20of%20Table%20Data%20and%20Table%20Structure" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-separate-backup-of-table-data-and-table-structure-mysqldump%2F&amp;linkname=MySQL%3A%20Take%20a%20separate%20backup%20of%20Table%20Data%20and%20Table%20Structure" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-separate-backup-of-table-data-and-table-structure-mysqldump%2F&amp;linkname=MySQL%3A%20Take%20a%20separate%20backup%20of%20Table%20Data%20and%20Table%20Structure" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-separate-backup-of-table-data-and-table-structure-mysqldump%2F&#038;title=MySQL%3A%20Take%20a%20separate%20backup%20of%20Table%20Data%20and%20Table%20Structure" data-a2a-url="https://www.dbrnd.com/2017/07/mysql-take-a-separate-backup-of-table-data-and-table-structure-mysqldump/" data-a2a-title="MySQL: Take a separate backup of Table Data and Table Structure"></a></p><p>In the previous article, I shared few mysqldump options to take the table only backup or ignore few tables from the full database backup. </p>
<p>In addition to the previous post, here I am sharing other relevant options to take the backup of table structure or take the backup of table data only. </p>
<blockquote><p>Why we need this kind of choices? Because sometimes we need to create a database with empty tables in a new server and in that newly created database we might require to insert data from another server. </p></blockquote>
<p>So there are few requirements for table structure and table data which require loading from different servers.  </p>
<p><strong>Take a backup of table structure only:</strong></p>
<pre class="crayon-plain-tag">mysqldump -u user_name -p --no-data db_name &gt; db_backup.sql</pre> </p>
<p><strong>Take a backup of table data only:</strong></p>
<pre class="crayon-plain-tag">mysqldump -u user_name -p --no-create-info db_name &gt; db_backup.sql</pre> </p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>MySQL: Take a Table Backup or Ignore few Tables in a Backup</title>
		<link>https://www.dbrnd.com/2017/07/mysql-take-a-table-backup-or-ignore-few-tables-in-a-backup-mysqldump/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sun, 02 Jul 2017 16:16:33 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[--ignore-table]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[MySQL Command]]></category>
		<category><![CDATA[MySQL Database Administrator]]></category>
		<category><![CDATA[MySQL Database Designing]]></category>
		<category><![CDATA[MySQL Database Programming]]></category>
		<category><![CDATA[MySQL Error]]></category>
		<category><![CDATA[MySQL Performance Tuning]]></category>
		<category><![CDATA[MySQL Query]]></category>
		<category><![CDATA[MySQL Tips and Tricks]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[table backup]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=5453</guid>

					<description><![CDATA[In this post, I am sharing a solution to take an only table or few tables backup in MySQL and also sharing solution like, How you can ignore few tables while taking a backup of MySQL Database. In last year, I shared a basic article on how to take a backup of the database in [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-table-backup-or-ignore-few-tables-in-a-backup-mysqldump%2F&amp;linkname=MySQL%3A%20Take%20a%20Table%20Backup%20or%20Ignore%20few%20Tables%20in%20a%20Backup" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-table-backup-or-ignore-few-tables-in-a-backup-mysqldump%2F&amp;linkname=MySQL%3A%20Take%20a%20Table%20Backup%20or%20Ignore%20few%20Tables%20in%20a%20Backup" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-table-backup-or-ignore-few-tables-in-a-backup-mysqldump%2F&amp;linkname=MySQL%3A%20Take%20a%20Table%20Backup%20or%20Ignore%20few%20Tables%20in%20a%20Backup" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-table-backup-or-ignore-few-tables-in-a-backup-mysqldump%2F&amp;linkname=MySQL%3A%20Take%20a%20Table%20Backup%20or%20Ignore%20few%20Tables%20in%20a%20Backup" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-table-backup-or-ignore-few-tables-in-a-backup-mysqldump%2F&amp;linkname=MySQL%3A%20Take%20a%20Table%20Backup%20or%20Ignore%20few%20Tables%20in%20a%20Backup" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-table-backup-or-ignore-few-tables-in-a-backup-mysqldump%2F&amp;linkname=MySQL%3A%20Take%20a%20Table%20Backup%20or%20Ignore%20few%20Tables%20in%20a%20Backup" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F07%2Fmysql-take-a-table-backup-or-ignore-few-tables-in-a-backup-mysqldump%2F&#038;title=MySQL%3A%20Take%20a%20Table%20Backup%20or%20Ignore%20few%20Tables%20in%20a%20Backup" data-a2a-url="https://www.dbrnd.com/2017/07/mysql-take-a-table-backup-or-ignore-few-tables-in-a-backup-mysqldump/" data-a2a-title="MySQL: Take a Table Backup or Ignore few Tables in a Backup"></a></p><p>In this post, I am sharing a solution to take an only table or few tables backup in MySQL and also sharing solution like, How you can ignore few tables while taking a backup of MySQL Database. </p>
<p>In last year, I shared a basic article on how to take a backup of the database in MySQL, which also you can access here. </p>
<blockquote data-secret="6X4rlgyMMe" class="wp-embedded-content"><p><a href="https://www.dbrnd.com/2016/01/mysql-backup-and-restore-database-using-mysqldump/">MySQL: Backup and Restore Database using mysqldump</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2016/01/mysql-backup-and-restore-database-using-mysqldump/embed/#?secret=6X4rlgyMMe" data-secret="6X4rlgyMMe" width="600" height="338" title="&#8220;MySQL: Backup and Restore Database using mysqldump&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<blockquote><p>The copying data from one server to another, data migration, the backup requirement for specific data or object or stored procedure, data versioning &#8211;  These all are part of DBA&#8217;s day to day activity, and N number combinations are there.</p></blockquote>
<p>There are many options available for mysqldump utility, so I am using few options to play for table backup only. Let me explore few options related to table backup in MySQL. </p>
<p><strong>Take a backup of a single table:</strong></p>
<pre class="crayon-plain-tag">mysqldump -u <db_username> -p db_name table_name > table_name_backup.sql</pre> </p>
<p><strong>Take a backup of multiple tables:</strong></p>
<pre class="crayon-plain-tag">mysqldump -u &lt;db_username&gt; -p db_name table_name_1 table_name_2 table_name_3 &gt; tables_backup.sql</pre> </p>
<p><strong>Ignore a table from full database backup:</strong></p>
<pre class="crayon-plain-tag">mysqldump -u &lt;db_username&gt; -p db_name --ignore-table=db_name.table_name_1 &gt; db_backup.sql</pre> </p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PostgreSQL: How to take a backup of your Table?</title>
		<link>https://www.dbrnd.com/2017/02/postgresql-how-to-take-a-backup-of-your-table-pg_dump-pg_admin/</link>
					<comments>https://www.dbrnd.com/2017/02/postgresql-how-to-take-a-backup-of-your-table-pg_dump-pg_admin/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Mon, 06 Feb 2017 16:16:39 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[pg_dump]]></category>
		<category><![CDATA[pgAdmin]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[Postgres Query]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[PostgreSQL Administrator]]></category>
		<category><![CDATA[PostgreSQL Error]]></category>
		<category><![CDATA[PostgreSQL Monitoring]]></category>
		<category><![CDATA[PostgreSQL Performance Tuning]]></category>
		<category><![CDATA[PostgreSQL Programming]]></category>
		<category><![CDATA[PostgreSQL Tips and Tricks]]></category>
		<category><![CDATA[table backup]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=4478</guid>

					<description><![CDATA[Recently, I shared an article about copy your full database from one server to another server. PostgreSQL: Copy Database to another Server in Windows (pg_dump &#8211; backup &#038; restore) I found one question on PostgreSQL FB Group like &#8220;How to take a backup of a table in PostgreSQL.&#8221; You can do this exercise using pg_dump [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F02%2Fpostgresql-how-to-take-a-backup-of-your-table-pg_dump-pg_admin%2F&amp;linkname=PostgreSQL%3A%20How%20to%20take%20a%20backup%20of%20your%20Table%3F" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F02%2Fpostgresql-how-to-take-a-backup-of-your-table-pg_dump-pg_admin%2F&amp;linkname=PostgreSQL%3A%20How%20to%20take%20a%20backup%20of%20your%20Table%3F" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F02%2Fpostgresql-how-to-take-a-backup-of-your-table-pg_dump-pg_admin%2F&amp;linkname=PostgreSQL%3A%20How%20to%20take%20a%20backup%20of%20your%20Table%3F" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F02%2Fpostgresql-how-to-take-a-backup-of-your-table-pg_dump-pg_admin%2F&amp;linkname=PostgreSQL%3A%20How%20to%20take%20a%20backup%20of%20your%20Table%3F" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F02%2Fpostgresql-how-to-take-a-backup-of-your-table-pg_dump-pg_admin%2F&amp;linkname=PostgreSQL%3A%20How%20to%20take%20a%20backup%20of%20your%20Table%3F" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F02%2Fpostgresql-how-to-take-a-backup-of-your-table-pg_dump-pg_admin%2F&amp;linkname=PostgreSQL%3A%20How%20to%20take%20a%20backup%20of%20your%20Table%3F" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F02%2Fpostgresql-how-to-take-a-backup-of-your-table-pg_dump-pg_admin%2F&#038;title=PostgreSQL%3A%20How%20to%20take%20a%20backup%20of%20your%20Table%3F" data-a2a-url="https://www.dbrnd.com/2017/02/postgresql-how-to-take-a-backup-of-your-table-pg_dump-pg_admin/" data-a2a-title="PostgreSQL: How to take a backup of your Table?"></a></p><p>Recently, I shared an article about copy your full database from one server to another server. </p>
<blockquote data-secret="loPtmSAzyw" class="wp-embedded-content"><p><a href="https://www.dbrnd.com/2016/11/postgresql-copy-database-from-one-server-to-another-server-in-windows-pg_dump-utility-backup-restore-psql-tool/">PostgreSQL: Copy Database to another Server in Windows (pg_dump &#8211; backup &#038; restore)</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2016/11/postgresql-copy-database-from-one-server-to-another-server-in-windows-pg_dump-utility-backup-restore-psql-tool/embed/#?secret=loPtmSAzyw" data-secret="loPtmSAzyw" width="600" height="338" title="&#8220;PostgreSQL: Copy Database to another Server in Windows (pg_dump &#8211; backup &#038; restore)&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<p>I found one question on PostgreSQL FB Group like &#8220;How to take a backup of a table in PostgreSQL.&#8221;</p>
<p>You can do this exercise using pg_dump utility and pgAdmin tool. </p>
<p><strong>Using pgAdmin tool:</strong><br />
Right-click on a table and select backup option. In Dump Option window, you can find an option like backup Only schema, backup Only Data. Enter your file name path, select backup mode as plain text and take the backup of your table. You can restore this table in any database. </p>
<p>U<strong>sing psql, pg_dump utility:</strong></p>
<pre class="crayon-plain-tag">\9.5\bin&gt;pg_dump -U User_name -d database_name -t public.my_table &gt; f:\my_table.sql
Password:****</pre> </p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2017/02/postgresql-how-to-take-a-backup-of-your-table-pg_dump-pg_admin/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
	</channel>
</rss>
