Hello dear customer! Whether you are a long-time website owner or just beginning your online journey, knowing how to back up your website's data is crucial. We understand that not all hosting plans offer the cPanel backup option. No worries! We're here to guide you on backing up your files using other reliable methods such as the cPanel File Manager and FTP. Additionally, we will walk you through backing up your MySQL databases using phpMyAdmin.
But before we get into the details, let's remind you why local backups are essential. You can learn more about this crucial step here.
Part 1: Backing Up Your Files Using cPanel File Manager
- Start by logging into your cPanel account. In the search bar at the top of the page, type "File Manager" and click on the icon.
- Inside the File Manager, you'll find the public_html folder. This is the main folder for your website. Right-click on it and select "Compress" to create a ZIP file of your website's data.
- Choose the location where you want to save this ZIP file and give it a name you can easily remember. Click on "Compress File(s)".
- Once the process is complete, go to where you saved the ZIP file. Right-click and select "Download". The compressed file will now be saved onto your local machine.
Please remember storing your backups in your hosting space is not advisable.
Part 2: Backing Up Your Files Using FTP
- To use FTP, you'll need an FTP client. FileZilla is a commonly used client that you can download for free.
- Open your FTP client and connect to your web server using your FTP login credentials. You can usually find these in your hosting account or contact our support team for assistance if you need to know these.
- Once connected, you'll see the files on your server. Please navigate to the public_html folder and download it to your local machine.
Part 3: Backing Up MySQL Databases Using phpMyAdmin
- In your cPanel account, search for phpMyAdmin and click the icon to open it.
- On the left side, you will see your databases. Click on the one you want to back up.
- Then click on the "Export" tab at the top. Choose the "Quick" export method and "SQL" format. Click "Go". This will save a .sql file on your local machine.
Learn more about how to take MySQL backups using cPanel here.
Also, remember it's a good idea to perform backups regularly, not just when moving your site. We at HosterPK also provide courtesy backups using JetBackups, which you might find helpful.
Restoring Your Backup on a New Hosting Account
Restoring your website from a backup is just as simple. Here are the basic steps you'll follow:
- Log into your new hosting account.
- For files, you can use either the cPanel File Manager or FTP to upload the ZIP file or the public_html folder you downloaded earlier.
- For databases, go to phpMyAdmin, create a new database, and click on the "Import" tab. Upload the .sql file you exported earlier.
- Finally, update your website's configuration file with your new database name, username, and password.
Remember, our support team is always here to assist you if you need help during these steps. Your online success is our mission!
If your cPanel has the backup option, use this step-by-step guide. Please follow this guide to take backups for those using the Plesk panel.
We hope you find this article helpful. Keep it bookmarked for easy reference whenever you need to back up or restore your website data. Happy hosting!