Hello everyone! I have, what I think is a unique circumstance, that I need some assistance with. Full disclosure - I am new to both Powershell and SQL Server and am still learning. But I don't know what I don't know, and that brings me here.
Scenario:
We receive nightly differential and bi-weekly full backups from a production database maintained by a 3rd party through a powershell script that is running via a scheduled task. This script looks to an AWS hosted fileshare for updated differential and full backups that are provided in a .bak format. This process cannot be changed and will always provide these files in this file type.
I need to then take those backups and restore them to a SQL server running in my environment for use with providing PowerBi reports to internal and external clients. This data needs to be as "fresh" as possible,...