Weekly Sheets Backup: timestamped copies of your business-critical spreadsheets, kept tidy
An n8n workflow that exports your most important Google Sheets — the CRM, the orders log, the bookkeeping — as timestamped Excel files into a dated Google Drive folder every Sunday night, keeps the last 12 weeks, and deletes older copies automatically.
- 1
List what deserves protection
A
Codenode holds the array of spreadsheet IDs and friendly names — CRM, orders, bookkeeping, inventory. Adding a sheet to the backup set is a one-line edit. - 2
Export every Sunday 23:00
A
Schedule Triggerloops the list through Google's export endpoint (.../export?format=xlsx) via anHTTP Requestnode using your existing Google credential. Each file downloads as binary, namedcrm_2026-06-15.xlsx. - 3
Upload into a dated folder
A
Google Drivenode ensures/Backups/2026-06-15/exists and uploads each file there. One folder per week keeps restores obvious: open the date you want, download, done. - 4
Prune and confirm
A
Google Drivesearch lists folders under /Backups older than 12 weeks and deletes them. A finalTelegrammessage —🗄️ 4 sheets backed up (2.1 MB) · 12 weeks retained— confirms the run. Silence from this workflow is the only alert you need to investigate.
Frequently asked questions
Doesn't Google Sheets have version history already?
It does, and it saves you from most accidents — but it lives inside the same document and the same account. It won't help when the file itself is deleted or the account is compromised, and restoring a single tab's state from six weeks ago via version history is an archaeology project. An exported .xlsx snapshot is a real, independent copy.
Why keep 12 weeks and not everything?
Because backups nobody prunes become a junk drawer nobody trusts. Twelve weekly snapshots cover a quarter — enough to recover from slowly-discovered damage — while staying navigable. Change one number in the Code node if your compliance needs differ.
Can the copies go somewhere other than Drive?
Yes — swap the upload node for Dropbox, S3, or FTP (n8n has nodes for each). Same-cloud backups protect against deletion and mistakes; a different provider also protects against account-level lockout. For business-critical sheets, doing both is cheap.