Jelastic is a "Multi-Cloud PaaS with Full Interoperability" - you can use SimpleBackups to back up your files, and databases on Jelastic cloud.
You already know that, typically, Jelastic does not expose server nodes (instances) to the public. In order to SSH into a node, you pass through an SSH gateway first, which then allows you to access a particular node.
In the example below, we will be exploring how to connect SimpleBackups to a MySQL node, in order to create hourly database backups.
Here is a step by step on how to do it:
Login to your Jelastic admin and add SimpleBackups RSA public key
Next to the node you want to back up, copy over the direct SSH access details as shown below (you will need the host, username, and port):
Go to https://my.simplebackups.io/server/create and copy the quick install command and add the following to the end of it
-s interact (if it is not added)
(this will have the install command ask you to enter your server details which we collected in Step 2 above.
When asked about a an ops/operations directory, you need to use a directory where you have read and write access to. Maybe
/home/jelastic is an option, depending on the.
Important: when you are asked about which SSH key should be used with your server, you need to type
rsa - this will instruct SimpleBackups to use the RSA key you added to Jelastic.