How to back up data privately and securely to the cloud using Borg and Vorta

How to back up data privately and securely to the cloud using Borg and Vorta

Introduction

In this section, the speaker introduces themselves as a privacy and security researcher and explains why using Dropbox or Google Drive for backups may not be ideal if the app is installed on the computer.

Dropbox and Google Drive Backup Risks

  • If the Dropbox or Google Drive app is installed on the computer, it has access to the full file system.
  • If the app is compromised, unencrypted data can be accessed by unauthorized parties.
  • Uploading files through the web browser is recommended to avoid these risks.

Introduction to Borg

The speaker introduces an alternative backup solution called Borg, which is an open-source project used for deduplication and backup of encrypted data to the cloud. They also express gratitude for the growing Privacy Guides community.

Benefits of Using Borg

  • Borg allows deduplication, meaning only changes in files are backed up instead of storing entire versions.
  • This approach saves storage space and bandwidth when backing up to the cloud.
  • Borg supports various backends for storing backups securely.

Appreciation for Privacy Guides Community

The speaker expresses gratitude towards viewers who have supported and shared Privacy Guides with their families and communities. They also acknowledge those who have starred the Privacy Guides repository on GitHub, contributing to project awareness and credibility.

Limitations of Rsync and Veracrypt Backups

The speaker discusses a previous episode where they demonstrated how to use rsync and Veracrypt for encrypted backups. However, they highlight a limitation of this approach related to storing entire versions of files instead of just changes.

Limitation of Rsync Approach

  • With rsync, if a file grows in size, the entire new version is stored instead of just the changes.
  • This can lead to inefficient use of storage space and bandwidth.

Introduction to Borg Backup

The speaker provides an overview of Borg Backup, an open-source deduplicating archiver with compression and encryption. They emphasize that data is encrypted on the computer before being backed up or archived, ensuring privacy and security.

Key Features of Borg Backup

  • Borg Backup is an open-source project for efficient backups.
  • It compresses and encrypts data before leaving the computer.
  • Data remains encrypted at the destination, preventing unauthorized access.

Using Borg with Remote File Systems

The speaker explains that Borg requires a server in the cloud with an SSH-compliant file system. They mention that it does not work with services like Amazon S3 or block storage but recommends having a virtual private server (VPS). However, they also introduce a user-friendly alternative called BorgBase.

Requirements for Using Borg

  • Borg requires a remote file system accessible via SSH for backups.
  • Services like Amazon S3 or block storage are not compatible with Borg.
  • Having a VPS is recommended, but there are more user-friendly options available.

Introducing Vorta and Setting Up Borg

The speaker introduces Vorta as a client developed by the creators of BorgBase. Vorta simplifies setting up and using Borg for those who are less familiar with command-line interfaces.

Simplified Setup with Vorta

  • Vorta is a client developed by the creators of BorgBase.
  • It provides an easier setup process for using Borg without relying heavily on command-line interfaces.
  • The next section will demonstrate how to set up Borg using Vorta.

Addressing Different Viewer Preferences

The speaker acknowledges viewer feedback regarding the pace of their videos. They empathize with both technical and non-technical viewers, recognizing that some may find certain content boring while others struggle to keep up.

Understanding Viewer Preferences

  • The speaker understands that different viewers have varying levels of technical expertise.
  • Some viewers prefer a faster pace, while others find it challenging to follow along.
  • The speaker aims to strike a balance between catering to different preferences.

Self-hosting on Raspberry Pi and Offshore Backups

The speaker discusses the benefits of self-hosting on a Raspberry Pi, including the ability to send it by mail to friends in other countries and set up offshore backups.

Setting Up Vortex

  • To get started, install Vortex, a desktop client for self-hosting.
  • On a Mac, download the latest release from the GitHub page.
  • Open the downloaded file and drag it into the Applications folder.
  • Use Spotlight to open Vortex.

Introduction to Boardbase

  • Boardbase is the cloud provider associated with Vortex.
  • They offer 10 gigabytes of storage for free forever and have competitive pricing options.
  • Create a trial account on Boardbase for today's setup.

Creating an SSH Key

  • In Vortex, click on "SSH Key" to create a new key pair.
  • Name the key "Borg Base" and generate it. Copy it to the clipboard.
  • Add the key in Boardbase when prompted during repository creation.

Creating a Repository

  • In Boardbase, create a new repository and paste the URL provided by Vortex.
  • Set a passphrase for security purposes. Ensure it is long and not easily guessable.
  • Make sure to back up your keychain as mentioned in previous episodes.

