SQL server express on-prem to AWS RDS sql server

Narayan S 1 Reputation point
2021-03-31T08:49:20.26+00:00

Hello

I am trying to migrate an SQL express server on-prem to AWS RDS sql server using native backup and restore. Now the error being thrown to us is "exception: Restore database failed as the recovery model of the database being restored is not full: SIMPLE. Please update the recovery model and try again!"

When on analyzing the RDS and sql server the recovery model supported by RDS is 'Full' while SQL server on prem is now in 'SIMPLE'. If we change the on-prem recovery model to 'Full' do we have to perform any pre-requisite steps and whether it will affect the existing sql on-prem server logs in anyway.
Please provide your inputs and if any of you have done the same before, please let us know the challenges faced and best approach to be taken to complete the migration.

SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
568 questions
{count} votes

2 answers

Sort by: Most helpful
  1. CarrinWu-MSFT 6,891 Reputation points
    2021-04-01T06:08:17.147+00:00

    Hi @Narayan S ,

    If we change the on-prem recovery model to 'Full' do we have to perform any pre-requisite steps and whether it will affect the existing sql on-prem server logs in anyway.

    1.Before you change the recovery model from Simple to Full, please make a Full Database Backup for your databases which you need change the recovery model.
    2.After you change the recovery model to Full recovery model, immediately take a full or differential database backup to start the log chain. The switch to the full recovery model takes effect only after the first data backup.
    3.Schedule regular log backups, and update your restore plan accordingly. Please remember to back up log, if you do not back up the log frequently enough, the transaction log can expand until it runs out of disk space.

    Please get more information from View or Change the Recovery Model of a Database (SQL Server)

    Best regards,
    Carrin


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Teko 1 Reputation point
    2022-06-24T03:30:11.027+00:00

    @CarrinWu-MSFT excelent, i can fix the problem, thank you.

    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.