---
title: "restorehistory (SQL Server)"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/sqlserver/msdb.dbo.restorehistory
original: https://documentation.invantive.eu/en/datamodels/sqlserver/msdb.dbo.restorehistory
updated: 2026-11-18T23:25:46Z
license: https://documentation.invantive.eu/en/
---

# restorehistory: SQL Server

`insert` `update` `delete`

- Catalog: `msdb`
- Schema: `dbo`
- Primary Keys: `restore_history_id`

Can retrieve data and change data using `insert`, `update` and `delete`.

## Table Columns

The columns of the table `restorehistory` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `backup_set_id` | `int32` |  | [ ] |  |  |
| `destination_database_name` | `varchar2` |  | [ ] |  |  |
| `device_count` | `int16` |  | [ ] |  |  |
| `recovery` | `char` |  | [ ] |  |  |
| `replace` | `char` |  | [ ] |  |  |
| `restart` | `char` |  | [ ] |  |  |
| `restore_date` | `datetime` |  | [ ] |  |  |
| `restore_history_id` | `int32` |  | [ ] |  |  |
| `restore_type` | `char` |  | [ ] |  |  |
| `stop_at` | `datetime` |  | [ ] |  |  |
| `stop_at_mark_name` | `varchar2` |  | [ ] |  |  |
| `stop_before` | `char` |  | [ ] |  |  |
| `user_name` | `varchar2` |  | [ ] |  |  |

