<?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>restore Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/restore/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 17 Oct 2019 20:24:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to create and restore a System Image Backup on Windows 10.</title>
		<link>https://www.osradar.com/how-to-create-and-restore-a-system-image-backup-on-windows-10/</link>
					<comments>https://www.osradar.com/how-to-create-and-restore-a-system-image-backup-on-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[Roger Polanco]]></dc:creator>
		<pubDate>Tue, 10 Sep 2019 00:11:39 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[system image backup]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">http://www.googez.com/?p=1121</guid>

					<description><![CDATA[<p>Hi, I hope you&#8217;re all right. Windows 10 is the most used operating system worldwide. Within that universe of users, there is a wide variety of consumers. Indeed, there is an occasional user who needs the computer for basic activities. He usually has little technical knowledge and is limited to using his computer as it [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-create-and-restore-a-system-image-backup-on-windows-10/">How to create and restore a System Image Backup on Windows 10.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi, I hope you&#8217;re all right. Windows 10 is the most used operating system <a rel="noreferrer noopener" aria-label="worldwide (opens in a new tab)" href="https://www.computerworld.com/article/3199373/windows-by-the-numbers-windows-10-user-share-surges-as-loafers-heed-impending-deadline.html" target="_blank">worldwide</a>. Within that universe of users, there is a wide variety of consumers. Indeed, there is an occasional user who needs the computer for basic activities. He usually has little technical knowledge and is limited to using his computer as it is. On the other hand, there is the average user who is aware of the performance of their system.  Now, the stability of the system is a concern of any user.  As a matter of fact, there are different methods to recover the system from a malfunction. In this opportunity, we are going to talk about a system image backup. This method allows you to make an integrated copy of all the information available on a disk, including partitions and the boot sector. It also integrates the configurations and applications made within the operating system. For that reason, let&#8217;s see how to create and restore a system image backup.</p>



<h2>How to create a System Image Backup</h2>



<p>The first thing we need to do is go inside the control panel. With this in mind, type <strong>control </strong>into the search bar</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img.jpg" alt="Type control on the search bar" class="wp-image-1132"/><figcaption>Type control on the search bar</figcaption></figure>



<p>Once inside the control panel, go to <em>Backup and Restore (Windows 7)</em>.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img2-1-1024x548.jpg" alt="Control Panel&gt;Backup and Restore (Windows 7)" class="wp-image-1134"/><figcaption>Control Panel&gt;Backup and Restore (Windows 7)</figcaption></figure>



<p>In the next window, select in the left column the option <em>create a system image</em></p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img3-1024x548.jpg" alt="Select create a system image" class="wp-image-1135"/><figcaption>Select create a system image</figcaption></figure>



<p>Next, a wizard will be displayed, in which you must select the location where the backup will be saved. It can be on a hard drive, on one or more DVDs or at a network location. In this case, we will choose the hard drive and press <em>Next </em>to continue the procedure.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img4.jpg" alt="Selecting the drive to place the backup " class="wp-image-1136"/><figcaption>Selecting the drive to place the backup </figcaption></figure>



<p>Next, you must confirm the location of the backup and its size. In addition, the system to be backed up is indicated. Press <em>Start Backup </em>to begin the job.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img5.jpg" alt="Confirm parameters and start backup" class="wp-image-1137"/><figcaption>Confirm parameters and start backup</figcaption></figure>



<p>In addition, a window will warn that the procedure is started with the backup on the drive.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img6.jpg" alt="Creating a system image" class="wp-image-1138"/><figcaption>Creating a system image</figcaption></figure>



<p>The backup process will take time depending on the size of the disk, installed applications and files. Once the process is finished, the wizard will ask if you want to create a system repair disc. For now, we say no.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img7.jpg" alt="Do not create a system repair disc" class="wp-image-1139"/><figcaption>Do not create a system repair disc</figcaption></figure>



<p>Finally, the wizard warns that the process has been completed and the backup is successful.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img8.jpg" alt="The system has completed the backup" class="wp-image-1140"/><figcaption>The system has completed the backup</figcaption></figure>



<p>You can check that the copy has been made successfully by entering the destination disk.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img9-1024x548.jpg" alt="You can see the folder backup" class="wp-image-1141"/><figcaption>You can see the folder backup</figcaption></figure>



<h2>How to restore Windows 10 using a System Image Backup.</h2>



<p>Now, if the system fails, we can restore it using the previously created system image. With this in mind, we need to enter windows settings. To do that, click on the windows symbol, and then on the toothed wheel.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img10.jpg" alt="Entering to windows settings" class="wp-image-1142"/><figcaption>Entering to windows settings</figcaption></figure>



<p>Once inside settings, please go to <em>Update and Security</em></p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img11-1024x548.jpg" alt="Go to Update and Security" class="wp-image-1143"/><figcaption>Go to Update and Security</figcaption></figure>



<p>In the next window, go to the <em>Recovery</em> option on the left.  Then, into <em>Advanced Setup</em>, please select <em>Restart Now</em></p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img-1.jpg" alt="Into recovery, select restart now" class="wp-image-1150"/><figcaption>Into recovery, select restart now</figcaption></figure>



<p>Immediately, the system will reboot and we will be in the reboot menu. There we need to enter <em>Troubleshoot</em>.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/photo_2019-09-09_16-16-59-1024x767.jpg" alt="" class="wp-image-1152"/><figcaption>Please choose Troubleshoot</figcaption></figure>



<p>Inside Troubleshoot are the options <em>Reset this PC </em>and <em>Advanced Options</em>. Select Advanced Options</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/photo_2019-09-09_15-53-18-1024x767.jpg" alt="Troubleshoot&gt;Advanced options" class="wp-image-1151"/><figcaption>Troubleshoot&gt;Advanced options</figcaption></figure>



<p>Once in the <em>Advanced Options</em> menu, select <em>System Image Recovery</em></p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img2-2-1024x767.jpg" alt="Select System Image Recovery" class="wp-image-1153"/><figcaption>Select System Image Recovery</figcaption></figure>



<p>Then we must validate the user account, entering the password.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/photo_2019-09-09_19-24-41-1024x767.jpg" alt="Enter the account password" class="wp-image-1162"/><figcaption>Enter the account password</figcaption></figure>



<p>In the following menu, the wizard will search for images of available systems. You can choose the most recent or any other created. In this case, select <em>a system image</em>.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/img3-1-1024x767.jpg" alt="Selecting a system image backup" class="wp-image-1154"/><figcaption>Selecting a system image backup</figcaption></figure>



<p>Then we will see the data of the image to restore: Date, location, time and system to recover.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/photo_2019-09-09_17-02-31-1024x767.jpg" alt="Select the system image to restore" class="wp-image-1155"/><figcaption>Select the system image to restore</figcaption></figure>



<p>In the following window, confirm the image to recover.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/photo_2019-09-09_17-20-18-1024x767.jpg" alt="Confirm the system image to restore" class="wp-image-1156"/><figcaption>Confirm the system image to restore</figcaption></figure>



<p>Once the system image is confirmed, we will be able to choose some additional options. Thereupon, there is the option to format and repartition existing disks to fit the system image. It is also possible to install additional drivers to ensure the reading of the system image.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/photo_2019-09-09_17-32-34-1024x767.jpg" alt="Additional restore options" class="wp-image-1157"/><figcaption>Additional restore options</figcaption></figure>



<h2>Starting the restore</h2>



<p>All right, once the requirements are met, we must confirm the restoration. Please note that this process should not be interrupted as the system may become unusable.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/photo_2019-09-09_17-46-25-1024x767.jpg" alt="Confirm the restore" class="wp-image-1158"/><figcaption>Confirm the restore</figcaption></figure>



<p>A warning sign will indicate that all the data present on the disk will be replaced with the data present in the system image. Press <em>yes </em>to continue</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/photo_2019-09-09_18-10-04-1-1024x767.jpg" alt="Press yes to start te restore" class="wp-image-1160"/><figcaption>Press yes to start te restore</figcaption></figure>



<p>The process will begin and may take from a few minutes to a few hours, depending on the size of the image. Please note that if you interrupt the procedure, you may permanently damage the system. Once the restoration is complete, the system will reboot with the settings contained in the system image.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/09/photo_2019-09-09_19-22-29-1024x767.jpg" alt="Restoring system image backup running" class="wp-image-1161"/><figcaption>Restoring system image backup running</figcaption></figure>



<p>In the final analysis, today we have learned to create a backup system image. In addition, we saw how to restore the system using a backup system image. This tool is very useful since it allows us to recover a system after a serious failure. It also includes all files, settings and even disk partitions. So we can ensure system stability. I hope you enjoyed the article. Don&#8217;t forget to read our post about enabling <a rel="noreferrer noopener" aria-label="features (opens in a new tab)" href="http://www.googez.com/how-to-enable-disable-windows-10-features/" target="_blank">features</a> in Windows 10. Please join our channel on Telegram</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-create-and-restore-a-system-image-backup-on-windows-10/">How to create and restore a System Image Backup on Windows 10.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-create-and-restore-a-system-image-backup-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Making a Mysql database backup with Mysqldump</title>
		<link>https://www.osradar.com/making-a-mysql-database-backup-with-mysqldump/</link>
					<comments>https://www.osradar.com/making-a-mysql-database-backup-with-mysqldump/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 09 Sep 2018 11:17:32 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=5650</guid>

					<description><![CDATA[<p>A database is an elementary apart in the management of information within a company and is a vital component in information systems. Therefore, it is necessary to carry out operations that guarantee its optimal functioning. However, many times problems can occur that affect these data, so it is important to make constant backups of the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/making-a-mysql-database-backup-with-mysqldump/">Making a Mysql database backup with Mysqldump</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>A <strong>database</strong> is an elementary apart in the management of information within a company and is a vital component in information systems. Therefore, it is necessary to carry out operations that guarantee its optimal functioning. However, many times problems can occur that affect these data, so it is important to make constant backups of the database. If you use <a href="https://www.mysql.com/">MySQL</a> you will be able to do it without problems with <strong>mysqldump</strong>.</p>
<p>The <strong>mysqldump</strong> client utility performs logical backups, producing a set of SQL statements that can be executed to reproduce the original database object definitions and table data. It dumps one or more MySQL databases for backup or transfers to another SQL server.</p>
<h2>Basic use of Mysqldump</h2>
<p>The tool is a simple tool in its use but powerful for the possibilities and flexibility it offers you. Making a backup with mysqldump is really easy. I will show you:</p>
<ul>
<li><strong>Back up a single database:</strong></li>
</ul>
<p>This is the most basic form of use that mysqldump has. Thanks to this, I will backup a single database. Open a terminal and Run:</p>
<pre class="">:~# mysqldump -u root -p database &gt; output.sql</pre>
<p><figure id="attachment_5651" aria-describedby="caption-attachment-5651" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5651" src="https://www.osradar.com/wp-content/uploads/2018/09/1-3.png" alt="1.-Back up a single database" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/1-3.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/1-3-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/1-3-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/1-3-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/1-3-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/1-3-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/1-3-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5651" class="wp-caption-text">1.-Back up a single database with mysqldump</figcaption></figure></p>
<p>Please replace the name of the database with yours and output.sql with the name you want.</p>
<ul>
<li><strong>Make a backup of all databases:</strong></li>
</ul>
<p>But in some cases, I need to perform a Backup of all databases. To do this, run:</p>
<pre class="">:~# mysqldump -u root -p --all-databases &gt; output.sql</pre>
<p><figure id="attachment_5652" aria-describedby="caption-attachment-5652" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5652" src="https://www.osradar.com/wp-content/uploads/2018/09/2-3.png" alt="2.- Making a backup of all databases" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/2-3.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/2-3-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/2-3-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/2-3-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/2-3-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/2-3-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/2-3-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5652" class="wp-caption-text">2.- Making a full backup with mysqldump</figcaption></figure></p>
<p>Don&#8217;t forget to replace output with the name you want for your backup.</p>
<ul>
<li><strong>Back up multiple databases</strong></li>
</ul>
<p>And at other times, I need to perform backups of certain databases.</p>
<pre class="">:~# mysqldump -u root -p --databases database1 database2 &gt; output.sql</pre>
<p><figure id="attachment_5653" aria-describedby="caption-attachment-5653" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5653" src="https://www.osradar.com/wp-content/uploads/2018/09/3-3.png" alt="3.- Makiing a backup with mysqldump of some databases" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/3-3.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/3-3-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/3-3-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/3-3-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/3-3-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/3-3-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/3-3-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5653" class="wp-caption-text">3.- Making a backup with mysqldump of some databases</figcaption></figure></p>
<p>Again, I remind you to replace the data.</p>
<h2>Common mysqldump options</h2>
<p>There are many options to modify the execution of mysqldump, however, you can access them through the terminal</p>
<pre class="">:~# mysqldump --help</pre>
<p><figure id="attachment_5654" aria-describedby="caption-attachment-5654" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5654" src="https://www.osradar.com/wp-content/uploads/2018/09/4-4.png" alt="4.- Showing mysqldump help" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/4-4.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/4-4-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/4-4-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/4-4-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/4-4-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/4-4-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/4-4-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5654" class="wp-caption-text">4.- Showing mysqldump help</figcaption></figure></p>
<p>Here, I&#8217;ll show them to you with a brief description:</p>
<p>&#8211;compatible=nameChange the dump to be compatible with a given mode. By default tables are dumped in a format optimized for MySQL</p>
<table>
<tbody>
<tr>
<th style="text-align: center;" colspan="2" align="center">mysqldump options</th>
</tr>
<tr>
<td>Option</td>
<td>Description</td>
</tr>
<tr>
<td>-A, &#8211;all-databases</td>
<td>Dump all the databases</td>
</tr>
<tr>
<td>-Y, &#8211;all-tablespaces</td>
<td>Dump all the tablespaces</td>
</tr>
<tr>
<td>-y, &#8211;no-tablespaces</td>
<td>Do not dump any tablespace information</td>
</tr>
<tr>
<td>&#8211;add-drop-database</td>
<td>Add a DROP DATABASE before each create.</td>
</tr>
<tr>
<td>&#8211;add-drop-table</td>
<td>Add a DROP TABLE before each create.</td>
</tr>
<tr>
<td>-c, &#8211;complete-insert</td>
<td>Use complete insert statements</td>
</tr>
<tr>
<td>-C, &#8211;compress</td>
<td>Use compression in server/client protocol</td>
</tr>
<tr>
<td>-B, &#8211;databases</td>
<td>Dump several databases</td>
</tr>
<tr>
<td>-E, &#8211;events</td>
<td>Dump events</td>
</tr>
<tr>
<td>-F, &#8211;flush-logs</td>
<td>Flush logs file in server before starting dump</td>
</tr>
<tr>
<td>&#8211;flush-privileges</td>
<td>Emit a FLUSH PRIVILEGES statement after dumping the mysql database</td>
</tr>
<tr>
<td>-f, &#8211;force</td>
<td>Continue even if we get an SQL error</td>
</tr>
<tr>
<td>-h, &#8211;host=name</td>
<td>Connect to host</td>
</tr>
<tr>
<td>&#8211;ignore-table-name</td>
<td>Do not dump the specified table</td>
</tr>
<tr>
<td>-p, &#8211;password[=name]</td>
<td>Password to use when connecting to server</td>
</tr>
<tr>
<td>-P, &#8211;port=#</td>
<td>Port number to use for connection</td>
</tr>
<tr>
<td>&#8211;ssl</td>
<td>Enable SSL for connection</td>
</tr>
<tr>
<td>-u, &#8211;user=name</td>
<td>User for login if not current user</td>
</tr>
<tr>
<td>-v, &#8211;verbose</td>
<td>Print info about the various stages.</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>Of course, there are other options, but their use is less frequent.</p>
<p>As I said, mysqldump is a wonder and also allows you to compress the backup using gzip.</p>
<pre class="">:~#  mysqldump -u root -p --all-databases | gzip &gt; backup.sql.gz</pre>
<p><figure id="attachment_5656" aria-describedby="caption-attachment-5656" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5656" src="https://www.osradar.com/wp-content/uploads/2018/09/5-3.png" alt="5.- A backup with mysqldump using gzip" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/5-3.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/5-3-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/5-3-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/5-3-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/5-3-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/5-3-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/5-3-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5656" class="wp-caption-text">5.- A backup with mysqldump using gzip</figcaption></figure></p>
<p>Or, connect to a host:</p>
<pre class="">:~# mysqldump -h IP -u root -p --routines --all-databases  &gt; output.sql</pre>
<p><figure id="attachment_5657" aria-describedby="caption-attachment-5657" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5657" src="https://www.osradar.com/wp-content/uploads/2018/09/6-3.png" alt="6.- Connecting to a host to making a backup" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/6-3.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/6-3-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/6-3-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/6-3-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/6-3-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/6-3-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/6-3-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5657" class="wp-caption-text">6.- Connecting to a host to making a backup</figcaption></figure></p>
<h2>Restore a backup</h2>
<p>If the backup contains only one database and does not contain &#8216;drop database&#8217; and &#8216;create database&#8217; statements, then the database where the restoration should be performed can be indicated:</p>
<pre class="">:~# mysql -u root -p  database &lt; backup.sql</pre>
<p><figure id="attachment_5658" aria-describedby="caption-attachment-5658" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5658" src="https://www.osradar.com/wp-content/uploads/2018/09/7-4.png" alt="7.- Restoring a backup" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/7-4.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/7-4-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/7-4-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/7-4-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/7-4-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/7-4-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/7-4-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5658" class="wp-caption-text">7.- Restoring a backup</figcaption></figure></p>
<p>Or, if the backup is total, you can restore it as follows:</p>
<pre class="">:~# mysql -u root -p &lt; backup.sql</pre>
<p><figure id="attachment_5659" aria-describedby="caption-attachment-5659" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5659" src="https://www.osradar.com/wp-content/uploads/2018/09/8-3.png" alt="8.- Restoring a full backup" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/8-3.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/8-3-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/8-3-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/8-3-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/8-3-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/8-3-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/8-3-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5659" class="wp-caption-text">8.- Restoring a full backup</figcaption></figure></p>
<p>As you can see making a backup with mysqldump is really simple but at the same time is very important so I recommend you to further examine the options for you to get the most out of this tool.</p>
<p>We want to know your opinion, have you used mysqldump? What is your favorite option?</p>
<p>Please spread this article through your social networks</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/making-a-mysql-database-backup-with-mysqldump/">Making a Mysql database backup with Mysqldump</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/making-a-mysql-database-backup-with-mysqldump/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
