--- title: "Connecting to Veeam Backup & Replication" description: "If you want to connect a Veeam Agent computer as a member of the protection group for pre-installed Veeam Agents to a Veeam backup server, you must apply connection settings from the protection group configuration file to Veeam Agent ." canonical: "https://helpcenter.veeam.com/docs/agentformac/userguide/installation_operation_mode_connect.html" breadcrumb: "User Guide > Installation and Configuration > Managing Veeam Agent Operation Mode > Connecting to Veeam Backup & Replication" dateModified: "2026-10-23" --- # Connecting to Veeam Backup & Replication If you want to connect a Veeam Agent computer as a member of the protection group for pre-installed Veeam Agents to a Veeam backup server, you must apply connection settings from the protection group configuration file to Veeam Agent . The configuration file is one of the Veeam Agent setup files that you must obtain from your System Administrator. To learn more about deployment using external tools, see the [Deploying Veeam Agent for Mac](https://helpcenter.veeam.com/docs/vbr/userguide/deploy_agent_mac.html) section in the Veeam Backup & Replication User Guide. You can import the configuration file generated by Veeam Backup & Replication in ether of the following ways: - [Using Veeam Agent control panel](#cp). - [Using Veeam Agent status bar menu](#sbm). - [In Veeam Agent Command Line Interface](#cli). - With MDM solution. For more information, see [Installation and Configuration with MDM Solution](installation_and_configuration_mdm.md). ## Importing Configuration Using Control Panel {#cp} From the Veeam Agent application menu, select **Settings** > **Import Configuration**; in the **Finder**, select the configuration file to import. ![](images/mac_appmenu_import_config.png) ## Importing Configuration Using Status Bar Menu {#sbm} From the Veeam Agent status bar menu, select **Import** > **Configuration**; in the **Finder**, select the configuration file to import. ![](images/mac_sbm_import_config.png) After importing the configuration using the control panel or status bar menu, Veeam Agent will automatically connect to the Veeam backup server. ## Importing Configuration in Command Line Interface {#cli} To connect Veeam Agent to Veeam backup server: 1. Get the configuration file from your System Administrator and upload this file to the Veeam Agent computer. 2. Navigate to the directory where you have saved the configuration file and run the following command: ``` veeamconfig mode setvbrsettings --cfg .xml --force ``` where: - `` — configuration file name. Alternatively, you can specify the full path to the configuration file with the `--cfg` option. - `--force` — with this option enabled, Veeam Agent will override additional input prompts and error messages. This parameter is optional. For example: ``` user@wrk01:~$ veeamconfig mode setvbrsettings --cfg /Users/user/Mac\ Workstations\ Distribs/Mac/Mac\ Workstations.xml ```