I need to do an automatisation of the backup of our MariaDB service from an Linux Ubuntu server.
The connexion to the service must pass through the cloud foundry service connector which create a secured tunnel.
For example : cf service-connector 13000 10.0.20.18:3306
My problem is that this command is blocking the command line, so I don’t know how to launch this command AND then connecting to the database. I have tried to run the command in background with ‘nohup’ without success.
Is there a solution for automatic connexion to the mariaDB service ?
Thank you,
Romain