Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
Veeam Explorers PowerShell Reference

Get-VESQLDatabaseRestoreInterval

Short Description

Returns the allowed restore period for Microsoft SQL databases.

Applies to

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

Get-VESQLDatabaseRestoreInterval [-Database] <VESQLDatabase>  [<CommonParameters>]

Detailed Description

This cmdlet returns information about the allowed restore period for Microsoft SQL databases.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Database

Specifies a Microsoft SQL database. The cmdlet will return information about the allowed restore period for the specified database.

Accepts the VESQLDatabase object. To get this object, run the Get-VESQLDatabase cmdlet.

True

0

True (ByValue)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Return Type

VESQLDatabaseRestoreInterval

Example

This example shows how to check a restore period of the specific Microsoft SQL database.

  1. Run the Get-VESQLRestoreSession cmdlet to get a restore session for the Microsoft SQL database. Save the result to the $session variable.
  2. Run the Get-VESQLDatabase cmdlet with the $session variable to get the Microsoft SQL database. Save the result to the $database variable.
  3. Run the Get-VESQLDatabaseRestoreInterval cmdlet with the $database variable.

$session = Get-VESQLRestoreSession

$database = Get-VESQLDatabase -Session $session[0] -Name "SQLDatabase"

Get-VESQLDatabaseRestoreInterval -Database $database

Related Commands

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions

Veeam Availability for Nutanix AHV

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation