Migration Procedure from Pleasanter's Database (SQL Server) to Different Environments
Cautions¶
- This procedure assumes Windows Server 2019 OS and SQL Server DB environment.
Backup data from the source of migration¶
- Log in to the source environment.
- Launch SQL Server Management Studio and log in.
- Right-click "Database" → "Implem.Pleasanter" and select "Task" → "Export Data-tier Application".
- Click the "Browse" button under "Save to Local Disk", enter a file name, and click "Next".
- Click "Finish".
- Once the export is complete, verify that a file with a bacpac extension has been created.
Migrate data to the destination¶
- Log in to the destination environment.
- Copy the bacpac file from the source computer to the destination computer.
- Install Pleasanter in the destination environment.
- Installation procedure is here.
- Launch SQL Server Management Studio and log in.
- Right-click "Database" → "Implem.Pleasanter" and click "Delete".
- A dialog will appear, so confirm that the "Connection" field shows the target server.
- Be cautious as performing this operation in the wrong environment may result in unintended data loss.
- Check "Close existing connections" and click "OK".
- Right-click "Database" and click "Import Data-tier Application".
- Click the "Browse" button for "Import from Local Disk" and select the bacpac file.
- Click the "Next" button.
- Specify "Implem.Pleasanter" in "New Database Name" and click "Next".
- Click "Finish".
- Once the data migration is complete, use a tool like WinMerge to check the differences between the source and destination Parameters.
- Merge the source Parameters settings into the destination Parameters and restart IIS.
- For customers who have subscribed to Enterprise Edition, please migrate the license file as well.
- Log in to Pleasanter and confirm that the data has been migrated.