StormHoster - Reliable Web Hosting with 99.9% Uptime and 24/7 Support

Office #817, Al Hafeez Heights, Ghalib Road D1, Gulberg III, Lahore

How to Take a Backup from cPanel: Step-by-Step Guide

How to Take a Backup from cPanel: Step-by-Step Guide

<p>Backing up your website is essential for protecting your data. <strong>cPanel</strong> provides an easy way to back up both your website files and databases. In this guide, we�ll show you how to back up your website by first zipping all your files and downloading them, and then exporting your desired database using <strong>phpMyAdmin</strong>.</p>
<hr />
<h3><strong>Step 1: Zip All Files in File Manager and Download Them</strong></h3>
<p>To back up your website files, follow these steps:</p>
<ol>
<li>
<p><strong>Log in to cPanel</strong>:</p>
<ul>
<li>Open your <strong>Client Area</strong>: <a href="https://client.stormhoster.com/clientarea.php" target="_new" rel="noopener">Client Area Login</a>.</li>
<li>Click on <strong>Manage</strong> for the hosting account you want to back up.</li>
<li>Click the <strong>"Login to cPanel"</strong> button to access the <strong>cPanel</strong> dashboard.</li>
</ul>
</li>
<li>
<p><strong>Access File Manager</strong>:</p>
<ul>
<li>In <strong>cPanel</strong>, scroll down to the <strong>Files</strong> section.</li>
<li>Click on <strong>File Manager</strong> to open the file management interface.</li>
</ul>
</li>
<li>
<p><strong>Navigate to Your Website�s Root Directory</strong>:</p>
<ul>
<li>Once inside <strong>File Manager</strong>, navigate to the <strong>public_html</strong> directory (or the root directory where your website files are stored).</li>
</ul>
</li>
<li>
<p><strong>Select All Files</strong>:</p>
<ul>
<li>Click <strong>Select All</strong> from the top of the <strong>File Manager</strong> interface to select all files in the folder.</li>
</ul>
</li>
<li>
<p><strong>Compress the Files</strong>:</p>
<ul>
<li>With all the files selected, click on the <strong>Compress</strong> button at the top of the <strong>File Manager</strong> interface.</li>
<li>In the pop-up, choose <strong>Zip Archive</strong> and click <strong>Compress File(s)</strong>.</li>
</ul>
</li>
<li>
<p><strong>Download the Zipped File</strong>:</p>
<ul>
<li>Once the compression is complete, a <strong>.zip</strong> file will be created in the <strong>public_html</strong> directory.</li>
<li>Right-click on the zip file and select <strong>Download</strong> to save it to your computer.</li>
</ul>
</li>
<li>
<p><strong>Store Your Backup</strong>:</p>
<ul>
<li>It�s advisable to store your downloaded backup on your local machine or external storage for safekeeping.</li>
</ul>
</li>
</ol>
<hr />
<h3><strong>Step 2: Export the Desired Database via phpMyAdmin</strong></h3>
<p>Next, you need to back up your <strong>MySQL</strong> database. Follow these steps to export your database:</p>
<ol>
<li>
<p><strong>Access phpMyAdmin</strong>:</p>
<ul>
<li>In <strong>cPanel</strong>, go to the <strong>Databases</strong> section.</li>
<li>Click on <strong>phpMyAdmin</strong> to open the database management interface.</li>
</ul>
</li>
<li>
<p><strong>Select the Database</strong>:</p>
<ul>
<li>On the left sidebar, find and click on the database associated with your website (the name of the database is typically found in your website's configuration file).</li>
</ul>
</li>
<li>
<p><strong>Export the Database</strong>:</p>
<ul>
<li>After selecting your database, click on the <strong>Export</strong> tab at the top of the phpMyAdmin interface.</li>
</ul>
</li>
<li>
<p><strong>Choose Export Method</strong>:</p>
<ul>
<li>You will see two export options: <strong>Quick</strong> and <strong>Custom</strong>.
<ul>
<li><strong>Quick</strong>: Exports the entire database in a simple format.</li>
<li><strong>Custom</strong>: Allows you to select specific tables and options for the export.</li>
</ul>
</li>
<li>For most users, the <strong>Quick</strong> option is sufficient. Select <strong>Quick</strong> and leave the export format as <strong>SQL</strong>.</li>
</ul>
</li>
<li>
<p><strong>Download the Exported Database</strong>:</p>
<ul>
<li>Click the <strong>Go</strong> button to begin the export process.</li>
<li>The database will be downloaded as an <strong>.sql</strong> file, which you can store on your computer for safekeeping.</li>
</ul>
</li>
</ol>
<hr />
<h3><strong>Step 3: Store Your Backups Safely</strong></h3>
<p>Once you�ve backed up both your website files and database, make sure to:</p>
<ul>
<li><strong>Keep your backups in multiple locations</strong> (local storage, cloud storage, or external hard drives) to ensure the safety of your data.</li>
<li><strong>Label your backups</strong> with the date and the website or database they correspond to, so you can easily identify them in case you need to restore them later.</li>
</ul>
<hr />
<h3><strong>Conclusion</strong></h3>
<p>By following these steps, you can create a complete backup of your website, including both files and databases. Regular backups are essential for website maintenance and ensure that you can quickly restore your website in case of any issues.</p>
<p>If you ever need assistance with backing up or restoring your data, feel free to reach out to <strong>StormHoster�s 24/7 Support Team</strong> for help!</p>

Article Categories

cPanel (2)
Read Articles
Email Accounts (1)
Read Articles