Sync Azure SQL Database with remote database - sql

I was wondering if someone could help. I have a SQL database hosted on a remote server (internet hosting company) and i want to sync my azure database.
any ideas how i could do this? eventually, i would like to transition over to sql azure.
thanks in advance.

i prefer using SQL Database Migration Wizard: http://sqlazuremw.codeplex.com/ for one time migrations. it has the option to do some analysis to check for things that are not supported in Azure SQL Database.

Related

Remote SQL Server backups using Azure

I've got a handful of databases running on a SQL Server instance. I don't have access to be able to install the Azure Backup agent but I do have connection details and credentials to access the database and perform backups in SQL Server Management Studio.
What I want to do is be able to perform and schedule these backups and save them in to Azure Blob Storage. I could have this schedule running on my local computer but that's not an ideal solution.
I've got a powershell script that will perform this action for me but it relies on SQL Server assemblies to run. I've tried running this as a devops build task but am unable to do so without the assemblies it requires.
Does anybody know a way of setting this up? In azure for example? Is there a resource that will allow me to connect and backup a sql instance via connections string and save down to blob storage. Or an azure function perhaps?
Is there a resource that will allow me to connect and backup a sql instance via connections string and save down to blob storage?
I'm afraid the answer is no.
We can't find any API support in Azure to help you achieve that.
I think the SQL Server Management Studio and powershell script is more suitable for you.
Maybe you can think about using third-party tool SQL Backup and FTP, it can help you schedule backup the SQL Server to Azure Blob Storage.
Hope this helps.

Connecting ODBC progress with sql azure

Somehow I cannot find it anywhere on the internet. Currently we are running an on premise version of SQL Server. We are looking for the possibility to migrate to the azure cloud for our databases.
However one of our databases heavly runs query using an openedge odbc linked server solution to query an progress database.
I cannot find if it is possible to create a linked server in the azure cloud to allow connections to that progress database.
Does anyone knows if it is possible?
No, Azure SQL Database Managed Instance only support SQL Server/SQL Database linked Servers, Single Database and Elastic pool doesn't support linked servers.
You may check the features that supported by Azure SQL Database here:
https://learn.microsoft.com/en-us/azure/sql-database/sql-database-features

Azure SQL PaaS - Limitations

We are trying to evaluate possibility of migrating our in-house SQL DB server to Azure SQL as a PaaS.
Our legacy windows application which is written in VB6 and now running on VB.NET Framework 4.5
Clarifications I need if I migrate only DB server to Azure:
We use both trusted / credential based SQL connection from our desktop application to connect to SQL DB. If we migrate to Azure SQL, will it support trusted connection which should authenticate current organizations NT user?
We have lot of cross DB queries, do we need to face any challenge to use the queries as it is?
Run time we take a DB backup / restore for some business cases. Does this work?
Are there any restrictions on number of admin users on Azure DB?
Probably yes if you sync your local AD with an AAD (See: Use Azure Active Directory Authentication for authentication with SQL Database, Managed Instance, or SQL Data Warehouse)
Azure SQL Database (PaaS) doesn't support cross DB queries by default - you have to setup / use Elastic Query for that.
Yes, you can take a DB backup at runtime and also restore it. There is also a point-in-time restore feature available. See: Learn about automatic SQL Database backups.
I think you can only specify one server administrator (at least within the portal) but I doubt you will reach any limit on db users.
Instead of using the single database SQL Server PaaS service you should also consider using Managed Instance (preview)
You will have to extend your active directory to Azure active directory to keep using trusted connections. You will learn how to do it on this documentation and this one.
On Azure SQL Database you have elastic queries that allow you to run cross database queries. Learn how to create elastic queries here.
You can create bacpacs (export your databases) to Azure Storage or to on-premises location very easy.
You can configure one Server Admin or one Azure Active Directory Admin (it can be a group) for your Azure SQL Server. However, at the database level you can add many database users to the dbmanager role. You can have more information about this topic here.

How to connect On-premise database servers to sql azure database server

I have 4 on-premise database server that has to be connected to Sql azure server as linked server.I will be querying these on-premise server from sql Azure database server.As far as I checked online I get the answer as it is not supported in Azure. Kindly advice on the same.
Azure SQL DB is previewing Elastic Database Query feature at this point in time that will help you query from Azure SQL DB to other DBs. You can get detailed information about the feature here.

SQL VM Missing in Azure SQL Databases

I have an operational SQL VM in Azure. How do I provision Azure to see it under SQL Databases and provide it as an option when creating something like Mobile Services?
That is not possible. The SQL Database feature is a service and, while it does run a highly compatible SQL Server environment, it is not the same as the SQL Server you would install on premises, or on a hosted virtual machine. There is not a way to "register" an existing SQL Server database, either in or outside of Azure, as a SQL Database instance.
If you want to have the Mobile Services system pointing to a SQL Server instance that is NOT a SQL Database I do not believe that is possible either. You can post a suggestion to the http://www.mygreatwindowsazureidea.com/forums/34192-general-feedback- site. The product group does monitor this and take it into account during product backlog sessions.