On the server management screen within Ottomatik there is a uniquely generated bash script that, when ran on your command line, will walk you through the process of setting up your SSH Key and software dependencies. This is by far the easiest way to configure a server to work on Ottomatik. The script does the following:
Note: This script makes several webhook requests to Ottomatik and will dynamically update your website UI without your needing to take additional steps.
Pro Tip: If you are adding a decent number of servers being prompted by the script can be time consuming. If you like, you can add your database name as an additional argument to the script (paste the cmd, add a space, type the db name, hit enter) and not be prompted at all. The script will automatically do the tasks above without prompting you. Note this WILL restart mysql.
If you'd like to avoid having Ottomatik install the backup task dependencies below you can manually install them yourself. Here are some notes on the installation of each requirement.
When you create a server on Ottomatik a SSH public key will be provided. You must append this key to the ~/.ssh/authorized_keys file for each user you'll be using (in the "SSH User" field on the server record) to connect over SSH with when running a backup.
After installing the key, select the "Update Status" button in Ottomatik, shown on the same page where the SSH public key is displayed. Ottomatik will then verify successful ssh connectivity and update the status of the server to "success".
sudo curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
sudo python get-pip.py
sudo pip install awscli
sudo pip install certifi
sudo pip install colorama
sudo pip install python-dateutil
sudo pip install futures