Use Vorta to backup data safely and effectively on Linux or macOS (BorgBackup GUI)

Vorta is a fairly new GUI for BorgBackup (Borg for short). BorgBackup is a command-line backup tool with encryption, deduplication, compression, and verification functions. Both Vorta and BorgBackup are free and open source software, and they both run on Linux and macOS.Borg Backup It is a safe and efficient command line backup tool that can store data on any host or local drive available via SSH.

  • Safety. In order to protect the data, the client’s 256-bit AES encryption is used, and the data integrity and authenticity are verified using HMAC-SHA256.
  • Efficient. Deduplication is used for backup, only new data is added to the backup repository. Because it does not back up duplicate data blocks, it helps reduce storage space usage and network bandwidth utilization. Borg deduplication does not depend on the file and directory names staying the same, the complete file or timestamp remains the same, nor does it depend on the absolute position of the data block in the file. Compression is also supported-use lz4, zstd, zlib or lzma.

Moreover, Borg can mount the backup snapshot as a user space file system, so you can view the contents of the backup before restoring the backup, or use the regular file manager to restore only certain files.
For information on how to install BorgBackup, go to its Installation page (Hint: it is most likely available in the repository of your Linux distribution-including Arch Linux, Debian / Ubuntu / Linux Mint, Gentoo, Fedora, openSUSE and Raspbian.)

Vorta backup client (BorgBackup GUI)

Vorta Borg backup Linux
Vorta application window, its system tray menu and the backup installed and opened in the Nautilus file manager

Vota It is the graphical user interface of BorgBackup running on macOS and Linux. Its functions include:

  • Back up the configuration file. These can be used to back up different sources to different destinations using the same SSH key. For example, this allows some important files to be backed up to a remote server while being fully backed up to a local storage device.
  • Use the log viewer for backup plans, and custom shell commands that can be run before or after the backup.
  • The backup archive has a timestamp view from which you can extract, load, check, delete or trim backups.
  • Configurable pruning (delete old backups after a certain time).
  • Built-in SSH key generation.
  • File name / path exclusion mode.
  • GUI options (such as dark / light system tray icon, light / dark application theme), display notification when backup fails and / or success, and automatically start Vorta when logging in

How to install Vorta BorgBackup GUI

To download Vorta for macOS, go to it Publish page. For Linux, you will find the released binaries Here.[Update] On Linux, Vorta is now also available on Flathub, As flat packaging, So it is easier to install and update on any Linux distribution. The latest Vorta version adds experimental features Linux 64-bit binary file, Which is built on Ubuntu 18.04 and includes the BorgBackup binary (so you do n’t have to install it separately on the computer running Vorta). Now, to use this Vorta Linux binary, you need to use a fairly new Linux distribution (GLIBC> = 2.25), but this will change in the future. It should be compatible with Ubuntu 18.04 and higher, Fedora 29 and higher, Linux Mint 19 and higher, Debian buster / sid, etc.
It is also worth noting that when using Linux binaries, the Vorta option to automatically start the application at login does not work. At least on my Ubuntu 18.10 desktop it does not work. Therefore, if you want to start Vorta automatically at startup, you must add it to the startup application using the options provided by the desktop environment.
To install Vorta on Linux, Download Vorta Linux binaries (vorta-linux64) In the main folder, and then run this command to install it to /usr/local/bin:

sudo install vorta-linux64 /usr/local/bin/vorta

Enter now vorta In the terminal (or in Alt + F2 Run dialog) to start it. If you want to add it to the application menu, you can use something like MenuLibre.
Vorta begins to hide and runs in the system tray. If you use Gnome Shell, you may need to install AppIndicator support Extensions to access the Vorta system taskbar menu (not required on Ubuntu, because this extension is installed by default). If the Vorta tray icon does not match the panel color (the dark tray icon is used by default, it is difficult to see if you are using a dark panel), please change it from the Vorta setting to a lighter icon (on another tab).
You can also start the Vorta GUI and open its main window:

vorta -f

Or, you can Install Vorta From the source, use PIP.

Getting started with Vorta

Step 1. Set up SSH keys.Vorta creates a new SSH key

To start using Vorta, launch the application, and then on the Repository tab, next to “SSH Key”, click the drop-down list and select Create new key. Keep the recommended default values ​​unless you need some other settings and know what you are doing, then press Generate and copy to clipboard Button. After generating the key, close the Vorta SSH key generation window.
If you do n’t want Vorta to ask for an SSH password every time you create a new backup, you need to create an SSH passwordless login. This is beyond the focus of this article, but you can find the guide online and it is very easy.
You only need to perform this SSH key generation step if you want to use a remote backup repository. If you use Vorta to backup to a local storage device, you can skip this step. It is worth noting that when using a remote repository for backup, you need to install BorgBackup on the remote server. View BorgBackup Installation page For more information. Step 2. Create a new backup repository.Vorta BorgBackup initializes a new backup repository

Next, you should see a Repository Field with drop-down menu. Please click Select Backup Destination -> Initialize New Repository with:

  • If you want to store the backup locally, press the folder icon and select the backup directory.
  • If you want to back up to a remote server, enter the repository URL, for SSH Key Make sure to select the same SSH key created in the previous step.

Enter the password and press Add Initialize a new backup repository. Step 3. Select the files and folders to be backed up.Vorta backup source

In Sources Label in Vorta, press Add Folder and / or Add File Add files and folders to be backed up. Here you can exclude certain files / folders or add exclusion patterns. Step 4. Use Vorta to create a backup.
Now it’s time to use Vorta and BorgBackup to create your first backup. Press Start Backup Create a backup in the lower left corner of the Vorta window. All backups can be seen on the “Archive” tab:Vorta backup files

You may also want to create an automatic backup schedule:Vorta Borg backup schedule

This can be Schedule label. Select the time interval for backup, you can choose to enable pruning of the old archive, and then press ApplyDo you want to restore the backup created with Vorta? Go to Vorta Archives Tab, select the snapshot and press Extract Button. You can also load the backup by selecting the backup and pressing Mount -In this way, you can use the file manager to open it and check the backup content, copy some files from the backup without restoring it, etc.


Related Posts