through command status details in origin database:
Data:
Replication health - Healthy
Moving data - 0.000 GB
Sum of key-value sizes - 20 MB
but the size of the kvranges in the backup file generated by the fdbbackup command is noticeably smaller than the actual storage size of the original database (the result obtained from the status details command). However, there were no errors reported during the execution of the backup process.
fdbbackup start -C /mnt/config-volume/cluster-file -d ‘file:///home/backup’ --log
The backup on tag `default’ was successfully submitted.
then
fdbbackup status -C /mnt/config-volume/cluster-file:
The previous backup on tag `default’ at file:///home/backup/backup-2024-09-30-03-44-54.440029 completed at version 6292909345356.
BackupUID: 906a2085c6b1bdfab79cd4f18f0fbbe5
BackupURL: file:///home/backup/backup-2024-09-30-03-44-54.440029
In the directory of the file named “backup-2024-09-30-03-44-54.440029”, there are three subdirectories:
kvranges logs snapshots
the kvrange size is only 1.3M which is noticeably smaller than 20M
[root@fdb-backup-agent-6cb5b6bdc7-p8xnx kvranges]# ls
snapshot.000006292889345357
[root@fdb-backup-agent-6cb5b6bdc7-p8xnx kvranges]# cd snapshot.000006292889345357/
[root@fdb-backup-agent-6cb5b6bdc7-p8xnx snapshot.000006292889345357]# ls
0
[root@fdb-backup-agent-6cb5b6bdc7-p8xnx snapshot.000006292889345357]# cd 0/
[root@fdb-backup-agent-6cb5b6bdc7-p8xnx 0]# ls
range,6292889377357,492f54d441e06f9144136b723ee28824,1048576
[root@fdb-backup-agent-6cb5b6bdc7-p8xnx 0]# ls -lh
total 1.3M
-rw-r–r–. 1 root root 1.3M Sep 30 03:44 range,6292889377357,492f54d441e06f9144136b723ee28824,1048576
Since your DB is small, you can dump all the key value pairs and calculate their sizes, e.g., fdbcli --exec getrange "" \xff 10000000000. The third parameter is the number of keys. Because of 5s limit, you may not read all keys at once and you may need to resume from the last key read. Most likely the total size is about 1.3M. Then you can check keys in the system keyspace, i.e., \xff to \xff\xff and its size.
Another thing to check is if you have multiple backup agents running, each one will write backup files. So the total should be counting all output files.
thanks for your reply, but status details command shows
Data:
Replication health - Healthy
Moving data - 0.000 GB
Sum of key-value sizes - 22 MB
Disk space used - 526 MB
These are the last few lines of the log file from executing the fdbbackup command, where a usage rate reaches one hundred percent, and I’m not sure what it means.
Sum of key-value sizes is only an estimate and it includes the FDB internal system keyspace (keys starting with \xff) which is not written to the backup.