Execute SQL Clone restore from *nix?

Most of our applications run on *nix boxes. We would like to add scripts to our repository which would allow us to consistently use SQL Clone to restore a target database clone, ideally agnostic to the script host OS.

I only see references to PowerShell resources for SQL Clone operations. Has anybody had any luck with using the cmdlets from *nix machines? E.g., via https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-7. What would be even better is a REST API, but I can't find any documentation on something like this and I'd prefer not to scrape the UI.
Tagged:

Answers

  • FredericoJFredericoJ Posts: 34 Bronze 3
    edited September 16, 2020 12:24PM

    Thank you for your feedback. Unfortunately, SQL Clone does not support execution from *nix boxes as its cmdlets are targetting Powershell and not yet PowerShell Core.

    While there was some talk about supporting it in the future, it's not currently on our roadmap as we are waiting for more customer demand.

    As soon as we have any updates, we will be sure to share these with you.

    Kind regards,

    Frederico
    Software Engineer
    Redgate Software
Sign In or Register to comment.