I need to create a script to restore a given file (let's say, "C:\work\myfile.txt") from all che VMs of a given job and to check if the restore is successful.
If the restore fails I need to detect the reason (file not found, unexisting backup, ...).
IOs there any sample I can start from?
Regards
Marius
-
- Veteran
- Posts: 459
- Liked: 5 times
- Joined: Feb 01, 2012 12:04 pm
- Full Name: Mario
- Contact:
-
- Product Manager
- Posts: 5635
- Liked: 1181 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: Restoring a given file from a backup
Are you looking at backup testing automated? Did you take a look at SureBackup which can do a full simulation of a restore and even do in guest testing like for example the MD5 checksum on files?
What you are looking for is possible however it may be easier to use SureBackup for your needs
What you are looking for is possible however it may be easier to use SureBackup for your needs
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Veteran
- Posts: 459
- Liked: 5 times
- Joined: Feb 01, 2012 12:04 pm
- Full Name: Mario
- Contact:
Re: Restoring a given file from a backup
I was told that SureBackup is not available with Standard edition, is it corect?
Regards
marius
Regards
marius
-
- Product Manager
- Posts: 5635
- Liked: 1181 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: Restoring a given file from a backup
SureBackup is indeed not available with Standard Edition.
The cmdlet you are looking for is Start-VBRWindowsFileRestore (for Windows servers): https://helpcenter.veeam.com/backup/pow ... store.html
At the bottom is an example of a file being copied from C:\
With this you can start and enhance to your needs. If this fails you will see the reason.
The cmdlet you are looking for is Start-VBRWindowsFileRestore (for Windows servers): https://helpcenter.veeam.com/backup/pow ... store.html
At the bottom is an example of a file being copied from C:\
With this you can start and enhance to your needs. If this fails you will see the reason.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
Who is online
Users browsing this forum: StanoSedliak and 13 guests