This guide is for Ubuntu only. For Linux Mint, select “Mint”, or for different distros such as Arch, Debian, Pop-OS, PureOS, etc, select “Other Linux” below.
Check out the video below, and follow along with the steps in this guide to setup a Network Folder on your Linux machine, such that you may create encrypted, private backups of all your StartOS data.
Install Samba if you have not already:
sudoaptinstallsamba&&sudosystemctlenablesmbd
Add your user to samba, replacing $USER with your Linux username.
sudosmbpasswd-a$USER
First you will be prompted for your linux password, then you will be asked to create a new SMB password for the user with permission to write to your new backup share. Keep it somewhere safe, such as Vaultwarden.
Right-click the folder that you want to backup to (or create a new one) and click “Properties”
Select the “Local Network Share” tab
Click “Share this folder”
You may rename the “Share”, if you prefer - remember this name, you will need it later in the StartOS dashboard
(Optional) Create a description in the “Comment” section
In case your installation of Ubuntu is running a firewall by default or due to your own custom configuration, enter this command to allow connections to Samba. If it generates an error, you can safely ignore it:
sudoufwallowSamba
Install Samba if you have not already:
sudoaptinstallsamba&&sudosystemctlenablesmbd
Add your user to samba, replacing $USER with your Linux username.
First you will be prompted for your linux password, then you will be asked to create a new SMB password for the user with permission to write to your new backup share. Keep it somewhere safe, such as Vaultwarden.
Right-click the folder that you want to backup to (or create a new one, eg. start9-backup) and click “Sharing Options”
Enter a Share name consisting of 12 or fewer characters and click “Create Share”
You may rename the “Share”, if you prefer - remember this name, you will need it later in the StartOS dashboard. In this example, we call it backup-share
(Optional) Create a description in the “Comment” section
In case your installation of Mint is running a firewall by default or due to your own custom configuration, enter this command to allow connections to Samba. If it generates an error, you can safely ignore it:
sudoufwallowSamba
Install Samba if it is not already installed.
sudopacman-Ssamba For Arch
sudoaptinstallsamba For Debian-based distros (Pop-OS, PureOS, etc)
sudoyuminstallsamba For CentOS/Redhat
sudodnfinstallsamba For Fedora
Create a directory to share or choose an existing one and make note of its location (path). For this example, we will call the share backup-share and its corresponding shared directory will be located at /home/$USER/start9-backup. Replace $USER with your Linux username below.
mkdir-p/home/$USER/start9-backup
Note
If you are on Fedora 38+, you need to do an extra step to allow the Samba share in SELinux:
[backup-share] is the Share Name inside brakets, and can be called anything you’d like. We used backup-share in this example.
path should be the path to the directory you created earlier
Copy the remainder of the entry exactly as it is
Open a terminal and enter the following command, replacing $USER with your Linux username:
sudosmbpasswd-a$USER
This creates a password for the Local Network Share. Keep it somewhere safe, such as Vaultwarden.
In case your installation of Linux (Pop-OS users take special note!) is running a firewall by default or due to your own custom configuration, enter this command to allow connections to Samba. If it generates an error, you can safely ignore it: