--- title: "How to export and open data from Segura® Platform" slug: "how-to-open-backup-files" updated: 2026-11-03T14:57:58Z published: 2026-11-03T14:57:58Z canonical: "docs.senhasegura.io/how-to-open-backup-files" --- > ## 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 export and open data from Segura™ Platform ## Requirements - Have the System Administrator role. ## Path to access 1. On Segura™, in the navigation bar, hover over the **Products menu** and select **Settings**. 2. On the side menu, select **Backup > Export history**. ## Export data 1. In the **Export history** report, click the **Export info** button. 2. You'll be directed to the **Export info** screen. In this screen, fill in the following fields: 1. **Key mode**: select one of the two options: 1. **Parts**: you'll need to enter the parts of the master key. 1. In this case, you should enter one part per line in the text field **Parts of ley (one per line)**, which is located just below the two options. 2. **Complete key**: you'll need to enter the master key obtained in the master key ceremony. 1. In this case, you should enter the complete master key in the text field **Master key**, just below the **Parts of key** field. 3. Click **Export data**. A message indicating the success of the operation will appear, and the export request record will be displayed in the **Export history** report. To download the data, you'll need to wait until it becomes available. When the download is ready, the **Download** option will be available in the **Action** column of the report. ## Open the backup file The encryption of a backup is generated based on the master key that was active in the system at that exact moment. If a new master key ceremony has occurred, resulting in the generation of a new cryptographic key, it won't be possible to access a backup created earlier, as it's linked to the previous master key. ### Requirements - Install [pyAesCrypt](https://pypi.org/project/pyAesCrypt/), according to the operating system you're using: - On Windows: 1. Install Python 3 from [python.org](https://www.python.org/downloads/). 2. During the installation, select **Add python.exe to PATH**. 3. Run `pip install pyAesCrypt`. - On Linux, run the following command, or the equivalent for your distribution: ``` sudo apt install pipx && pipx install pyAesCrypt && pipx ensurepath ``` - Have the necessary permissions and the master key that was active when the backup was created. The procedures assume the default directories and paths. ## Open files on Windows 1. After clicking **Download**, a `tar.gz` file will be downloaded. You'll need to unzip this file. 2. After unzipping the backup file, navigate through the folder structure to the data you want to decrypt. ## Directory structure The directory structure for saved files follows this pattern: ``` YYYY-MM-DD/ ├── Credentials/ │ ├── [device1]/ │ │ └── credential_1.aes │ ├── [device2]/ │ │ └── credential_2.aes │ └── [deviceN]/ │ └── credential_N.aes └── Sshkeys/ └── ... ``` Where: - YYYY-MM-DD represents the file creation date (year-month-day). - [dispositivo1], [dispositivo2], etc., are the names of devices registered in the vault. ## Locating and decrypting process 1. Access the folder with the desired date (for example, `2024-09-13`). 2. Access the `Credentials` subfolder. 3. Choose the folder of the specific device (for example, `ubuntu`, `debian`, `win2000`). 4. Locate the `.aes` file corresponding to the desired credential (for example, `credencial_1.aes`). Use pyAesCrypt to decrypt the `.aes` file. ### Example For a file created on September 13, 2024, containing credentials for an Ubuntu device: 1. Access the `2024-09-13` folder. 2. Enter the `Credentials` subfolder. 3. Open the `ubuntu` folder. 4. Locate the `credential_1.aes` file. 5. Use pyAesCrypt to decrypt `credential_1.aes`. ## Open files on Linux 1. Through the command line, access the shared folder that receives the Segura™ backup data. 2. Locate the folder where the files are stored and look for the path `/srv/backup_remoto/secrets/`. 3. Choose the folder with the date you want to access the backup. 4. Choose the file with the `.aes` extension. In the terminal, run `pyAesCrypt -d <file.aes>` to decrypt the backup file. Enter the master key when pyAesCrypt prompts for it.