How to Export and Import an Entire Database in InfinityDB? #2936
Unanswered
uthra-barrla
asked this question in
Q&A
Replies: 0 comments
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’m currently working with InfinityDB and I need some guidance on how to export and import an entire database, including all tables and their records.
My Current Setup:
**OS: Ubuntu 22.04
Database: image_search_db (for example)**
Tables: Multiple tables, including images, metadata, and other information.
Server: Self-hosted InfinityDB instance.
What I Need Help With:
Exporting the Entire Database:
I want to back up the entire database (all tables, schemas, and records).
How can I export all tables and their data, including the schema, into a backup file ??
Importing the Database:
Once the database is exported, how can I restore it to another InfinityDB instance or a fresh setup?
Is it possible to directly copy the database files from one server to another?
What I’ve Tried:
I’ve used export_data() and import_data() methods for tables, but I’m not sure how to extend this for the entire database.
Any help or guidance would be greatly appreciated! Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions