what are these files and use of these ? do I need permission to use these files for backup by copying to other machine. If yes what permission I need.
Hi! Those will store the actual data and some other meta data so Weaviate can actually work.
If you want to do backup, you should avoid copying those files directly.
For a better backup flow, check out this documentation:
TL;DR - enable filesystem backups
backup-filesystem to ENABLE_MODULES environment variable in your Weaviate Server (there are other backups modules, such as AWS S3, Azure, etc.)
- Add BACKUP_FILESYSTEM_PATH as environment variable in your Weaviate Server pointing to where your backups should be store
- Run your backup code:
client = weaviate.Client('http://localhost:8080')
result = client.backup.create(
now your BACKUP_FILESYSTEM_PATH will contains a folder called
my-very-first-backup you can store that folder anywhere you want.
Whenever you want to restore a backup, copy that same folder to your BACKUP_FILESYSTEM_PATH and run the restore code:
result = client.backup.restore(
Here you can find more information about backup routines: