Reference · the tools
set_session_backup
What it does
Set where an account's boxes copy their Claude sessions: an S3 bucket, its region, the role boxes take on (made as session_backup describes), and each box's folder. Every box of the account picks it up within five minutes. Then call test_session_backup. Replaces any setting the account had.
What it needs to know
- account · optional
- Whose: "me" (the user's own account, the default) or a family's or organization's name ("hemlane"). Only the user's own, or one they are an admin of.
- bucket
- The S3 bucket: "acme-claude-sessions".
- region
- Its AWS region: "us-west-2".
- role_arn
- The role each box takes on: "arn:aws:iam::123456789012:role/bettik-sessions".
- folder · optional
- Each box's folder, from {box_id} (never repeats), {box_name} ("home.frank"), {account} and plain text: "sessions/{box_name}". Default "{box_id}". Bettik adds the date, the session and its last-used time, so nothing is overwritten.
Where it lands
On the box it names.