at first install a cent os web panel on your vps or server . then go to Backup Configuration . in Remote Backup Settings section give your remote server ip , ssh port , user name . After that you have to add a ssh pub key on the remote backup server after that please follow this instruction below .
change the USERNAME with the existing username on the remote server, it’s not recommended to use the root user.
To Enable remote backup in your CWP.admin go to CWP Settings –> Backup Configuration
You will need to enter the login details into the fields of “Remote Backup Settings”
Don’t forget to generate the new remote access Key.
On the remote backup server you need to add the pub key
cd ~USERNAME
mkdir .ssh
chmod 700 .ssh
nano .ssh/authorized_keys
Now add all content from the file /root/.ssh/backup/id_rsa.pub to .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
chown -R USERNAME:USERNAME .ssh
chown USERNAME:USERNAME .ssh/authorized_keys
You can use test connection button in CWP.admin to check connectivity with the remote backup server.