仕事
Back up the bot VM to R2 (or B2) every 15 minutes
Git + a reinstall script is not enough when a bot VM wipe also eats workspace files.
困っていたこと
Sun of Dog (@thesunofdog) learned the hard way: git origin for code plus a setup script for installed software still left ~3.6 GB of agent state, transcripts, and generated files unprotected. A vendor VM wipe after a Grok Bot upgrade cost five days of work and ~$300 in recovery tokens. Tip with author-published steps. Not affiliated with xAI.
インストールまたは作成するもの
Ask the bots to pipe full box state to Cloudflare R2 on a deterministic 15-minute schedule (B2 as a second pipe). Keep git for code; R2 for the rest.
ボット
新しいボットはありません。初回の手順に従ってください。
プラグイン
初日から入れるものはありません。初回の手順に従ってください。
ルーティン
初回の実行では使いません。まず手動で1回通して確認してください。
プロンプト
これはヒントであり、貼り付けられるシステムプロンプトではありません。作者はプロンプトを公開していません。初回の手順に従ってください。
初回実行
- 1Read https://x.com/thesunofdog/status/2106138803702472919 (credit @thesunofdog).
- 2Keep git for code; list the non-git paths that matter (agent state, transcripts, generated files).
- 3Ask your bots to set up a Cloudflare R2 (or Backblaze B2) backup of those paths — at ~3.6 GB the R2 free tier often covers it.
- 4Schedule a deterministic backup every 15 minutes that does not burn chat tokens.
- 5Do one restore drill on a spare folder before you trust the pipe; add a second B2 pipe later if you want redundancy.
承認フェンス
Confirm what leaves the box (paths, secrets scrub) before the first live backup upload.
調整ポイント
Steal the R2/B2 backup pipe. Free at a few GB, no tokens burned on the schedule.
出典
Sun of Dog @thesunofdog · 元の投稿
xAI とは提携していません。このプロンプトは当サイトが書いたものではありません。第三者テンプレートの規約も適用されます。
Pro パック
アイデアだけでなく、完全な構成が必要ですか?
Pro パックには、人気ユースケースのジョブ本文、プロンプト、スケジュール、落とし穴が入っています。