--- title: "How to mount a backup partition via Rsync" slug: "installation-how-to-mount-a-backup-partition-via-rsync" updated: 2026-11-24T00:31:28Z published: 2026-11-24T00:31:28Z canonical: "docs.senhasegura.io/installation-how-to-mount-a-backup-partition-via-rsync" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.senhasegura.io/llms.txt > Use this file to discover all available pages before exploring further. # How to mount a backup partition via Rsync This document describes how to mount a backup partition via Rsync. ## Requirements - A user with permission to use Rsync in the target backup device. - A dedicated directory owned by the Rsync user to be used for the backup (for example, `/home/senhauser/backup_rsync`). - Rsync installed in the backup server. - The public key of the Segura™ root user in the authorized keys of the backup user (Step 1). Rsync backups require an SSH key. - The host key of the backup server trusted by the appliance before the first backup (Step 2). - In a cluster, a separate destination folder for each node. Each node runs its own backup and keeps the destination folder identical to its own backup files, so nodes that share a folder overwrite or remove each other's files. Attention Always ensure backups are saved in a different location to protect sensitive information and maintain business continuity. For Segura™ with the crypto appliance, backups should not be stored on the appliance itself because: 1. **Single Point of Failure**: If the appliance fails, you could lose both the data and the backup. 2. **Limited Recovery Options**: In the event of a hardware or software malfunction, having backups on an external device ensures that you have multiple avenues for data recovery. 3. **Best Practices**: Store backups in a separate, secure location to comply with data protection standards and ensure availability. ## How to mount a backup partition via Rsync To mount a backup partition via Rsync, follow these steps: ### Step 1: Get the public key of the root user 1. Start an SSH session on your Segura™ server as the user `mt4adm` using port 59022. 2. Run the command `sudo cat /root/.ssh/id_rsa.pub`: ``` sudo cat /root/.ssh/id_rsa.pub ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQChIgNXVHrjq3ECwVytNb9k2liB5vGFNNtTDdwSYaYW/WQ8 NC0yq70BxcmaQWwFddWfQIQVjMw2WZNkroTsinEZkLHBUN12eMMwNB4izo0iQ70IB8wSj2lQbl/G AYyzQCZQRo486eFHFJVIaTviDpf32D/O6qz6JGvCpRRzx7owZhuscJGfUesl/q0sCZ9DUn79TLtj/lIC+na4s5c1g/SYyO7IkdwQBkeeXJSasdqwe34gbcvbdf5dL5f00EIIEHclg5tBxmt9UQ2yRXu1 GbkbdFF5tllNdUfgy4Eb7K8kCTm/djb1ljzWiZodtzas+gPWZOHWaV8nAl17Zc1+xeL shbupk ``` 3. Copy the displayed public key. 4. Log in to the backup server and paste this public key into the `authorized_keys` file of the backup user: ``` vim /home/rsync/.ssh/authorized_keys ``` 5. Confirm the SSH configuration by executing: ``` sudo ssh ``` ### Step 2: Trust the host key of the backup server The backup connects to the backup server without user interaction, so it cannot accept a host key on its own. Before the first backup, the root user of the appliance must already trust the host key of the backup server. If the key is unknown, or if it changes later (for example, after the backup server is reinstalled), the backup fails with `Host key verification failed` and copies no files. To trust the host key, connect once from the appliance to the backup server as the root user: 1. Start an SSH session on your Segura™ server as the user `mt4adm` using port 59022. 2. Run the following command: ``` sudo ssh ``` 3. When SSH asks whether you want to continue connecting, type `yes`. The root user now trusts the host key of the backup server. If you already accepted the key in Step 1, item 5, this step is complete. If the host key of the backup server changes, trust the new key the same way. ### Step 3: Set up the Segura™ system backup 1. On the upper left corner of the screen, click the **Grid Menu**, identified by the nine squares, and select **Orbit Server Manager**. 2. From the side menu, select **Settings > Backup**. 3. Set the **Enable application backup?** parameter to **Yes**. 4. Set the **Mount a remote partition?** parameter to **Yes**. 5. Choose **Send to a remote Linux server (via rsync)** as the backup method. 6. Enter the backup **User**. 7. Enter the backup **Server's hostname** or **IP address**, E.g., `myserver.com` or `10.10.1.5`. 8. Enter the **Remote path** for the backup directory (e.g., `/files/backup/senhasegura`). ### Step 4: Test Rsync backup 1. Start an SSH session on your Segura™ server as the user `mt4adm` using port `59022`. 2. Run the command `sudo orbit backup create`. 3. The command will return an output with the Rsync confirmation and transfer time. If the backup fails, the command ends with an error message and the backup log records the reason. 4. Check if you can see the files in the **Remote path** specified for the backup server. ## Backup logs To check the backup logs, follow these steps: 1. Start an SSH session in your Segura™ server as the user `mt4adm` using port 59022. 2. Run the following command: ``` tail -f /var/log/orbinibkp.log ``` Each line of the log has the following format: ``` [YYYY-MM-DD HH:MM:SS]: ``` For example: ``` [2026-10-21 17:22:09]: senhasegura DB INFO Database backup performed successfully ``` You can also view the log in Orbit Server Manager. See [Backup logs](/v4-2/docs/backup-logs).