Menu

Caution

You are not reading the latest stable version of this documentation. If you want up-to-date information, please have a look at 0.3.4.4.

Linux LAN Shared Folder

Setup LAN Shared Folder

Note

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.



  1. Install Samba if you have not already:

    sudo apt install samba && sudo systemctl enable smbd
    
  2. Add your user to samba, replacing YOUR_LINUX_USERNAME with your Linux username.

    sudo smbpasswd -a 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.

  3. Right-click the folder that you want to backup to (or create a new one) and click “Properties”

    ../../../_images/cifs-lin0.png
  4. Select the “Local Network Share” tab

    ../../../_images/cifs-lin1.png
  5. Click “Share this folder”

    ../../../_images/cifs-lin2.png
    • 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

  6. Check the box for “Allow others to create and delete files in this folder”, then click “Create Share”

    ../../../_images/cifs-lin3.png
  7. Click “Add Permissions Automatically”

    ../../../_images/cifs-lin4.png

Connect Embassy

  1. Go to Embassy > Create Backup.

    ../../../_images/embassy_backup.png
  2. Click “Open”.

    ../../../_images/embassy_backup0.png
  3. Fill in the following fields:

    • Hostname - This is the hostname of the machine that your shared folder is located on

    • Path - This is the “Share Name” (name of the share in your samba config) and not the full directory path. In this guide we used backup-share

    • Username - This is your Linux username on the remote machine that you used to create the shared directory

    • Password - This is the password you set above using smbpasswd

    ../../../_images/embassy_backup1.png
  4. Click “Save”.

That’s it! You can now Create encrypted, private backups of all your Embassy data to your Linux machine or external drive!!