Synchronizing the Tenant Database with the Application Database
This article describes how to synchronize the business data (tenant) database schema with the application database in either a single tenant (non-multitenant) or multitenant deployment environment. You can synchronize the database from the Dynamics NAV Development Environment or by using the Sync-NAVTenant cmdlet in the Business Central Administration Shell.
Synchronize database from the Dynamics NAV development environment
APPLIES TO: Business Central Spring 2019 and earlier.
Open development environment as an administrator.
On the Tools menu, choose Sync. Schema For All Tables, and then choose With Validation and follow the schema synchronization instructions.
Synchronize database with the Sync-NAVTenant cmdlet
On the computer that is running the Business Central Server, run Business Central Administration Shell as an Administrator.
Choose Start, in the Search box, type Business Central Administration Shell.
Right-click the related link, and then choose Run as Administrator.
At the command prompt, type one of the following commands:
If the Business Central Server instance isn't configured to be a multitenant instance:
Sync-NAVTenant –ServerInstance <ServerInstanceName>
If the Business Central Server instance is configured to be a multitenant instance:
Sync-NAVTenant –ServerInstance ServerInstanceName -Tenant TenantId
Change the following parameter values.
Parameter Description ServererInstanceName Specifies the Business Central Server instance. TenantId Specifies the ID of the tenant. Select Enter to run the cmdlet.
See Also
Converting a Database.md
Upgrading the Database
Multitenant Deployment Architecture
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기