A Snapshot Tool for Google Drive: Meta Muse Built a Free Script That Backs Up About 6,000 Files Weekly, Monthly or Yearly
- Level Intermediate
- Setup1–3 hrs (estimated)
- Evidence Some evidence
- CostNot stated in source
- No-codeNo
What they did
Worried your agent might mess up your Drive? This user lets Muse organize his Google Drive, then got nervous something would be deleted. Drive can't put a folder back to how it was last week, so he had Muse build a snapshot tool: one Apps Script file that copies chosen folders into a snapshots folder weekly, monthly or yearly, keeps shortcuts as shortcuts, and resumes itself around the 6-minute script time limit. Its first big run was about 6,000 items. He shared the code on GitHub for free.
How it went
Dated snapshots of your Drive folders you can roll back to.
Worth knowing
- One Reddit comment with a public GitHub repo. Copies count against your Drive storage. Test on a small folder before running it on everything.
Prompt
Cleaned version rewritten from the source — not a direct quote.
Write me a Google Apps Script that copies [folders] in my Google Drive into a [Snapshots] folder, dated, on a [weekly] schedule, and keeps the last [N] copies. Shortcuts should stay shortcuts. It must pick up where it left off when it hits the 6-minute time limit. Walk me through installing it, and run it once on a small test folder first.
Recommended
Try it in Grok Bot
Grok Bot can write and install the same Apps Script snapshot tool.
- Copy the prompt (button below).
- Open Grok Bot chat and paste it. Replace any [bracketed] placeholders.
- Connect the listed tools (Google Drive, GitHub) as connectors when Grok Bot asks.
- If the task repeats, ask: "Make this a daily routine."
Alternatives: the same prompt works in Meta Muse, Claude, ChatGPT Agent, OpenClaw.
Set it up
Tools: Google Drive, GitHub · Stack: Meta Muse + Google Apps Script + Google Drive
- Read the original source for full context.
- Connect the tools your agent needs.
- Paste the prompt and replace [bracketed] placeholders.
- Run once manually and check the output before scheduling it.
Generic suggested steps, not from the source.
Evidence
First-hand Reddit comment in r/MuseAgent with code on GitHub (JorgeDaboub/Gdrive-Time-Travel): Apps Script snapshot tool, resumes around 6-minute limit, first run about 6,000 items. Free and open, nothing sold
Source: Reddit · 2026-10-22 · Verified by us: not yet · Report broken or outdated