Commit e6b4602
Get-DbaDbRestoreHistory - Add BackupStartDate, StopAt, and LastRestorePoint columns
Adds three new properties to the output of Get-DbaDbRestoreHistory:
- BackupStartDate: the start time of the backup being restored
- StopAt: the point-in-time stop value used during the restore (if any)
- LastRestorePoint: computed column showing the effective restore point
(StopAt when specified and earlier than BackupStartDate, otherwise BackupStartDate)
Also adds backup_start_date to the Select-DefaultView exclude list for consistency
with how backup_finish_date is handled (raw column hidden, aliased column shown).
Closes #7854
(do Get-DbaDbRestoreHistory)
Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>1 parent aa4e253 commit e6b4602
1 file changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
| 88 | + | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| |||
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
| 186 | + | |
| 187 | + | |
183 | 188 | | |
184 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
185 | 195 | | |
186 | 196 | | |
187 | 197 | | |
| |||
247 | 257 | | |
248 | 258 | | |
249 | 259 | | |
250 | | - | |
| 260 | + | |
251 | 261 | | |
252 | 262 | | |
253 | 263 | | |
| |||
0 commit comments