Troubles Exporting SQL databases from Azure
1. If I connect via SQL Server Management Studio and choose Export Data Tier Application to local disk, it never ends
2. If I export via Azure web portal, it takes few hours
3. The only way that works is using SQL Server Management Studio and exporting to Azure container and then downloading it and importing via SQL Server Management Studio, seems like a lot of hassle
I need Azure SQL database to be transferred daily to my local machine, preferably automatically. How can I do it?
Hi Alex,
Since the issue regards Windows Azure SQL Database, I will help you move the question to the related forums, It is appropriate and more experts will assist you.
As Olaf’s post, if you want to migrate databases between the SQL Server Database Engine and Windows Azure SQL Database, you can use the Windows Azure SQL Database Import and Export operations to copy databases between two different SQL Database servers.
In addition, you can also use the Windows Azure SQL Database copy database feature to make a consistent copy of a database, and perform the export from the copy. For more information, see
Copying Databases in Windows Azure SQL Database. And you also can migrate a database by using the generate scripts wizard. For more information, see:
How to: Migrate a Database by Using the Generate Scripts Wizard (Windows Azure SQL Database)
According to your description, you want to migrate database daily and automatically, you can configure automated exports to schedule export operations for a SQL database, and to specify the frequency of export operations, and to set the retention period
to store export files. Also you can set data sync between SQL Server and Windows Azure SQL database, configure bi-directional for database. For more information, see:
Windows Azure SQL Data Sync.
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support
Similar Messages
-
Connecting to an Azure SQL Database from a Windows C# Form
Hi,
Is it possible to connect to an SQL database in Azure from Visual Studio C# 2010 or 2012? If so how is this done. Is it the same as if you were connecting to SQL Express database with the use of a connection string? Any directions or tutorials would be of
great help!
Thanks!Hi,
>>Thanks for the reply Paul, That is disappointing. I am trying to get my students to create a C# application that will connect with a database in Azure. Is there another approach besides SQL that I could use?
Using SQL Azure will work fine (see below), if the students are familiar with SQL Server and SQL Databases it will be great for them to see how it works in the cloud. As an alternative you could explore Azure Storage, using Table Storage, Blob Storage or
the new Document Database features.
>>Azure enforces a firewall that prevents direct external access to the database server. You can add a firewall rule allowing external access, but the rules only support connecting from a fixed IP address because you have to specify the numeric IP
from which connection will be allowed.
You can specify ranges here, so you could cover a range of IP addresses. You can even specify 0.0.0.0 to 255.255.255.255 and allow all IP addresses, this could be an option if you don't know where the students will be connecting from, and you are using a
database for the exercise where you don't care too much about the security.
When I have run classes I typically use an IP address range, for example XXX.YYY.ZZZ.0 to XXX.YYY.ZZZ.255 if the students are accessing from the same classroom, and the external IP address may vary. You may find that they all have the same external IP address
if they are on the same internal network.
Also, with many students accessing the same database, you may get throttling if they place a lot of load on it. This is cool, as you can also teach them about transient fault handling and resource throttling :-).
Regards,
Alan
Free e-book: Windows Azure Service Bus Developer Guide. -
Cant access My SQL Database on Azure VM from outside source
I have Word Press running on an Azure Virtual Machine. It uses My SQL. I would like to read the My SQL databasre from an ASP.Net application. I have opened the 3306 internal TCP port. I am attempting to read the My SQL database from Navicat on
my client before I try ASP.Net and I get a Cant connect message. i can access the same database successfully from a local server copy of Navicat. The credentials are the same on both. The only difference is the external port number.
Is the problem with Navicat? Can you recommend another way to test the connection? I have used Shields Up to verify that the external port is open.Hi,
The Azure SQL Database
service is only available with TCP port 1433. To access Azure SQL Database from your computer, ensure that your firewall allows outgoing TCP communication on TCP port 1433.
More information:
http://msdn.microsoft.com/en-us/library/azure/ee621781.aspx
Regards,
Mekh. -
Can I connect Azure SQL Database from Project Siena ?
Can I connect Azure SQL Database from Project Siena ?
I want to connect Azure SQL Database of Office 365 SharePoint's Access App from Project Siena.
Access App's Database is Azure SQL Database.
and can connect to Excel/PowerBI/etc.
Access App's Database can connect from specific location / any locations.
Access App's Database can allow read-only connection / read-write connection.
I want to create Windows App connected to Access App's Database.
Regards,
Yoshihiro Kawabata.Hi Yoshihiro,
Could you share more with us about the high level scenario for what you are trying to accomplish offline? We can discuss further at
[email protected]
Once we are done, we will definitely share our findings with the community.
Thanks! -
Hi, How to move SQL database from one location to another location i.e. from C' drive to D' drive ? please share some link.
Thanks and Regards, Rangnath MaliHi Rangnath,
According to your description, my understanding is that you want to move databased from C drive to D drive.
You can detach Database so that the files become independent, cut and paste the files from source to destination and attach again.
There are two similar posts for your reference:
http://mssqltalks.wordpress.com/2013/02/28/how-to-move-database-files-from-one-drive-to-another-or-from-one-location-to-another-in-sql-server/
http://stackoverflow.com/questions/6584938/move-sql-server-2008-database-files-to-a-new-folder-location
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
I am having trouble exporting closed captions from premiere cc 2014.
I am having trouble exporting closed captions from premiere cc 2014. I see them in the program monitor but after i export and try to playback in either quicktime or VLC i get to embedded captions. I eve tried the side car file and embedded with compressor and still nothing. Any help would be appreciated.
I only used compressor because i switched from final cut to adobe. easy fellas!I have latest QT version, do i need to go back to 7? I have tried VLC also, i usually use that to check CC in mpeg files. I am exporting a QT H.264 for just testing purposes, I need a prores HQ, also this is SD so my sequences are set to 720x486.
-
Transferring 3 SQL databases from both SQL Express 2005 and Standard to a new physical server
I am trying to figure out the best method for transferring SQL 2005 databases from 2 different physical servers to a new server running windows server 2008 64bit.
I own a fully registered copy of Microsoft SQL 2005 32bit Standard Edition. However all of my SQL databases together are only 4GB in size thereby making 2008 SQL Express an option.
Here is the breakdown of the servers:
1) (Old Server1) Windows 2003 Server 32bit - SQL Express 2005 32bit
2) (Old Server2) Windows 2003 Server 32bit - SQL Server 2005 32bit Standard
3) (New Server) Windows 2008 Server 64bit - (Not sure which version to install)
**The objective is to migrate 2 SQL databases from Old Server1 and 1 SQL database from Old Server 2 to the New Server. What version should I install on the new server??? Do I go with 2008 express or install the 2005 Standard Edition?
Pending your response to which version to install, what are the correct steps to migrate (which I have never done before) the databases from both of these servers to the new server?
I have researched this online and I think this particular situation is unique in that I am transferring from both SQL Express and Standard from 2 different physical servers to a 2008 server that is 64bit. I cannot find anything online that I feel confident
in trying. Please help me, as I have this migration deadline of this weekend. Any help is appreciated. Thanks.Hello,
You may choose between using backup/restore or using detach/attach methods to migrate the databases.
https://msdn.microsoft.com/en-us/library/ms187858(v=sql.90).aspx
You can transfer logins using the following article.
http://support.microsoft.com/en-us/kb/918992
To decide if you migrate to Express Edition or to another edition, please review the features supported by each edition. For instance, Express Edition does not support jobs (SQL Server Agent is not available).
https://msdn.microsoft.com/en-us/library/cc645993(v=sql.100).aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
How to export/import database from tools menu in sql developer.
Hi,
I need to export database from a server and import it on another db server using the export database function under tools menu in SQL developer. How do I import it? This is for Oracle 10g database.
ThanksDepends what are you trying to do? Are you making a database copy or just creating an empty schemea or creating schema with the data?
With 10g, you have also options of using datapump (expdp/impdp) and conventional export/import which is very usefule and easy to use when it comes to create a clone (duplicate schema) or an export/import of some objects.
If you right click on table object, you have options of export ddl/export data and import data but thats different thant what expdp/impdp or conventional export/import provides. For very small database you can use sqldeveloper but consider
using other above mentioned options. Hope this helps
Regards -
I have a web app that is backed by a an Azure SQL Database. The problem is that I had multiple issues when connecting to the database mainly when trying to establish a connection, or timeouts. This is the log I just encountered when trying to use the web
app.
[Win32Exception (0x80004005): The wait operation timed out]
[SqlException (0x80131904): Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=21970; handshake=1; ]
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +671
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +116
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1012
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +6712291
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +152
System.Data.SqlClient.SqlConnection.Open() +229
System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +102Hi Affar2k,
According to your description, we need to verify if there is no network issue and the Sqlclient version is older than .NET 4.5. You can try to connect to the Windows Azure SQL database via SSMS and check if it can run well. When you
connect to the SQL Azure database via ADO.NET, you need to verify that the server name and passwords are right in the connection string.
For more information, you can review the following article about how to connect to Windows Azure SQL Database using ADO.NET.
http://msdn.microsoft.com/en-us/library/windowsazure/ee336243.aspx
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support -
Deploying SQL Database to azure fails with VSO
Hi, I'm trying to publish my Sql project along with my website using Visual Studio Online Build.
VSO use the pubxml that contains the location of the created dacpac -
<Object Type="DbDacFx">
<Source Path=location on the build machine dacpac Action="Deploy" />
</Object>
The Database deployment is not working and I don't see any errors.
Can I make the deployment process more verbose so I can recognize the problem?
The deployment is working if I publish from Visual Studio 2013 locally to azure.
I've tried to open the IP's between the build machine and the SQL instance in azure.
ThanksHi
Shacharl,
As the issue is more related to Visual Studio Online (VSO), for quick and accurate answer, I would like to recommend you post the question in the Visual Studio Online
forum at
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=TFService .
You can also check the following similar articles about deployment to Azure via VSO.
Deployment to Azure from VS 2012 Via VSO
https://pasp65.wordpress.com/2014/01/10/deployment-to-azure-from-vs-2012-via-tfs/
Continuous delivery to Azure using Visual Studio Online
http://azure.microsoft.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso/
Thanks,
Lydia Zhang
If you have any feedback on our support, please click
here.
Lydia Zhang
TechNet Community Support -
Querying an SQL Database from ABAP
Is is possible from within ABAP in R/3 (or NetWeaver) to query a non-SAP database? For example, can I write ABAP code which will go after data in say a non SAP DB2 database at some remote location?
KevinHi
Connecting to an External database from SAP
Step 1: Create an entry for the External database in DBCON table using Trxn: DBCA.
Table: DBCON (Description of Database Connections)
Field Name Description Value (For: E.g.:)
CON_NAME Logical name for a database connection RAJ
DBMS Database system MSS
USER_NAME Database user <username>
PASSWORD Password for setting up the connection to the database <pwd>/<pwd>
CON_ENV Database-specific information for a database connection MSSQL_SERVER=depotserver MSSQL_DBNAME=HOF_INDORE
DB_RECO Availability type for an open database connect
Step 2: Now you can write code to connect to the external database
Your Sample code can be something like this
DATA: BEGIN OF wa,
c_locid(3),
c_locname(50),
c_locstate(5),
END OF wa.
EXEC SQL.
CONNECT TO 'RAJ' AS 'V'
ENDEXEC.
EXEC SQL.
SET CONNECTION 'V'
ENDEXEC.
*- Get the data from MS-SQL Server
EXEC SQL.
open C1 for
select
loc_id,
loc_name,
loc_state
from ho_loc_mast
ENDEXEC.
DO.
EXEC SQL.
FETCH NEXT C1 into :wa-c_locid, :wa-c_locname, :wa-c_locstate
ENDEXEC.
IF sy-subrc = 0.
PERFORM loop_output.
ELSE.
EXIT.
ENDIF.
ENDDO.
EXEC SQL.
CLOSE C1
ENDEXEC.
*& Form LOOP_OUTPUT
Output
FORM loop_output .
WRITE: /5 wa-c_locid, 10 wa-c_locname, 65 wa-c_locstate.
CLEAR wa.
ENDFORM. " LOOP_OUTPUT
Regards
Raj -
Link my website (Zend Framework 1.12) with SQL database on Azure
Hello community!
Recently I uploaded my website on Azure portal. I built my website with Zend Framework 1.12.
My problem comes when i am trying to link my website with my SQL database.
I have already post a question to Stackoverflow stackoverflow.com/questions/20638706/link-zend-framework-1-12-on-azure-with-a-database-on-azure
Can anyone help me to running over with this problem?
Thanks in advance!I have already tried this, but i received error and my website doesn't load!
This is my whole cone in application.ini file
[production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
includePaths.library = APPLICATION_PATH "/../library"
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 1
resources.view.encoding = "UTF-8"
resources.view.doctype = "XHTML1_STRICT"
resources.view.contentType = "text/html;charset=utf-8"
resources.view[] = ""
autoloaderNamespaces[] = "Skoch_"
resources.db.adapter="pdo_mysql"
resources.db.params.host="Server_Name.database.windows.net"
resources.db.params.port=1433
resources.db.params.username="login_name"
resources.db.params.password="password"
resources.db.params.dbname="Database_name"
resources.db.isDefaultTableAdapter=
true
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
[staging : production]
resources.frontController.params.displayExceptions = 1
[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1 -
Remove decommissioned SQL database from SCOM
Hi,
In SCOM 2007 R2, we have few SQL databases which have been decommissioned & removed but, they are still in Healthy state in SCOM.
How can I remove these entries from SCOM? I want to remove only the databases.
TIA.Try this -
1) Log in to those SQL servers
2) Stop System center management(SCOM health) service.
3) Rename Health Service State folder located at "c:\programfiles\system center operations manager\agent\Health Service State:.
4) Restart System center management(SCOM health) service.
5) Wait for few minutes so that discoveries can run again and then check in the SCOM console. Those Databases should go away now.
Please let me know if this did not help or if this is not what you are looking for.
Thanks, S K Agrawal -
Protect SQL database from untrusted domain
Hello,
I have some problems protecting a SQL 2008 SP3 database from untrusted domain with DPM 2012 R2 RU3.
When I try to protect the databases, it does not appear in the tree to select them, also when I try to recover a database into untrusted domain it doesnt appear in the tree.
The NT Authority\System has sysadmin permissions, I have all TCP ports open and the following UDP ports: 389,88,netbios-dgm,netbios-ns.
Any idea ?Hi
Is this sql Server part of Sql Server Cluster or a standalone Sql Server?
Regards, Trinadh [MSFT] This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights. If you found the reply helpful, please &quot;MARK IT AS ANSWER&quot;. Looking for source of information for DPM?
http://blogs.technet.com/b/dpm/ http://technet.microsoft.com/en-in/library/hh758173.aspx -
Unable to create SQL database in Azure
Hi,
I have an Azure free trial account. However, it doesn't allow me to create a Basic tier SQL database on the management portal, but shows an error saying 'the operation is not supported for your subscription offer type'. My free trial only started today.
Could you please tell me how I can resolve this issue. Thank you.Hi tinkertest,
Based on my research, the error you saw should only occur for a subscription used with a free trial offer type. Please use the below link to open a support ticket.
http://azure.microsoft.com/en-us/support/options/
You can check the following links for similar issues.
The operation is not supported for your subscription offer type
Can't change performance level S1 to S2.
"The operation is not supported for your subscription offer type."
Thanks,
Lydia Zhang
Maybe you are looking for
-
Item Text in Service notification
Hi Expert, I am working on Service notification, i am creating notification by using BAPI_ALM_NOTIF_CREATE, I an filling NOTITEM(Notification item for creation) table with valid REFOBJECTKEY and discription in DESCRIPT field. This is not updating the
-
High Level language Interprete​r in labVIEW?
This is a question of curiously: is anyone aware of any high level language interpreters written in LabVIEW? I recently wrote my own BASIC like language interpreter as part of a custom LabVIEW test suite to allow scripting without needed to edit th
-
HT201363 Please help me.thank you so much
I forgot my answer of security questions with account Please help me to get it back.thank you so much <Email Edited by Host>
-
I'm continue to troubleshoot OPC connectivity via Shared Vairables. I've attached the error log output by LabView. Any ideas on the proper fix for this? I'm assuming it's making the proper registry entries, but I'm not sure where to begin. The errors
-
CCM 4.1(3) 2851 12.4(25b) User at remote site tries to transfer a call from the PSTN to another site. Call arrives at remote phone, but no audio in either direction. (No re-order or anything, just dead air) Call information appears on destination p