Open Ratmaniac82 opened 1 week ago
Can you try to remove the -replaceExternalDatabases
switch and instead restore the databases beforehand, using:
Remove-BcDatabase `
-databaseServer $databaseServer `
-databaseInstance $databaseInstance `
-databaseName "$($databasePrefix)%"
Restore-BcDatabaseFromArtifacts `
-artifactUrl $artifactUrl `
-databaseServer $databaseServer `
-databaseInstance $databaseInstance `
-databasePrefix $databasePrefix `
-databaseName $databaseName `
-multitenant:$multitenant `
-sqlTimeout $timeout
Here, you can set the timeout on restore.
After this create the container with all the other parameters pointing to the database as before.
Please let me know if this works for you.
I've a timeout error when I try to restore an external database backup. Take care that DB to restore size is 50GB.
Scripts used to create container and cause the issue
Full output of scripts
Additional context