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 type.

True

0

True (ByValue)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VESQLDatabaseRestoreInterval

Example

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

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

PS C:\PS> $session = Get-VESQLRestoreSession

PS C:\PS> $database = Get-VESQLDatabase -Session $session[0] -Name "SQLDatabase"

PS C:\PS> 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