This guide is for Ubuntu only. For Linux Mint, click on “Mint”, or for different distros such as Arch, Debian, Pop-OS, PureOS, etc, click “Other Linux” below.
Check out the video below, and follow along with the steps in this guide to setup a LAN Shared folder on your Linux machine, such that you may create encrypted, private backups of all your Embassy data.
Install Samba if you have not already:
sudoaptinstallsamba&&sudosystemctlenablesmbd
Add your user to samba, replacing YOUR_LINUX_USERNAME with your Linux username.
sudosmbpasswd-aYOUR_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) 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 your EmbassyUI
(Optional) Create a description in the “Comment” section
Check the box for “Allow others to create and delete files in this folder”, then click “Create Share”
Click “Add Permissions Automatically”
Install Samba if you have not already:
sudoaptinstallsamba&&sudosystemctlenablesmbd
Add your user to samba, replacing YOUR_LINUX_USERNAME 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. embassy-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 your EmbassyUI. In this example, we call it backup-share
(Optional) Create a description in the “Comment” section
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/embassy-backup
Configure Samba by adding the following to the end of the /etc/samba/smb.conf file: