-
- Novice
- Posts: 6
- Liked: 1 time
- Joined: Nov 16, 2023 9:42 am
- Full Name: Chris
- Contact:
Create Backupjob via CLI
Hey, I try to automate my Veeam setup.
I am downloading veeam agent via winget packet manager.
Afterwards I like to create a (standard) backup job to backup the operating system only (systemdrive c: ) to drive T:
Any ideas how to realize ?
Chris
Next step would be to automatically create the recovery medium as ISO image to drive T: - would that be possible as well ?
I am downloading veeam agent via winget packet manager.
Afterwards I like to create a (standard) backup job to backup the operating system only (systemdrive c: ) to drive T:
Any ideas how to realize ?
Chris
Next step would be to automatically create the recovery medium as ISO image to drive T: - would that be possible as well ?
-
- Product Manager
- Posts: 10277
- Liked: 2746 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Create Backupjob via CLI
Hello Chris
For Veeam Agents, you can use a tool named Veeam Agent Configurator. It allows you to import a configuration file to the Veeam Agents. https://helpcenter.veeam.com/docs/agent ... tml?ver=60
Another option you could use is Veeam Backup & Replication as a central manage and monitoring system for your Veeam Agents. YOu can use Veeam Backup & Replication for various tasks:
- Deploy Veeam Agents
- Configure and monitor Backup Jobs for your Veeam Agents in a single console
When you send backups to a Veeam Backup & Replication server, you can create a recovery media directly from the backup console.
Best,
Fabian
For Veeam Agents, you can use a tool named Veeam Agent Configurator. It allows you to import a configuration file to the Veeam Agents. https://helpcenter.veeam.com/docs/agent ... tml?ver=60
Another option you could use is Veeam Backup & Replication as a central manage and monitoring system for your Veeam Agents. YOu can use Veeam Backup & Replication for various tasks:
- Deploy Veeam Agents
- Configure and monitor Backup Jobs for your Veeam Agents in a single console
You can create the recovery media per command line: https://helpcenter.veeam.com/docs/agent ... tml?ver=60Next step would be to automatically create the recovery medium as ISO image to drive T: - would that be possible as well ?
Code: Select all
"C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" /createrecoverymediaiso /f:<location>\<name>.iso
Best,
Fabian
Product Management Analyst @ Veeam Software
-
- Novice
- Posts: 6
- Liked: 1 time
- Joined: Nov 16, 2023 9:42 am
- Full Name: Chris
- Contact:
Re: Create Backupjob via CLI
Hey, thanks so far.
I am using the standalone Windows Agent - would the work as well ?
I created a backup job in the GUI but I cannot find a xml file in my filesystem - where would it be stored ?
chris
I am using the standalone Windows Agent - would the work as well ?
I created a backup job in the GUI but I cannot find a xml file in my filesystem - where would it be stored ?
chris
-
- Novice
- Posts: 6
- Liked: 1 time
- Joined: Nov 16, 2023 9:42 am
- Full Name: Chris
- Contact:
Re: Create Backupjob via CLI
"C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" /createrecoverymediaiso /f:<location>\<name>.iso
--> will start a interactive new BackupJob Task
I would like to create the iso silently.
--> will start a interactive new BackupJob Task
I would like to create the iso silently.
-
- Product Manager
- Posts: 10277
- Liked: 2746 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Create Backupjob via CLI
Yes, it's available for our standalone Workstation and Server edition.I am using the standalone Windows Agent - would the work as well ?
The user guide link I shared with you explains in Step 1 exactly how to create the XML file from a preconfigured agent.I created a backup job in the GUI but I cannot find a xml file in my filesystem - where would it be stored ?
Code: Select all
"C:\Program Files\Veeam\Endpoint Backup\Veeam.Agent.Configurator.exe" -export /f:C:\Veeam\configuration.xml
You can create the ISO once and use it for every machine. Especially if all clients use the same hardware and Agent build, the same ISO can be used for all of them."C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" /createrecoverymediaiso /f:<location>\<name>.iso
--> will start a interactive new BackupJob Task
I would like to create the iso silently.
Best,
Fabian
Product Management Analyst @ Veeam Software
-
- Novice
- Posts: 6
- Liked: 1 time
- Joined: Nov 16, 2023 9:42 am
- Full Name: Chris
- Contact:
Re: Create Backupjob via CLI
Hey, will not work - export does - import does not
1. Created Backup Job in the GUI
2. Exported Job
PS C:\Program Files\Veeam\Endpoint Backup> .\Veeam.Agent.Configurator.exe -export /f:D:\BackupMyMachine.xml -> File is created
ExitCode: 0
3. Deleted Job in the GUI
4. Import Job
PS C:\Program Files\Veeam\Endpoint Backup> .\Veeam.Agent.Configurator.exe -import /f:D:\BackupMyMachine.xml
ExitCode: 50
Errors:
Failed to perform the operation.
No correct configuration specified.
1. Created Backup Job in the GUI
2. Exported Job
PS C:\Program Files\Veeam\Endpoint Backup> .\Veeam.Agent.Configurator.exe -export /f:D:\BackupMyMachine.xml -> File is created
ExitCode: 0
3. Deleted Job in the GUI
4. Import Job
PS C:\Program Files\Veeam\Endpoint Backup> .\Veeam.Agent.Configurator.exe -import /f:D:\BackupMyMachine.xml
ExitCode: 50
Errors:
Failed to perform the operation.
No correct configuration specified.
-
- Product Manager
- Posts: 10277
- Liked: 2746 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Create Backupjob via CLI
Do you have a license installed on the agent? Similar reports show me the error code 50 is shown when you are running our free version of Veeam Agent. The agent requires a Veeam Agent for Workstation or Veeam Agent for Server license to be able to use this feature.
Best,
Fabian
Best,
Fabian
Product Management Analyst @ Veeam Software
-
- Novice
- Posts: 6
- Liked: 1 time
- Joined: Nov 16, 2023 9:42 am
- Full Name: Chris
- Contact:
Re: Create Backupjob via CLI
Yes, I am using the "free" Windows Agent for Windows - so no chance for creating the job automatically ?
-
- Novice
- Posts: 6
- Liked: 1 time
- Joined: Nov 16, 2023 9:42 am
- Full Name: Chris
- Contact:
Re: Create Backupjob via CLI
After updating to the newest version, I am also getting the correct feedback
PS C:\Program Files\Veeam\Endpoint Backup> .\Veeam.Agent.Configurator.exe -import /f:D:\BackupMyMachine.xml
ExitCode: 50
Errors:
Failed to perform the operation.
No correct configuration specified.
Warnings:
Failed to update backup job
Configuration ID: edfd399f-1785-49b6-a3ff-7a5d194a2cbc.
Backup job name: BackupMyMachine.
This feature is unavailable in the Free edition of Veeam Agent for Microsoft Windows
ExitCode: 50
PS C:\Program Files\Veeam\Endpoint Backup> .\Veeam.Agent.Configurator.exe -import /f:D:\BackupMyMachine.xml
ExitCode: 50
Errors:
Failed to perform the operation.
No correct configuration specified.
Warnings:
Failed to update backup job
Configuration ID: edfd399f-1785-49b6-a3ff-7a5d194a2cbc.
Backup job name: BackupMyMachine.
This feature is unavailable in the Free edition of Veeam Agent for Microsoft Windows
ExitCode: 50
-
- Product Manager
- Posts: 10277
- Liked: 2746 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Create Backupjob via CLI
Yes, Veeam Agent Configurator requires a license.
But you can use our Veeam Backup & Replication Community Edition to manage workstations in your own organization.
The community edition allows you to protect 10 workloads (instances) for free.
1x Veeam Agent for Microsoft Windows Server = 1x instance
3x Veeam Agent for Microsoft Windows Workstation = 1x instance
You can deploy, configure and protect 30 Workstations from the backup console if you only deploy Veeam Agent for Microsoft Windows Workstation.
Best,
Fabian
But you can use our Veeam Backup & Replication Community Edition to manage workstations in your own organization.
The community edition allows you to protect 10 workloads (instances) for free.
1x Veeam Agent for Microsoft Windows Server = 1x instance
3x Veeam Agent for Microsoft Windows Workstation = 1x instance
You can deploy, configure and protect 30 Workstations from the backup console if you only deploy Veeam Agent for Microsoft Windows Workstation.
Best,
Fabian
Product Management Analyst @ Veeam Software
Who is online
Users browsing this forum: No registered users and 29 guests