Install on Windows

Vorta was built using Qt, which could also run on Windows. Unfortunately the underlying Borg Backup we use is currently not officially available on Windows, though work is in progress.

Until then users had good success running Vorta and Borg via Windows’ Linux Subsystem (WSL). Here the latest confirmed instructions, contributed by Github user end-usr2:

Install Ubuntu via Windows Subsystem for Linux

First enable Windows Subsystem for Linux

  1. Click the Start button.
  2. Click Control Panel.
  3. Click Programs.
  4. Click Turn Windows features on or off.If you’re prompted for an administrator password or confirmation, type the password or provide confirmation.
  5. Click the box next to “Windows Subsystem for Linux” to put a checkmark
  6. Click OK and reboot

Next install Ubuntu from Microsoft App Store

  1. Click the Start button
  2. Type Microsoft
  3. Click Microsoft Store
  4. Search for Ubuntu or use this direct link
  5. Click Get
  6. Once it is done downloading, click Open
  7. Enter a default user name and password when prompted (more details)

Then upgrade Ubuntu version. Vorta is is packaged for Ubuntu (Debian) starting with Ubuntu 21.04. If it is before April 21, 2022 and Ubuntu 22.04 is not yet available, you will need to upgrade to a non-Long Term Support (non-LTS) version of Ubuntu. To do so, change Prompt=LTS to Prompt=normal in /etc/update-manager/release-upgrades using vi or another file editing option. To avoid usmerge error during upgrade, check that both of these don’t exist:

  • /lib/udev/hwdb.bin
  • /usr/lib/udev/hwdb.bin

If both exist, delete the oldest one.

Then start the upgrade process:

$ sudo do-release-upgrade

If you get error and upgrade aborts with “lspci: Cannot find any working access method.”, remove the snapd package:

$ sudo apt purge snapd

Then try upgrade again…ref

$ sudo do-release-upgrade

After the upgrade is complete, reboot Ubuntu:

  • Start > Services. Run as administrator
  • Restart LXSSMANAGER service

Install and Run Vorta

And finally install Vorta

$ sudo apt install vorta

After that you can run Vorta with

$ vorta

Possible Errors

  • If you get an error, ImportError: : cannot open shared object file: No such file or directory, run

    $ sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/

    (As described here and here)

  • If you get error, could not connect to display: Download and install VcXsrv in Windows from here. (ref)

    • Run XLaunch
    • Start > XLaunch
    • Select ‘multiple windows’ and set Display number to 0, click Next
    • Select ‘start no client’, click Next
    • Add a check for ‘Disable access control’, click Next
    • Click ‘Finish’ and hover over the XLaunch icon in the system tray and verify that is shows “0.0”.
    • Find your IP address

      • Start > Settings > Network and Internet > Wi-Fi or LAN (depending on your connection type) > Hardware properties
      • Note the IPv4 address
    • Back at the Ubuntu command line…
    export DISPLAY=  (substitute your IP address from above)

Using Vorta

To set up with BorgBase: See the video here

If you need to mount a drive or share:

  • To see currently mounted drives
    $ mount
  • Mount removable media: (e.g. D:)
    sudo mkdir /mnt/d
    sudo mount -t drvfs D: /mnt/d
  • To safely unmount
    sudo umount /mnt/d
  • You can also mount network shares without smbfs:
    sudo mount -t drvfs '\\server\share' /mnt/share

    (As described here)