Using Borg Base for Backups

The speaker explains how to use Borg Base for backups using Rsync and Veracrypt.

Configuring Borg Base in Vortex

  • Configure Vorta (not relevant)

Timestamp is missing from transcript

Getting Started with Secure Backups

In this section, the speaker introduces a secure backup solution and explains how to get started.

Setting up the Repository

  • Open Little Snitch and allow the computer to connect to Board Basis Cloud.
  • Choose the key for compression, such as lz4, which is efficient but not the most effective in reducing file size.

Adding Sources

  • Add user data sources for simplicity.
  • Allow access to documents folder and desktop when prompted by Mac OS Catalina or Bixer.

Configuring Backup Settings

  • Set up backups according to personal preference, such as scheduling them every hour and validating the repository every four weeks.
  • Explore archives to view different backups stored in the cloud repository.
  • Enable notifications for successful backup tasks in Misc settings.
  • Set Vorta to start at login for convenience.

Performing Backups

  • Start the first backup by clicking "Start." Subsequent backups will be faster as only changes are uploaded (delta).
  • Check archives after backup completion; there should be one archive present.

Adding Files to Backup

  • Add files to the documents folder that is being backed up, demonstrating how new files are appended to backups.
  • Run another backup to upload and compress the added files.

Restoring Files from Backups

  • Discuss the importance of having cloud backups for data resilience.
  • Install Fuse to mount archives and navigate through files.
  • Download Fuse for Mac OS and install it.

The summary has been provided in English, as requested by the user.

Desenvolvendo Backups Eficientes com Borg - Portuguese

Neste vídeo, o apresentador demonstra como configurar backups robustos e criptografados usando o software Borg. Ele explica o processo de montagem de sistemas de arquivos no macOS e destaca a capacidade do Borg de fazer download temporário, descriptografar e visualizar arquivos do arquivo de backup. O apresentador também menciona o provedor de nuvem Borg Base, que oferece 10 GB gratuitos para backups.

Montando Sistemas de Arquivos com Borg

  • Ao restaurar um arquivo deletado, selecione o arquivo no arquivo de backup e clique em "Montar".
  • É necessário criar uma pasta para montar manualmente sistemas de arquivos no macOS.
  • Selecione a opção "Desktop" para criar uma nova pasta chamada "borg".
  • O sistema usará o FUSE para montar o sistema de arquivos remoto usando o Borg na pasta especificada.
  • Os arquivos serão temporariamente baixados do arquivo de backup, descriptografados e exibidos para visualização.
  • Arraste e solte os arquivos desejados da visualização para qualquer local desejado.
  • Clique em "Desmontar" quando terminar. A pasta "borg" ficará vazia novamente.

Benefícios dos Backups Eficientes com Deduplicação

  • Os backups feitos pelo Borg são altamente eficientes graças à deduplicação.
  • Antes de serem enviados pela internet, os backups são criptografados e compactados no computador local.
  • O provedor Borg Base é recomendado por sua especialização em backups Borg e oferece 10 GB gratuitos.
  • O Borg Base utiliza um modelo freemium, permitindo que os primeiros 10 GB sejam usados gratuitamente.

Próximos Passos e Uso do Modo "Append Only"

  • No próximo episódio, o apresentador irá explorar configurações avançadas sem o uso da interface gráfica Vorta.
  • Será demonstrado como enviar arquivos para o provedor de nuvem rsync.net, que utiliza o sistema de arquivos ZFS.
  • O modo "Append Only" será habilitado para adicionar uma camada extra de segurança à pilha de backup.

The summary has been provided in Portuguese as per the language of the transcript.

Turn any video into a summary like this

YouTube links, meetings, lectures. With transcripts, search, and chat.

Video description

In this episode, we learn how to back up data privately and securely to the cloud using Borg and Vorta. ============================== TL;DR ============================== 0:00 Intro 2:04 Borg 6:53 Vorta ============================== SUGGESTED ============================== How to back up and encrypt data using rsync and VeraCrypt on macOS (see change log) 👉 https://www.youtube.com/watch?v=1cz_ViFB6eE More on trustd and how Little Snitch allows us to see the invisible 👉 https://www.youtube.com/watch?v=K-FSfjLVno4 ============================== LINKS ============================== Privacy guides reference material 👉 https://github.com/sunknudsen/guides/tree/main/archive Borg 👉 https://www.borgbackup.org/ Vorta 👉 https://vorta.borgbase.com/ ============================== SUPPORT ============================== Support my work 👉 https://sunknudsen.com/donate