[FEAT]: Export and Import Documents Library #2986

Open
opened 2026-02-28 06:26:09 -05:00 by deekerman · 2 comments
Owner

Originally created by @kingharrison on GitHub (Nov 19, 2025).

What would you like to see?

I would like to request the ability to export the entire MyDocument collection on an install. Click the export button would tar up all the documents within the /documents directory and out to a file.

This file would also be able to be imported later via a similar mechanism.

Finer granularity to choose what is exported would be nice as well.

Not this is just to get it into the list of My Documents. The step to add to a workspace would still be the same.

Why?

Curating a collection can become quite large and could be useful across many installs of AnythingLLM that have different purposes. Instead of user based management it would take a technical person to enter and back up all files. This allows for the Knowledge Base experts to manage the documents as opposed to the technical people.

Originally created by @kingharrison on GitHub (Nov 19, 2025). ### What would you like to see? I would like to request the ability to export the entire MyDocument collection on an install. Click the export button would tar up all the documents within the /documents directory and out to a file. This file would also be able to be imported later via a similar mechanism. Finer granularity to choose what is exported would be nice as well. Not this is just to get it into the list of My Documents. The step to add to a workspace would still be the same. Why? Curating a collection can become quite large and could be useful across many installs of AnythingLLM that have different purposes. Instead of user based management it would take a technical person to enter and back up all files. This allows for the Knowledge Base experts to manage the documents as opposed to the technical people.
Author
Owner

@timothycarambat commented on GitHub (Nov 20, 2025):

Oddly enough, we used to have this feature but we removed it on the server version because when the files are large it becomes absolutely massive and would crash during zipping.

We can add this back for desktop though. In the interim the easiest way to do this is open the storage directory and zip the documents folder.

@timothycarambat commented on GitHub (Nov 20, 2025): Oddly enough, we used to have this feature but we removed it on the server version because when the files are large it becomes absolutely massive and would crash during zipping. We can add this back for desktop though. In the interim the easiest way to do this is open the [storage directory ](https://docs.anythingllm.com/installation-desktop/storage#where-is-my-data-located) and zip the `documents` folder.
Author
Owner

@kingharrison commented on GitHub (Nov 21, 2025):

Thank you for that.

Where I would see a lot of value also is the ability to create a library that you can import and export, and then being able to reference a library within another library.

So if you were to make a KB called 'core'. Lets say it has 400 documents that are always the core documents (and they still do change because your business is living and thriving).

Then for each customer or unique situation you have 20-30 documents specific to just those customers. If I could create a customer specific KB with those 20-30, and also 'tag' the core KB, and then make a chatbot for the customers i embed in our app, that would be the bees knees. I could use my customer business experts to manage all the knowledge and not have to involve a programmer / engineer.

@kingharrison commented on GitHub (Nov 21, 2025): Thank you for that. Where I would see a lot of value also is the ability to create a library that you can import and export, and then being able to reference a library within another library. So if you were to make a KB called 'core'. Lets say it has 400 documents that are always the core documents (and they still do change because your business is living and thriving). Then for each customer or unique situation you have 20-30 documents specific to just those customers. If I could create a customer specific KB with those 20-30, and also 'tag' the core KB, and then make a chatbot for the customers i embed in our app, that would be the bees knees. I could use my customer business experts to manage all the knowledge and not have to involve a programmer / engineer.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/anything-llm#2986
No description provided.