Open michaelkallweitt opened 1 year ago
No worries. The running database contains various elements such as indexes, caches, and optimizations to enhance its performance, which makes it larger than the exported content. On the other hand, the other directories are tar-packed, and the size you see with ls -l
represents the directory size (which is typically 4096 in Linux) and not the size of the files within. You can use the du
command to check the actual size of a directory.
If you are concerned, you can try restoring the backup files and compare them with the files before the backup. I believe that, apart from the database size difference (due to indexes, caches, etc.), the sizes of other files and directories should remain the same.
I installed vaultwarden-backup from the docker-compose.yml, only making adaptions in the backup section:
Backup seems to be working fine (at least it doesn't throw errors). However I was wondering about the size of the resulting backup file. Here's the ls of my original files (stored on the DSM):
And this is what I get from the backup (after unpacking the archive):
I am a little concerned if really all of my data are contained in the backup db. Maybe there is some overhead, but can this account for the different file size?