Connecting a private database

This tutorial explains how to back up a a private server/database using SimpleBackups + Tailscale, allowing for secure backup without exposing the database to the internet.

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.

Prerequisites

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.
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
 
Share your database/server access with SimpleBackups
Share your database/server access with SimpleBackups

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
Generate an invite link for SimpleBackups
Generate an invite link for SimpleBackups

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.

 
Notion image

Conclusion

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.

Did this answer your question?
😞
😐
🤩

Last updated on April 10, 2023