How to Back Up and Restore Ratals Before Updating or Upgrading
Author: Rob CuppettPosted On: Apr. 24, 2026Last Updated: May. 01, 2026
Before performing any update or upgrade to your Ratals software, it is highly recommended that you create a full backup of both your database and your files. During updates, core files and database structures may be modified. While updates are designed to run smoothly, there is always a risk that something could go wrong due to server configuration, permissions, or unexpected interruptions.
Having a complete backup ensures that you can quickly restore your system to its previous working state if needed. In this guide, we'll walk through not only how to create backups, but also how to fully restore your system if an issue occurs.
This guide is broken into two main sections: using cPanel and using SSH. Each section includes steps for backing up and restoring both your database and files.
We'll first go over how to back up and restore your system using cPanel. Keep in mind that phpMyAdmin does have size limitations for both exporting and importing databases, which can vary depending on your server configuration. If your database is large, you may run into timeouts or file size restrictions during this process. If that happens, you'll likely need to use SSH instead, as command-line tools typically do not have the same limitations and are better suited for handling larger backups and restores.
Backing up your database
Log into your cPanel account.
Navigate to phpMyAdmin.
In the left sidebar, select the database used by your Ratals installation.
Click the Export tab at the top.
Choose Quick export method and ensure the format is set to SQL.
Click Go to download your database backup.
Save this file in a secure location. This file contains all your system data and is required if you need to restore your database.
Backing up your files
In cPanel, open the File Manager.
Navigate to your Ratals installation directory (commonly public_html or a subfolder).
Select all files and folders inside your Ratals directory.
Click Compress and choose ZIP Archive.
Once compression is complete, download the ZIP file to your local computer.
This archive contains all system files, uploads, and configurations needed to fully restore your installation.
Important: To be able to revert back, you must have completed the backup process beforehand. If you did not create a backup of your database and files, your hosting provider may have them available, but you will need to check with them directly.
Reverting back to your backed up database
Log into cPanel and open phpMyAdmin.
Select your Ratals database from the left sidebar.
Click the Import tab.
Click Choose File and select your previously downloaded SQL backup.
Click Go to begin the import.
This will overwrite your current database with the backed-up version. Once complete, your database will be restored to its previous state.
Reverting back to your backed up files
Open File Manager in cPanel.
Navigate to your Ratals installation directory.
Delete or rename the current files (recommended: rename for safety).
Upload your backup ZIP file.
Extract the ZIP archive into the same directory.
Once extracted, your file system will be restored to the previous version.
Next, we'll go over how to perform the same process using SSH for users who prefer command-line access.
SSH
For users who have SSH access, backing up and restoring your Ratals installation can be faster and more reliable - especially for larger databases and file sets. Unlike browser-based tools, SSH allows you to work directly on the server without common size or timeout limitations. Below, we'll walk through how to back up your database using command-line tools.
Backing up your database
To back up your database via SSH, use the mysqldump command. Make sure to replace username and database_name with your actual database username and database name. The command:
To back up your Ratals files, navigate to your installation directory and run:
tar -czvf ratals-backup.tar.gz /path/to/your/ratals_installation_files
This creates a compressed archive of your entire installation.
Important: To be able to revert back, you must have completed the backup process beforehand. If you did not create a backup, your hosting provider may have one available, but you will need to check with them.
Reverting back to your backed up database
To restore your database from a backup file, run:
mysql -u username -p database_name < backup.sql
This command will overwrite your current database with the contents of your backup file.
Reverting back to your backed up files
Navigate to your web root directory.
Remove or rename your current Ratals files:
mv ratals ratals_old
Extract your backup archive:
tar -xzvf ratals-backup.tar.gz
This will restore your files to their previous state.
Backup Best Practices Before Updating
Creating backups before updating Ratals is one of the most important steps you can take to protect your data and ensure system stability. Whether you use cPanel or SSH, the goal is the same: always have a reliable restore point.
Taking a few minutes to back up your system can save hours of troubleshooting and prevent potential data loss. Make it a habit to back up before every update, and you'll always have a safety net in place.
Rob Cuppett is the founder and lead engineer behind Ratals, bringing over 20 years of experience in digital marketing, software development, and business automation. He shares expert tutorials, practical guides, and insights to help business owners optimize, customize, and fully leverage software solutions to grow their businesses efficiently.
About Ratals
Rob Cuppett is the visionary founder and lead engineer behind Ratals Inc., the groundbreaking software platform designed to revolutionize how businesses operate.
Rob's journey into the digital world began in 2001, during a time when resources on starting...