backup and restore to a new computer? #3136
jBbL81
started this conversation in
Help Wanted
Replies: 3 comments
-
I tried it below and, at least for now, it works well. First, I tried to backup Mongodb and vectordb(Postgres). |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here's how I was able to backup and restore mongodb: # Backup LibreChat db:
docker exec -i chat-mongodb \
mongodump --archive --gzip \
--db LibreChat > "./LibreChat-backup-$(date +"%Y-%m-%d").gz"
# Restore in new environment:
docker exec -i chat-mongodb \
mongorestore --archive --gzip \
--drop --db LibreChat < ./LibreChat-backup-2025-01-01.gz
# Note the --drop ^ it will delete everything before starting!!!! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Following @justsml 's work, this can be used to backup and restore the vectordb:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i have a lot of saved chats (and their share links) and i was wondering how i could backup and restore these data in the event i get a new computer
Beta Was this translation helpful? Give feedback.
All reactions