Como realizar un backip en mi PC de una base de datos SQL Azure

Joseph Buttgenbach 1 Reputation point
2023-01-03T22:00:27.283+00:00

Buenas tardes,
Por favor su ayuda, ando intentando hacer una backup en mi PC desde una base de datos SQL Azure.
Saludos,
Joseph
Lima

Using Bing Translator
Question Title: How to backup my PC of an Azure SQL database

Question body: Please your help, I'm trying to make a backup on my PC from an Azure SQL database.
Best regards

Azure SQL Database
{count} votes

2 answers

Sort by: Most helpful
  1. GeethaThatipatri-MSFT 29,557 Reputation points Microsoft Employee Moderator
    2023-01-04T00:27:42.967+00:00

    Hi, @Joseph Buttgenbach Welcome to the Microsoft Q&A platform, thanks for posting the question
    Unfortunately, this forum is only offered in English at this time.I have translated your question into English.
    You can follow this document to export data from the Azure portal or by using SSMS

    275816-image.png

    From SSMS you can also check this blog here

    Please let me know if you need any additional information.

    Regards
    Geetha

    0 comments No comments

  2. Alberto Morillo 34,686 Reputation points MVP Volunteer Moderator
    2023-01-04T02:50:29.957+00:00

    Answer in English

    In addition to procedure shared by Geetha, you can create a local bacpac of the Azure SQL Database using Poweshell.

    $exportRequest = New-AzSqlDatabaseExport -ResourceGroupName $ResourceGroupName -ServerName $ServerName `  
      -DatabaseName $DatabaseName -StorageKeytype $StorageKeytype -StorageKey $StorageKey -StorageUri $BacpacUri `  
      -AdministratorLogin $creds.UserName -AdministratorLoginPassword $creds.Password  
    

    or using sqlpackage utility:

    SqlPackage /Action:Export /SourceServerName:SampleSQLServer.sample.net,1433  
      
    /SourceDatabaseName:SampleDatabase /TargetFile:"F:\Temp\SampleDatabase.bacpac"  
    

    Respuesta en Español.

    En adición al procedimiento que te ha compartido Geetha en su respuesta, también puedes usar PowerShell

    $exportRequest = New-AzSqlDatabaseExport -ResourceGroupName $ResourceGroupName -ServerName $ServerName `  
      -DatabaseName $DatabaseName -StorageKeytype $StorageKeytype -StorageKey $StorageKey -StorageUri $BacpacUri `  
      -AdministratorLogin $creds.UserName -AdministratorLoginPassword $creds.Password  
    

    o usar un utilitario llamado sqlpackage que puedes descargar aquí.

    SqlPackage /Action:Export /SourceServerName:SampleSQLServer.sample.net,1433  
      
    /SourceDatabaseName:SampleDatabase /TargetFile:"F:\Temp\SampleDatabase.bacpac"  
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.