Before you run
Connect to the whitelisted Wi-Fi / network that can reach the replica databases.
Open a terminal and go to the repo: cd /path/to/db-sync-cc
Load config once per session: source agent/config.env
Build a command below, copy it, and paste it into that terminal.
Common commands
Frequently used, ready to copy.
Daily sync — all staccs
./agent/run_stacc_ops.sh daily
Copy
Daily sync — one stacc (example: IDFC Shopstacc)
STACC=idfc_ss ./agent/run_stacc_ops.sh daily
Copy
Monday routine — status refresh, then verify
./agent/run_stacc_ops.sh weekly-status
./agent/run_stacc_ops.sh verify
Copy
Verify — full results table (all rows)
./agent/run_stacc_ops.sh verify -- --count-only --show-all
Copy
How this works now
Syncs run from a terminal on the whitelisted network, not from this page. Use
Master Actions to build the exact command, and use the pages here to manage
configuration (brands, sources, BigQuery profiles, table syncs).
Configuration summary
Connect admin (top-right) to load counts.
Brands -
Sources -
BQ Profiles -
Table Syncs -
Admin needed
Use the top-right Admin button to connect, then this page unlocks.
Brands
Refresh
Add New Brand
Brand ID Name Slug Enabled Updated Actions
Admin needed
Use the top-right Admin button to connect, then this page unlocks.
Source Profiles
Refresh
Add New Source
Source ID Brand ID DB Host DB Name Enabled Actions
Admin needed
Use the top-right Admin button to connect, then this page unlocks.
BQ Profiles
Refresh
Add New BQ Profile
BQ ID Brand ID Project Raw Dataset Mart Dataset Enabled Actions
Admin needed
Use the top-right Admin button to connect, then this page unlocks.
Table Syncs
Refresh
Add New Table Sync
Job ID Table Type Brand Paused Needs Attention Updated Actions
Recent Creates