using New-AzureRmSqlDatabaseImport for importing database in azure sql database

  • Hi all,

    I am trying to find out when using the following New-AzureRmSqlDatabaseImport cmdlet to create a new database from bacpac file. This is all being done on Azure. There is a parameter called "DatabaseMaxSizeBytes <Int64>". In many examples, people are putting 5000000 value in it but no one is explaining how they come up with this number.
    Lets say I have a DB of size 100GB, what should I put it there in the value?
    Can someone please help me?
    Thanks,
    B

  • qur7 - Thursday, October 19, 2017 2:06 PM

    Hi all,

    I am trying to find out when using the following New-AzureRmSqlDatabaseImport cmdlet to create a new database from bacpac file. This is all being done on Azure. There is a parameter called "DatabaseMaxSizeBytes <Int64>". In many examples, people are putting 5000000 value in it but no one is explaining how they come up with this number.
    Lets say I have a DB of size 100GB, what should I put it there in the value?
    Can someone please help me?
    Thanks,
    B

    So 100GB to bytes = 107374182400

  • Thanks You

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply