Backup Ninja for cPanel Users: Database Recovery

Backup Ninja for cPanel Users: Database Recovery

Profile picture for user LukasVileikis
Lukas Vileikis
01 June 2021

 

If you are a developer, chances are that you have heard of cPanel. cPanel is a web hosting control panel software that provides a GUI designed to simplify the process of hosting a website to the end user. In this blog post we are going to look at cPanel from another perspective - we are going to talk about how Backup Ninja can relate to cPanel in certain situations.

cPanel for Backups

Now that you know why developers use cPanel in the first place, you should probably know how to use cPanel to achieve your backup goals. The backup section of cPanel can be found at the very top of the page once you are logged in:

cPanel for Backups

You can see that you have a Backup and Backup Wizard links. Click on the Backup link and you should see a page that lets you to download a full account backup (a full backup creates an archive of all of your website’s files and configuration and it can be used to move your cPanel account to another server or just to keep a local copy of your files), a partial backup that lets you download or restore a backup of your home directory or MySQL database etc.

Backup Wizard, on the other hand, should look something like this:

Backup Wizard for cPanel

As you can already see, the cPanel Backup Wizard allows you to back up your home directory, MySQL databases, also email forwarder or filter configurations.

Backing up the data you have in cPanel is extremely important - if your data becomes corrupted, database crashes or you become a victim of any kind of other data-related issue, cPanel backup wizards can save the day. cPanel can be really useful when performing disaster recovery quickly - simply click Restore, restore your backup files and you’re done! Isn’t that easy?

Backup Ninja to the Rescue

Now that you know how you can utilize cPanel for your backup goals, it’s probably time to move into what Backup Ninja can offer in this space as well. Aside from the fact that Backup Ninja can help you backup your MySQL, PostgreSQL, MariaDB, MongoDB, Percona and TimescaleDB instances it can also provide you with some assistance as far as cloud storage is concerned too.

Backup Ninja lets you store your database backups on-premises or you can even ship your backups to an Amazon S3 storage if you so desire. To do that, perform the following steps:

  1. Log in to your Backup Ninja account.
  2. Click Schedules on the left hand side, then Schedule Backup on the right.Scheduling Backups

     

  3. Define your schedule details. Choose a backup method, select your server, select your backup type, select whether you want to enable PITR or not and whether you want to backup a database per file:Details

     

  4. Now select where you want to store your backups. We want to store them on the cloud, so we will select the cloud option:Backup Ninja - Storages

     

  5. Configure your S3 instance. Provide the access and secret keys, also the bucket name:Backup Ninja - AWS

     

  6. Finally, schedule the backup and you should be good to go!

Scheduling your backups with Backup Ninja can be a really helpful tool in your shed once you need to perform disaster recovery - schedule your backup on an S3 storage and you should be good to go!

Summary

If you are a cPanel user, you are probably already familiar with what it has to offer. cPanel can also offer a lot of features in the backup space helping you avoid data-related issues and other hiccups. However, if you use Backup Ninja, it can make your life easier because you can schedule your backups pertaining to all kinds of technologies (MySQL, PostgreSQL, MariaDB, MongoDB, Percona or even TimescaleDB) and even ship them to S3 storage.

Tags