Guide
Back up a SQLite database from your agent
Have your agent export a consistent backup of the SQLite database, then save that file to agentdrive. The backup is stored as an ordinary file. agentdrive does not run queries on it.
Get your free drive
Sign in at useagentdrive.com/signin. Your first drive is created for you: 500 MB, 25 MB per file.
Get a free driveConnect your agent
Add the MCP server to your client and authorize once. Each client has its own guide.
https://useagentdrive.com/mcp
Export a consistent backup first
Copying a database file while it is in use can give a broken copy. Use the SQLite backup command.
sqlite3 app.db ".backup backup.db"
Save the backup
Give your agent a prompt like this one. Files above 2 MB upload in chunks.
Run the SQLite backup, save backup.db to agentdrive with today's date in the name and tell me the file ID.
What agentdrive does and does not do
It stores the backup file and gives it back byte for byte. It keeps every backup until you delete it.
It does not host a running database, execute SQL or sync a live database.
To restore, the agent reads the file back with read_file in base64 chunks and writes it to disk.
Questions
- Can agentdrive run SQL on the backup?
- No. Database files and backups are ordinary stored files. Query them after downloading or reading them back.
- How large can a backup be?
- 25 MB per file on the free drive. 1 GB per file on the Drive plan, $9/month, with 50 GB in total.
- Should I share the backup link?
- Take care. Anyone holding a file link can read the file. Do not create or send a link for a backup with private data.
- Are old backups removed?
- No. Each save is a new file. Ask your agent to delete backups you no longer need.