Algunos de los contenidos técnicos de este sitio web solo están disponibles en inglés.

Orion Server backup

Backup using Veeam

Veeam Agent for Linux is a data protection and disaster recovery solution for physical endpoints and virtual machines running Linux-based operating systems.

We would recommend following the latest Veeam instructions available on their website.

This guide provides an overview and example of the process.

Backup prerequisites

The Orion Server requires preperation in advance of installing Veeam for backup and recovery. This page assumes that the Orion Server has been configured as described on the Ubuntu Install guide and that either the console for the server is directly accessible, or via SSH.

  1. With an example of an external USB drive, ensure it is mounted at every boot. Display the disks on the system after connecting the external USB backup drive:
    lsblk

    In the example output below, the operating system shows as volume nvme0n1 and connected is a 120GB drive as /dev/sda.

    bash
    orion@orion-server:~$ lsblk
    NAME                      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
    sda                         8:0    0 119.2G  0 disk
    └─sda1                      8:1    0 119.2G  0 part /media/usb
    nvme0n1                   259:0    0 476.9G  0 disk
    ├─nvme0n1p1               259:1    0     1G  0 part /boot/efi
    ├─nvme0n1p2               259:2    0     2G  0 part /boot
    └─nvme0n1p3               259:3    0 473.9G  0 part
    └─ubuntu--vg-ubuntu--lv   253:0    0   100G  0 lvm /
  2. Create a folder in media as a mount point then mount the drive:

    bash
    sudo mkdir /media/usb
    sudo mount /dev/sda1 /media/usb/
  3. Get the device UUID:
    sudo blkid /dev/sda1

    We need this to automatically mount the drive at boot.

    bash
    orion@orion-server:~$ sudo blkid /dev/sda1
    /dev/sda1: LABEL="backups" UUID="12345678-1234-5678-1234-1abc0de4a237" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="backups" PARTUUID="a12b3456-7cde-8f9f-gh1f-2345678g912h"
  4. Install nano then edit the fstab to ensure the usb volume is mounted at each boot:

    bash
    sudo apt install -y nano
    sudo nano /etc/fstab
  5. Add an entry similar to the following, but using the UUID value to the bottom of the fstab:
    UUID=12345678-1234-5678-1234-1abc0de4a237 /media/usb auto nosuid,nodev,nofail 0 0

Install Veeam Agent for Linux

Signup and download the free version of the Veeam Agent for Linux. From the same network as the Orion Server, the scp command line program can be used to send the deb file across. If the ssh key is named mykey and the public key is in the authorized_keys file on the Orion Server, the command would look like:
scp -i ~/.ssh/mykey veeam-release-deb_1.0.8_amd64.deb username@orion-server:/home/USER

On the Orion Server, given the example version number of 1.0.8, now install the agent using:

bash
sudo dpkg -i ./veeam-release-deb_1.0.8_amd64.deb
sudo apt update
sudo apt install -y veeam

Optional step depending on system configuration:

If secure boot is enabled, expect the following message:

bash
-----------------------
Configuring Secure Boot
-----------------------
Your system has UEFI Secure Boot enabled.

Please refer to the hardware manufacturer instructions for managing the secure boot enrollment keys. The password from the previous step needs to be entered at this point.

Now launch Veeam:
sudo veeam

Configure backups

Documentation for further configuration can be found on the Veeam website.

Salto Systems, S. L. utiliza dispositivos de almacenamiento y recuperación de datos de terceros para permitir una navegación más segura y comprender mejor cómo interactúan los usuarios con el sitio web con el fin de mejorar nuestros servicios. Puedes aceptar todas las cookies haciendo clic en el botón "Aceptar cookies" o rechazar su uso pulsando en el botón "Rechazar cookies". Para más información, visita nuestra Política de cookies