a227aed0cbe9e40a66410e4f2ddb2e8818dfadbe
- New `sync.fullsync` CLI: `python -m sync.fullsync config.yaml [--db F] [--table T] [--clear-change-log]` - AccessReader: list_user_tables / read_all_rows / read_all_log_ids - SqlWriter: table_exists / truncate_target (TRUNCATE w/ DELETE fallback) / bulk_insert (SET IDENTITY_INSERT + chunked fast_executemany) - Reuses FileMapping exclude/include rules (exclude beats include, same as capture) - Preserves Access IDs via IDENTITY_INSERT; target schemas have no FKs so TRUNCATE is safe - TableChangeLog NOT cleared by default (opt-in --clear-change-log) - tests/test_fullsync.py covers resolve_tables exclude/include precedence
ProductionDataBaseSync_DataMacro
Access → SQL Server 增量同步(数据宏驱动)。详见 docs/superpowers/specs/2026-07-14-access-datamacro-sync-design.md。
运行
.venv/Scripts/python.exe -m sync.service
配置
编辑 config.yaml(从 config.example.yaml 复制并填入真实凭据)。
Description
Languages
Python
83.8%
TSQL
16.1%
Batchfile
0.1%