Left
Delete
CLOUD MIGRATION
SERVICES
PRODUCTS
RESOURCES

Stairway to Cloud - How it works



With Stairway to Cloud, you can rest assured that an old NAV or on-prem Business Central will move to the cloud via a well-proven migration process.

Azure Service



01
Azure Blob/File Storage
Category: Costs
  1. Parameters

param($SQLBackup, $SQLServer, $databaseName)

$SQLBackup: Path to the SQL backup file (the .bak file).

$SQLServer: The name of the SQL Server instance.

$databaseName: The name of the database being restored.

  1. Output and Kill Active SQL Sessions

Write-Host "Restoring database on ${SQLServer}…"

Kill-SQLSessions -SQLServer $SQLServer -databaseName $databaseName

  • Write-Host: Outputs the message indicating that the restore process is starting.

  • Kill-SQLSessions: Terminates any active sessions or connections to the specified database on the SQL Server. This ensures that no active users are connected while restoring.

Do you need an additional input from our team?



You're very welcome to get in touch with us.

Please fill in the form to discuss the new projects, creative ideas, or collaboration opportunities.

Substriwe

Substriwe'alkdsa;lfjsa;fj

I want to test this form