-
- Lurker
- Posts: 1
- Liked: never
- Joined: May 03, 2025 4:26 am
- Full Name: yusuke.motomura
- Contact:
Execute scanbackup specifying all backup data
Run scanbackup by specifying all backup data. Scanbackup can be executed using Start-VBRScanBackup in PowerShell, but how should I write the code to run it for all backup data? Also, is it possible to run it in PowerShell with conditions such as targeting only specific backup data, specific restore points, or specific time periods? If it's possible, please provide that code.
-
- Veeam Software
- Posts: 2622
- Liked: 611 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Execute scanbackup specifying all backup data
Hi yusuke, welcome to the forums.
https://helpcenter.veeam.com/docs/backu ... an&ver=120
Can I ask if you have reviewed the documentation on this cmdlet? Start-VBRScanBackup begins Scan Backup, which works with entire backups; each restore point defines an "interval" of time the backup has protected; the intent here is that you can scan a backup for signs of malicious activities with Veeam Threat Hunter, YARA Rules, or your own anti-virus.
So to pick specific dates, you'd specify the dates as shown in the cmdlet user guide page. Specific restore points would be done by specifying an interval that includes that restore point; I would fetch the restore point with Get-VBRRestorePoint and use its CreationTime property to define the interval for Start-VBRScanBackup.
https://helpcenter.veeam.com/docs/backu ... an&ver=120
Can I ask if you have reviewed the documentation on this cmdlet? Start-VBRScanBackup begins Scan Backup, which works with entire backups; each restore point defines an "interval" of time the backup has protected; the intent here is that you can scan a backup for signs of malicious activities with Veeam Threat Hunter, YARA Rules, or your own anti-virus.
So to pick specific dates, you'd specify the dates as shown in the cmdlet user guide page. Specific restore points would be done by specifying an interval that includes that restore point; I would fetch the restore point with Get-VBRRestorePoint and use its CreationTime property to define the interval for Start-VBRScanBackup.
David Domask | Product Management: Principal Analyst
Who is online
Users browsing this forum: No registered users and 18 guests