-
- Novice
- Posts: 5
- Liked: never
- Joined: Jun 24, 2024 7:47 am
- Full Name: Thierry FR.
- Contact:
Case #07576966 — Recovered Exchange Server 2016 but restore missed items creates duplicates
Hello, following a crash of a mail server, we carried out a crash recovery. Everything works correctly except that 5 days of messages are missing. We have these five days of messages in Veeam Backup & Replication. From the GUI, I cannot select a date range if I want to reinject the missing items. I would like to know if it is possible in Veeam PowerShell to reinject messages from one of the backup points by specifying a date range. Indeed, when I carry out a restore from the GUI, I have all the items that are restored and that is fine but Outlook shows duplicates for the restored items.
Thank you in advance !
Thank you in advance !
-
- Veeam Software
- Posts: 3863
- Liked: 653 times
- Joined: Aug 28, 2013 8:23 am
- Full Name: Petr Makarov
- Location: Prague, Czech Republic
- Contact:
Re: Case #07576966 — Recovered Exchange Server 2016 but restore missed items creates duplicates
Hi Thierry,
I think you should either open the restore points within the necessary time range manually or create a script based on this cmdlet.
Thanks!
I think you should either open the restore points within the necessary time range manually or create a script based on this cmdlet.
Thanks!
-
- Novice
- Posts: 5
- Liked: never
- Joined: Jun 24, 2024 7:47 am
- Full Name: Thierry FR.
- Contact:
Re: Case #07576966 — Recovered Exchange Server 2016 but restore missed items creates duplicates
Thank you PetrM !
I'm built this script but i missing an information :
Import-Module Veeam.Backup.PowerShell
$restorePoint = Get-VBRApplicationRestorePoint -Exchange | Where-Object { $_.Id -eq "00006cea-257d-4411-a137-39012ee5671d" }
$session = Start-VBRExchangeItemRestoreSession -RestorePoint $restorePoint
$database = Get-VEXDatabase -Session $session | Where-Object { $_.Name -eq "xxx.edb" }
$mailboxes = Get-VEXMailbox -Database $database
$mailbox = $mailboxes | Where-Object { $_.Name -eq "John Doe" }
I would like to restore the last five days from the restore point but i don't know how I can set the value 5 or 5days or anything with the argument RestoreItemsForLastDays. It should be an int32 (RTFM) but dont know how I can specify the values !
Restore-VEXItem -Mailbox $mailbox -TargetMailbox "john@doe.com" -RestoreItemsForLastDays
Thank you !
I'm built this script but i missing an information :
Import-Module Veeam.Backup.PowerShell
$restorePoint = Get-VBRApplicationRestorePoint -Exchange | Where-Object { $_.Id -eq "00006cea-257d-4411-a137-39012ee5671d" }
$session = Start-VBRExchangeItemRestoreSession -RestorePoint $restorePoint
$database = Get-VEXDatabase -Session $session | Where-Object { $_.Name -eq "xxx.edb" }
$mailboxes = Get-VEXMailbox -Database $database
$mailbox = $mailboxes | Where-Object { $_.Name -eq "John Doe" }
I would like to restore the last five days from the restore point but i don't know how I can set the value 5 or 5days or anything with the argument RestoreItemsForLastDays. It should be an int32 (RTFM) but dont know how I can specify the values !
Restore-VEXItem -Mailbox $mailbox -TargetMailbox "john@doe.com" -RestoreItemsForLastDays
Thank you !
-
- Veeam Software
- Posts: 3863
- Liked: 653 times
- Joined: Aug 28, 2013 8:23 am
- Full Name: Petr Makarov
- Location: Prague, Czech Republic
- Contact:
Re: Case #07576966 — Recovered Exchange Server 2016 but restore missed items creates duplicates
Hi Thierry,
The parameter -RestoreItemsForLastDays applies only to cases involving multiple objects restore, for example:
Thanks!
The parameter -RestoreItemsForLastDays applies only to cases involving multiple objects restore, for example:
Code: Select all
Restore-VEXItem -MultipleMailboxes $mailboxes[3] -Server Exchange.domain.local -Credential $creds -RestoreItemsForLastDays 5 -RestoreChangedItem
-
- Novice
- Posts: 5
- Liked: never
- Joined: Jun 24, 2024 7:47 am
- Full Name: Thierry FR.
- Contact:
Re: Case #07576966 — Recovered Exchange Server 2016 but restore missed items creates duplicates
Hi PetrM,
You mean I can use for example a powershell command upstream to create a variable containing an array with for example two mailboxes and then use this variable?
You mean I can use for example a powershell command upstream to create a variable containing an array with for example two mailboxes and then use this variable?
-
- Veeam Software
- Posts: 3863
- Liked: 653 times
- Joined: Aug 28, 2013 8:23 am
- Full Name: Petr Makarov
- Location: Prague, Czech Republic
- Contact:
Re: Case #07576966 — Recovered Exchange Server 2016 but restore missed items creates duplicates
Hi Thierry,
Yes, I think you can try it.
Thanks!
Yes, I think you can try it.
Thanks!
Who is online
Users browsing this forum: No registered users and 1 guest