[{"data":1,"prerenderedAt":335},["ShallowReactive",2],{"cli-docs-navigation":3,"cli-docs-page:\u002Fgscdump-cli\u002Fapi\u002Fsync":129},[4],{"path":5,"title":6,"children":7,"stem":128,"page":16},"\u002Fgscdump-cli","gscdump CLI",[8,43],{"path":9,"title":10,"children":11,"stem":41,"page":42},"\u002Fgscdump-cli\u002Fapi","Api",[12,17,21,25,29,33,37],{"path":13,"title":14,"stem":15,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Fcommands","Commands","api\u002F1.commands",true,{"path":18,"title":19,"stem":20,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Fquery","Query","api\u002F2.query",{"path":22,"title":23,"stem":24,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Fexport","Export","api\u002F3.export",{"path":26,"title":27,"stem":28,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Fsync","Sync","api\u002F4.sync",{"path":30,"title":31,"stem":32,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Fbing","Bing","api\u002F5.bing",{"path":34,"title":35,"stem":36,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Fanalyzers","Analyzers","api\u002F6.analyzers",{"path":38,"title":39,"stem":40,"page":16},"\u002Fgscdump-cli\u002Fapi\u002Freports","Reports","api\u002F7.reports","gscdump-cli\u002Fapi",false,{"path":44,"title":45,"children":46,"stem":127,"page":42},"\u002Fgscdump-cli\u002Fguides","Guides",[47,64,77,110],{"path":48,"title":49,"children":50,"stem":63,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fstart","Start",[51,55,59],{"path":52,"title":53,"stem":54,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fstart\u002Ffirst-result","First result","guides\u002F1.start\u002F1.first-result",{"path":56,"title":57,"stem":58,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fstart\u002Fchoose-access","Choose access","guides\u002F1.start\u002F2.choose-access",{"path":60,"title":61,"stem":62,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fstart\u002Fconnect-an-agent","Connect an agent","guides\u002F1.start\u002F3.connect-an-agent","guides\u002F1.start\u002Findex",{"path":65,"title":66,"children":67,"stem":76,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fuse-data","Use data",[68,72],{"path":69,"title":70,"stem":71,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fuse-data\u002Fbuild-history","Build history","guides\u002F2.use-data\u002F1.build-history",{"path":73,"title":74,"stem":75,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fuse-data\u002Fquery-and-export","Query and export","guides\u002F2.use-data\u002F2.query-and-export","guides\u002F2.use-data\u002Findex",{"path":78,"title":79,"children":80,"stem":109,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic","Investigate traffic",[81,85,89,93,97,101,105],{"path":82,"title":83,"stem":84,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Fweekly-triage","Weekly triage","guides\u002F3.investigate-traffic\u002F1.weekly-triage",{"path":86,"title":87,"stem":88,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Ftraffic-drop","Traffic drop","guides\u002F3.investigate-traffic\u002F2.traffic-drop",{"path":90,"title":91,"stem":92,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Flow-ctr","Low CTR","guides\u002F3.investigate-traffic\u002F3.low-ctr",{"path":94,"title":95,"stem":96,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Fbrand-traffic","Brand traffic","guides\u002F3.investigate-traffic\u002F4.brand-traffic",{"path":98,"title":99,"stem":100,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Fimpressions-no-clicks","Impressions, no clicks","guides\u002F3.investigate-traffic\u002F5.impressions-no-clicks",{"path":102,"title":103,"stem":104,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Fgrowth-trends","Growth trends","guides\u002F3.investigate-traffic\u002F6.growth-trends",{"path":106,"title":107,"stem":108,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Finvestigate-traffic\u002Fdevice-gaps","Device gaps","guides\u002F3.investigate-traffic\u002F7.device-gaps","guides\u002F3.investigate-traffic\u002Findex",{"path":111,"title":112,"children":113,"stem":126,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fcheck-visibility","Check visibility",[114,118,122],{"path":115,"title":116,"stem":117,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fcheck-visibility\u002Fpage-overlap","Page overlap","guides\u002F4.check-visibility\u002F1.page-overlap",{"path":119,"title":120,"stem":121,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fcheck-visibility\u002Findexing-evidence","Indexing Evidence","guides\u002F4.check-visibility\u002F2.indexing-evidence",{"path":123,"title":124,"stem":125,"page":16},"\u002Fgscdump-cli\u002Fguides\u002Fcheck-visibility\u002Fgoogle-and-bing","Google and Bing","guides\u002F4.check-visibility\u002F3.google-and-bing","guides\u002F4.check-visibility\u002Findex","gscdump-cli\u002Fguides","index",{"title":27,"description":130,"body":131,"id":330,"path":26,"stem":28,"extension":331,"seo":332,"_source":333,"sitemap":334},"Sync and backfill Google Search Console data with gscdump.",{"toc":132,"nodes":136,"frontmatter":326,"meta":327},{"links":133,"title":134,"searchDepth":135,"depth":135},[],"",3,[137,141,290],[138,139,27],"h1",{"id":140},"sync",[142,143,147],"pre",{"language":144,"class":145,"tabindex":146},"bash","rangi shiki shj-lang-bash",0,[148,149,151,161,162,161,167,161,172,161,180,161,182,161,187,161,192,161,194,161,199,161,209,161,211,161,216,161,221,161,223,161,228,161,252,161,259,161,261,161,266,161,271,161,273,161,278,161,286],"code",{"class":150},"language-bash",[152,153,156],"span",{"class":154,"style":155},"line","display: inline",[152,157,160],{"class":158,"style":159},"shj-syn-cmnt shj-cmnt","--shiki-light:#57606a;--shiki-default:#57606a;color:#57606a;--shiki-dark:#8b949e","# Default: catch every table and search type up to the latest final date.","\n",[152,163,164],{"class":154,"style":155},[152,165,166],{"class":158,"style":159},"# A table with no history starts 28 days back. Newest dates come first.",[152,168,169],{"class":154,"style":155},[152,170,171],{"class":158,"style":159},"# Also saves sitemaps and inspects up to 50 due URLs. Skips completed dates.",[152,173,174,179],{"class":154,"style":155},[152,175,178],{"class":176,"style":177},"shj-syn-func shj-func","--shiki-light:#8250df;--shiki-default:#8250df;color:#8250df;--shiki-dark:#d2a8ff","gscdump"," sync --site example.com",[152,181],{"class":154,"style":155},[152,183,184],{"class":154,"style":155},[152,185,186],{"class":158,"style":159},"# Backfill the 16 months Google keeps, plus 14 days Google often still serves",[152,188,189,191],{"class":154,"style":155},[152,190,178],{"class":176,"style":177}," sync --site example.com --full",[152,193],{"class":154,"style":155},[152,195,196],{"class":154,"style":155},[152,197,198],{"class":158,"style":159},"# Cap one run at 2,000 Search Analytics calls; the next run continues",[152,200,201,203,204],{"class":154,"style":155},[152,202,178],{"class":176,"style":177}," sync --site example.com --full --max-calls ",[152,205,208],{"class":206,"style":207},"shj-syn-num shj-num","--shiki-light:#0550ae;--shiki-default:#0550ae;color:#0550ae;--shiki-dark:#79c0ff","2000",[152,210],{"class":154,"style":155},[152,212,213],{"class":154,"style":155},[152,214,215],{"class":158,"style":159},"# Every verified Site, one after another",[152,217,218,220],{"class":154,"style":155},[152,219,178],{"class":176,"style":177}," sync --all-sites",[152,222],{"class":154,"style":155},[152,224,225],{"class":154,"style":155},[152,226,227],{"class":158,"style":159},"# Custom range",[152,229,230,232,233,236,237,236,240,243,244,236,246,236,248,251],{"class":154,"style":155},[152,231,178],{"class":176,"style":177}," sync --site example.com --start ",[152,234,235],{"class":206,"style":207},"2026","-",[152,238,239],{"class":206,"style":207},"08",[152,241,242],{"class":206,"style":207},"01"," --end ",[152,245,235],{"class":206,"style":207},[152,247,239],{"class":206,"style":207},[152,249,250],{"class":206,"style":207},"31"," \\",[152,253,254,255,258],{"class":154,"style":155},"  ",[152,256,257],{"class":176,"style":177},"--tables"," pages,queries,page_queries,countries,dates",[152,260],{"class":154,"style":155},[152,262,263],{"class":154,"style":155},[152,264,265],{"class":158,"style":159},"# Coverage, missing and failed dates per table, and a running sync",[152,267,268,270],{"class":154,"style":155},[152,269,178],{"class":176,"style":177}," sync --site example.com --status",[152,272],{"class":154,"style":155},[152,274,275],{"class":154,"style":155},[152,276,277],{"class":158,"style":159},"# Limit concurrent day requests per table",[152,279,280,282,283,251],{"class":154,"style":155},[152,281,178],{"class":176,"style":177}," sync --site example.com --concurrency ",[152,284,285],{"class":206,"style":207},"4",[152,287,254,288,258],{"class":154,"style":155},[152,289,257],{"class":176,"style":177},[291,292,293,294,297,298,301,302,304,305,307,308,311,312,315,316,321,322,325],"p",{},"Sync skips completed dates; ",[148,295,296],{},"--force"," refreshes them.\nA day Google still updates stays ",[148,299,300],{},"pending",", and the next sync fetches it again.\nSync records Google calls in a quota ledger in the Store directory.\nIf Google refuses a call for quota, sync stops, keeps the rest ",[148,303,300],{},", and exits 0. The next run continues.\nCross-process locks coordinate ",[148,306,140],{},", ",[148,309,310],{},"compact",", and ",[148,313,314],{},"gc",".\nPagination requests up to 25,000 rows per page and continues until Google returns an empty page, subject to ",[317,318,320],"a",{"href":319},"https:\u002F\u002Fdevelopers.google.com\u002Fwebmaster-tools\u002Fv1\u002Fhow-tos\u002Fall-your-data","Google's data limits",". Short nonempty pages do not finish a date. Terminal-page requests count toward the quota ledger and ",[148,323,324],{},"--max-calls","; if a read fails or the budget stops the run before completion, the previous stored date remains intact.",{"title":27,"description":130},{"title":27,"toc":328},{"title":134,"searchDepth":135,"depth":135,"links":329},[],"cliDocs\u002Fapi\u002F4.sync.md","md",{"title":27,"description":130},"\u002Fopt\u002Factions-runner\u002F_work\u002Fgscdump.com\u002Fgscdump.com\u002Fnode_modules\u002F.cache\u002Fcomark-content\u002Fgit\u002Fd100867c457f148bef5f\u002Fdocs\u002Fgscdump-cli\u002Fapi\u002F4.sync.md",{"loc":26},1794983848643]