Back up AnythingLLM Desktop on your Mac by finding its active storage folder, quitting the app, and copying the whole folder to a dated backup location. Verify the copied folder and key files before you move or update the original. Keep a note of the app version and original location with the backup.
AnythingLLM Desktop keeps several kinds of state in its local storage. Its documentation identifies the database, parsed documents, embedded indexes, uploads, and model files as separate parts. A local workspace can depend on several of those parts together. This guide creates a copy of that documented storage tree for safekeeping and checks the copy while the original remains available. AnythingLLM Desktop storage information.
Locate the storage folder from the running app
Open AnythingLLM Desktop and use the version area in its interface to choose Open storage, as documented by AnythingLLM. Finder should open the active storage directory. Note the displayed version and the folder path. The documented default location on macOS is shown below. Confirm the actual folder on your Mac before copying anything, particularly if you have worked from another account or kept copies from before a migration.
~/Library/Application Support/anythingllm-desktop/storage
Review the directory at a high level. The app’s documentation describes anythingllm.db as its SQLite database, documents as parsed content, lancedb as local vector data, and models as locally stored model files. Other folders can hold direct uploads, indexes, plugins, and logs. Record the actual parts you see. A folder absent from a setup you have never used can be expected. You are trying to copy the existing state, so do not create empty folders to make a checklist look complete.
A backup can contain your chat material, indexed document data, preferences stored under that tree, or records of app activity. Use a destination you control and can identify later. If your folder includes sensitive workspace material, choose a backup location with appropriate access. The app stores parsed document content as well as originals and uploaded files you may still keep elsewhere. Keep your original working documents separately if you need them as ordinary files.
Prepare a quiet starting point and a destination
Finish any indexing or import that is important to retain and let the app complete its current requests. Make a quick note in a harmless practice workspace if you want a known record for future recovery. For example, create or open a disposable workspace called Backup check and enter a short message with the code CEDAR-62. Record the message before quitting. Use a known workspace for this test instead of sending anything private.
Quit AnythingLLM Desktop. Keep its already-open Finder window showing the storage folder. Copying with the app closed reduces the chance that the database or index changes mid-copy. If you have started an import or download, wait for it to reach an idle state first. A copy of several files taken during ongoing writes can capture different moments even if every individual file copied.
Choose a new empty dated destination. Give the outer folder a name that tells you which app, Mac, and date it belongs to. Check that the backup destination has space for the storage you are copying. Some model files can be larger than the rest of the workspace state combined. Finder Get Info can help you estimate the size of the whole source folder before you begin. Leave the source folder’s own name intact inside the dated folder so the structure remains apparent later.
Copy the entire tree as a single backup set
In Finder, select the storage folder from its parent directory. Copy it into your dated backup folder with the ordinary copy and paste commands. A clear result is an outer dated backup directory containing a child named storage. Wait until Finder finishes copying before opening the result or moving away from the source. Use copy rather than dragging between locations without knowing which operation Finder will choose.
Avoid mixing the new backup into a previous one. A partially copied new version and an older set of files can look complete while representing different times. Keep each version in its own dated folder. If you repeat the backup on the same day, include the time or a distinct label. This is especially useful if you made a backup before and after a major app update.
The finished copy should retain the directory structure as documented by AnythingLLM. If Finder reports a copy error or stops early, keep the source untouched and inspect the destination. Resolve the reported storage or access problem before starting a new clean copy. Label the partial result as incomplete if you keep it to investigate what happened. A successful backup should start from a quiet original and end with a complete dated directory.
Check content as well as names and sizes
Open the dated backup folder and verify that its storage child includes the same top-level components. Pay attention to the main database and the directories that hold documents and vectors for the workspaces you use. A Finder size estimate can catch large omissions. A complete verification compares the bytes of the files while the original remains closed and stable.
You can check the database with the local hashing utility from Terminal. Use the actual path for your destination and keep both paths quoted. The example assumes the dated backup resides directly in a local Backups folder. The two digest values should match if the original database has not changed since the copy.
shasum -a 256 \
"$HOME/Library/Application Support/anythingllm-desktop/storage/anythingllm.db" \
"$HOME/Backups/AnythingLLM practice/storage/anythingllm.db"
Repeat the check for one known file in a document or model directory that matters to you. An identical digest shows that the two files you checked contain the same bytes. It does not show that all the files were copied. If you want to compare a closed original and copy recursively, use your chosen directory comparison tool and investigate differences before ending the backup. Keep the result alongside your note.
If a digest differs, confirm that both paths point to the intended files. If you reopened AnythingLLM after making the backup, the current database may have changed since the snapshot. Compare immediately after a fresh quiet copy if you need to determine whether a difference came from copying or ordinary later app activity. Use the new result as a separate snapshot and keep the previous one identified by its own date.
Keep the backup usable for the next decision
Add a short text note outside the copied tree with the app version, source folder, date, destination, and checks you performed. Include the practice workspace name and code if you used one. When you later need to verify recovery, you can open the intended workspace in an appropriate recovery setup and look for that code. Do not claim that a dated folder has been restored until the application itself reads the data in the intended environment.
A full Desktop backup and documents saved independently serve complementary tasks. The copied storage tree preserves the app-specific folder structure. Your separate original documents remain available to open in ordinary apps or import into a new workspace. If you move to a different version, Mac account, or data path, check the vendor’s current procedure and keep the backup unchanged until the result is verified. AnythingLLM’s Desktop folder reference.
After verification, reopen the original application and check that the ordinary workspace still works. Keep the backup at the dated destination and record your next run as a new copy. This gives you two observable facts before a move or update. You have a checked snapshot separate from the working app and a current installation that still opens the workspace you expected.
Compare a quiet tree recursively if you need stronger evidence
The directory comparison below reads names and contents in a closed source and its backup. Use the actual two directories on your Mac. A comparison that prints differences gives you paths to investigate. A clean result tells you about the files compared at that moment. It will not tell you whether the application can recover on a different account or release.
diff -qr \
"$HOME/Library/Application Support/anythingllm-desktop/storage" \
"$HOME/Backups/AnythingLLM practice/storage"
If a recovered backup will be used in an important workflow, keep a pair of landmarks. One can be the workspace name and synthetic message described earlier. The other can be a known document name or a characteristic value in the indexed source. Reopening a workspace with the right name is a useful first check. Checking the message and the document relationship gives you more evidence that you have the right version of the content.
When a backup is unusually large, inspect which directories take the space without deleting or selectively pruning the working tree. A model file can account for much of the storage. If you decide to keep a separate copy of model files, record that choice alongside the app’s backup. A copy that deliberately leaves part of the storage behind should be named accordingly. A complete backup has a different purpose from a compact export meant to preserve only a few files.
If your destination is an external drive, wait for the copy and checks to finish before ejecting it. Reconnect the drive later and verify a known file from the saved location. Use the recorded date, version, and code to confirm the folder you reopened. A short reopen test can catch a folder written to the wrong drive before you rely on it during a migration.
If the backup sits on removable media, keep the written source note next to it or in another place from which you can find it. A hash without a filename and snapshot date can be difficult to use after several copies. Record the exact file tested so you can verify the same path on the saved copy later.
Keep the first backup separate from an app upgrade
A storage copy is most useful when its age and app version are clear. Suppose you need to upgrade AnythingLLM on Friday. Close the app on Thursday after finishing your current chats and take a complete copy. Keep that copy as a versioned backup. If you make another copy after the upgrade, use a different folder and record its version separately. An upgraded app can change its stored structure, so the later set should not replace evidence of what existed before the change.
If a restore ever becomes necessary, inventory the current contents separately before testing a previous set. A restore can replace newer workspace activity. Use an environment and app version supported for that set, close the application first, and keep an independent copy of the current tree. The older backup may include a database that expects related settings or data from its sibling paths. Verify the full set before deciding to restore any part. This handoff check can be done now by documenting what each backup contains and the scope of its verification.
A workspace check should identify an item that already existed when the copy was taken and one created after it. The latter should remain outside the older snapshot’s expected results. This gives you a useful time boundary when you assess what an actual restore recovered. Keep live customer records out of the test note. An invented workspace label and a harmless chat phrase can distinguish the snapshots without publishing anything private.