Remote backups under N99panel

Before setting remote backups, please checkout the following important points and the concept of executing a successful backup strategy :\

To setup remote backups, follow these steps

Step 1 : Setup a Linux based backup server. Setup a user account on that server. Broadly speaking, you will need to the following (N99panel team is willing to help, if you find this step is daunting)

SSH into the backup server with root access or administrative access.

Add a user using the command 'adduser' if the server is Debian or its variant. Use the 'useradd' command if the server is Redhat/CentOS variant.

Now log into the backup server with the user you have created.

Make .ssh directory using the mkdir command, if the directory does not exist.

mkdir .ssh

The above command will be run assuming you are in the directory /home/user

Also ensure it has 700 permission , this you can do by running the command

chmod 700 .ssh

Now we have to make/setup authorized_keys file. Here we change into the .ssh directory

cd .ssh

And create the authorized_keys file (if not already existing) using nano, pico or a vi editor (please Google on how to use these editors), and paste the SSH key provided under the menu Dashboard » Remote Backups » Backups Servers » Add a Backup Server.

Ensure that the authorized_keys file has 600 permission. This you can make sure using the command

chmod 600 authorized_keys

Step 2 : Add the backup server details in N99panel using the following navigation

Dashboard » Remote Backups » Backups Servers » Add a Backup Server

After adding a backup server, you should also do a 'Health Check' for the same in order to ensure that it can be used for backups

Step 3 : Add the backup marker (one or multiple) using the following navigation

Dashboard » Remote Backups » Backups Markers/Identifier » Add a Backup Marker

A backup marker/identifier is a point of backup. The space used on your backup server will be the total space used by the N99panel users multiplied by number of backup markers. For. e.g. if the space utilized by your N99panel users is 30 GB, and if you have 3 backup markers/identifiers, the total space used at the backup server will be 90 GB.

The cron job (automated task job) on the N99panel VPS with try running backups to a backup marker based on the frequency (in days), the number of backup markers and the internal counter.

The parameters w.r.t. frequency (in days), cron timing and resetting of internal counter can be done from within

Dashboard » Remote Backups » Backup Parameters

You can also manually push a backup.



To pull a backup, follow the navigation

Dashboard » Remote Backups » Pull a Backup

W.r.t. pulling a backup, you are provided with 3 options



To sum it up, Remote Backups functionality does the heavy lifting of backing the data by providing a multitude of options.