gl-vsts-tasks-azure icon indicating copy to clipboard operation
gl-vsts-tasks-azure copied to clipboard

Restore backup on a different server

Open sandorfr opened this issue 7 years ago • 4 comments

Add the capability to specify a different server as the target of a database restore.

sandorfr avatar Jan 25 '18 01:01 sandorfr

I second this request. Are you open to pull requests on this item too?

samsmithnz avatar Dec 08 '18 22:12 samsmithnz

Yes a pull request is mire than welcome 🙏 On Sun 9 Dec 2018 at 09:07, Sam Smith [email protected] wrote:

I second this request. Are you open to pull requests on this item too?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/geeklearningio/gl-vsts-tasks-azure/issues/29#issuecomment-445493547, or mute the thread https://github.com/notifications/unsubscribe-auth/ACiXptfkFBG2JZz7uyjRqHyTFo1e9GrQks5u3DgugaJpZM4RsMXq .

sandorfr avatar Dec 09 '18 05:12 sandorfr

I will have a look. A few questions to enable this

  • Any do you test? Can you just run the PowerShell to test?
  • where is the task UI?

samsmithnz avatar Dec 09 '18 15:12 samsmithnz

Hi @samsmithnz, The task UI is defined in task.json https://github.com/geeklearningio/gl-vsts-tasks-azure/blob/master/Tasks/RestoreSqlDatabaseToSqlDatabase/task.json

Yes the powershell script should be runable. On one task we started adding pester tests. I could be a great thing to add to this task. https://github.com/geeklearningio/gl-vsts-tasks-azure/tree/master/Tests/PowerShell3/GeekLearning.VstsTasks.Azure.Tests

sandorfr avatar Dec 10 '18 00:12 sandorfr