---
title: "Backup and restore for your AI assistant"
description: "Backup and restore for your AI assistant: old copies of files, a 30 day trash, earlier versions of its instructions and site backups you can test."
url: https://in-a-box.online/assistant/backups/
---
1.  [In a Box](https://in-a-box.online/)
2.  [The assistant](https://in-a-box.online/assistant/)

BACKUPS

# A way back for your files, the assistant and your sites

Old copies of files, a trash, earlier versions of the assistant’s instructions and, with WebDev (in a box), site backups you can test.

[See the plans](https://in-a-box.online/pricing/)

karkinos.local / files / trash

![The Files trash with three deleted items, a Suppliers folder, Tasting menu v3.docx and Whitby Fish Co price list.xlsx, each with where it came from and a Restore button. Example data.](https://in-a-box.online/img/files-trash.webp)

Someone saves over the price list. A change to the assistant’s instructions goes down badly. A site update breaks the contact form. Each has a way back built in, and you can ask the assistant to use the ones for files and sites.

Up to 20

old copies of each file

30 days

in the trash

A test restore

that changes nothing

01 · EVERY WAY BACK

## Five ways back, at a glance

What’s kept, how often or for how long, and how you get it back.

Every kind of backup on your server

Question

Old copies of files

The trash

The assistant’s instructions

Your websites

The whole box

What’s kept

The old copy, each time a file is saved over

Anything deleted in Files

Each change to its standing instructions, and every skill you import or approve

The database, the code with its full history, and a list of checksums

All of the box’s data, with each database dumped first

How many, how often

Up to 20 per file, for 90 days

30 days

Every change, as a version

As many as you choose, whenever you like or every day

Every day

How you get it back

Restore in Files, or ask the assistant

Put it back where it was, or ask the assistant

An admin rolls back on the Versions page

Test it first, then restore. The site as it was is kept too.

A restore loads each database from its dump, so it comes back whole

Which plans

Every plan

Every plan

Every plan

WebDev (in a box)

Every plan

02 · FILES

## Saved over it, or deleted it? Get it back

Files is part of the panel on every plan. Every file in it has its own old copies, and nothing deleted is gone straight away.

karkinos.local / files / shared

![The versions of Whitby Fish Co price list.xlsx in its details: four versions, each with its date, its size and who changed it, and a Restore button on each. Example data.](https://in-a-box.online/img/files-versions.webp)

[More on the Files page](https://in-a-box.online/files/)

### Saved over

Before the editor saves, a file is moved on top of another, or the assistant writes over one through Files, the old copy is kept.

Up to 20 per file, for 90 days

Restoring one keeps a copy of what it replaces, so the fix can be undone too. Old copies follow a file when it’s renamed or moved.

### Deleted

A deleted file or folder goes to the trash for 30 days. Put it back and it goes where it was, with a number on the name if that’s been taken.

Ask for it

The assistant can list a file’s old copies, put one back and bring things out of the trash.

03 · THE ASSISTANT

## Undo a change to how the assistant works

Its standing instructions keep their history, so a bad change can be taken back.

1.  ### Kept
    
    Each change to the assistant’s standing instructions is kept as a version, and so is every skill you import or approve.
    
2.  ### Compared
    
    Open a version on the Versions page and see what changed, line by line.
    
3.  ### Tested
    
    A change can be tried against the tests you’ve written for it before it goes live.
    
4.  ### Rolled back
    
    Roll back puts the version before it back in place.
    

Only admins can open Versions.

Your notes too. Planning runs on Trilium, which keeps its own daily and weekly copy of your notes.

karkinos.local / settings / versions

![The Versions page: one block of the assistant’s standing instructions with its versions, each with date, who and live or old, Roll back to the one before, and Propose a change. Example data.](https://in-a-box.online/img/settings-versions.webp)

04 · YOUR WEBSITES

## Site backups you can test before you need them

With WebDev (in a box), each site can be backed up off the server, every day if you switch it on.

A backup, a restore or a failed test fires an event, so a rule of yours can send you a note.

A site’s own page lists its releases, deploys and backups together.

And releases. Recent good builds of a site are kept, and going back a release is one step.

karkinos.local / tools / web-dev / sites / harbourfinch

![One site’s Backups tab: Back up now and Restore, then five dated backups, each copied to the backup destination, and which are still on the box. Example data.](https://in-a-box.online/img/site-backups.webp)

[WebDev (in a box)](https://in-a-box.online/webdev/)

1.  ### Choose where
    
    Pick a place off the server for the copies, through rclone, with its settings kept in the key store.
    
    -   ![rclone](https://in-a-box.online/img/connects/rclone.svg "rclone")
2.  ### What goes in
    
    The site’s database, its code with the full history, and a list of checksums.
    
3.  ### How many
    
    Keep as many as you choose. The newest one stays on the server as well.
    
4.  ### When
    
    Back a site up whenever you like, or switch on a daily run for every site at 03:15.
    
5.  ### Test it
    
    A test restore unpacks a backup into a scratch copy and counts what’s there. It changes nothing.
    
6.  ### Restore
    
    A real restore takes a snapshot of the site first, so the site as it was is kept too.
    

05 · JUST ASK

## Ask for it in plain words

The assistant can run a backup, test one or put a file back for you.

If you’d rather a restore waited for your yes, a rule can hold it until you say so.

karkinos.local / overview

![Sam asks for a backup of the Harbour & Finch site and a test of last night’s, then says the Suppliers folder was deleted, and the assistant answers both. Example data.](https://in-a-box.online/img/chat-backups.webp)

Sessions · Your assistantExample data

SamBack up the Harbour & Finch site now, then test last night’s backup.

AssistantIt runs both and tells you what it found.

AssistantBacked up. Last night’s backup unpacked into a scratch copy with the database and the files, and nothing on the site changed.

SamI deleted the supplier folder by mistake this morning.

AssistantIt finds the folder in the trash and puts it back where it was.

QUESTIONS

## Backups, answered

[Files](https://in-a-box.online/files/)[Rules and approvals](https://in-a-box.online/assistant/rules-and-approvals/)[WebDev (in a box)](https://in-a-box.online/webdev/)

How do I get back a file I deleted?

Open the trash in Files, or ask the assistant. A deleted file or folder stays there for 30 days and goes back where it was.

Can I undo saving over a file?

Yes. Before a file is saved over, the old copy is kept. Up to 20 are kept per file, for 90 days, and you can put any of them back.

Can I undo a change to the assistant’s instructions?

Yes. Each change to its standing instructions is kept as a version. An admin can see what changed, line by line, and roll back to the one before.

Are my websites backed up?

With WebDev (in a box) you choose a place off the server, and each site can be backed up whenever you like or every day. The newest copy stays on the server as well.

How do I know a site backup will work?

Run a test restore. It unpacks the backup into a scratch copy and counts what’s there, without changing the site.

What happens to my site when I restore it?

A snapshot of the site is taken first, then the backup goes back in place. If the restore isn’t what you wanted, the site as it was is still there.

Can the assistant restore things for me?

Yes. It can put back an old copy of a file, bring something out of the trash, and back up, test or restore a site. A rule can hold any of it for your yes.

Is the whole server backed up?

Yes. Every day the box backs up all of its data, and each database is dumped first so a restore loads cleanly. A cloud box’s whole server is backed up by the server it runs on as well. This page also covers the ways back you can use yourself.

Which plans include this?

Old copies of files, the trash and the assistant’s versions come with every plan. Site backups come with WebDev (in a box), with 20 GB for them.

What’s in the box’s daily backup?

All of its data: your files, the assistant’s memory and history, the task board, contacts, mail and your Planning notes. Each database is dumped first, so a restore brings it back whole.

Will I know if a site backup fails?

Yes, if you want to. A failed backup, restore or test fires an event, and a rule of yours can send you a note.

EVERY PLAN

## Mistakes you can take back

Old copies, the trash and versions come with every plan, from £250 a month. Site backups come with WebDev (in a box).

[See the plans](https://in-a-box.online/pricing/)
