I am migrating my database from on-premise to Azure managed instance. In order to move the database I'm using the organization weekly full backup, and I am asking them to take a diff after they take the application offline (the databases are very large).
Question: Can I restore a differential backup on azure managed instance?
When I try to restore the full with norecovery than apply the DIFF. I get an error: "restore with norecovery is not a supported option in azure managed instance"
Best Answer
No. Borrowing from my answer here, Managed Instance only supports the restore of full backups; no log or diff. See this thread:
And the limited syntax diagram for
RESTORE
in the documentation for Managed Instance:The docs imply that
RESTORE ... FROM URL
will implicitly addWITH RECOVERY
and so there will be no opportunity for logs or diffs to be applied after the initial restore. So your downtime will be >= the time it takes to take a COPY_ONLY full backup, put it somewhere MI can access, restore it, and re-point your app(s). You might also want to read through this tutorial, for a different approach.