Connecting a Private Database using Tailscale
Tailscale is a virtual private network (VPN) service that allows you to access resources on your private network securely. In this tutorial, we will guide you through the process of connecting a private database using Tailscale.
Before you begin, ensure that you have the following:
A Tailscale account and client installed on your device
Access to the private database you want to connect to
Administrative access to the device where Tailscale is installed
Steps to connect to a private database using Tailscale
1. Ensure that Tailscale is installed and running
You can follow do so by installing Tailscale easily https://tailscale.com/download/linux
Install Tailscale to allow SimpleBackups to back up your private databases and servers.
2. Grant server access to SimpleBackups
Click on Machines to see all your connected Tailscale servers
Click on the server where you want SimpleBackups to access
Click on Share as shown below
3. Create an invite link that can be shared
To allow SimpleBackups to connect to your private server/database, please follow these steps:
Click on "Generate & copy invite link" as shown below
Copy the invite link
Open a support ticket with us and share the link with us
4. Create your backup
Once your share access is accepted, you can proceed to create your backup using the private IP address assigned to your server/machine by Tailscale. You can select the Serverless backup option and choose Yes - Database publicly accessible.
In this tutorial, we have shown you how to connect to a private server/database using Tailscale. By following these steps, you can securely back up your database on a private network, without exposing it to the internet.