简体   繁体   English

当将我的本地与本地服务器上的天蓝色数据同步时,将其删除

[英]When Sync my on premise with azure data on premise server gets deleted

I got a Sync between my on-premise server (bidirectional) and my azure db (hub) with the policy hubs win, so when i got new data into my on premise database and try to sync the Sync process deletes records from my on premise database. 我在本地服务器(双向)和我的azure数据库(集线器)之间通过策略中心赢得了同步,因此当我在本地数据库中获取新数据并尝试同步时,同步过程将从本地数据库中删除记录数据库。

i don't have any delete triggers in both tables(on premise or azure) i'm syncing multiple tables with columns selections i stop the sync automatically option and the deletes stops, but i did a test manually and continue to delete data on the on premise side and doesn't go to the azure database all the new data. 我在两个表中都没有任何删除触发器(前提条件或天蓝色),我正在同步多个具有列选择的表,我停止了自动同步选项,删除操作也停止了,但是我手动进行了测试并继续删除了在本地,并且不会将所有新数据都转移到Azure数据库中。

问题是策略设置,当我使用HUB时,当同步运行时,赢得了插入到本地服务器中的新数据时,该数据没有填充到其他数据库中,而是被删除了,因此我停止了该同步恢复。丢失了数据,然后重新创建了同步,但是有了策略,客户端获胜了,现在所有在内部获取的数据都传递给我的azure数据库,反之亦然。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM