BORG-BENCHMARK-CRUD(1) | borg backup tool | BORG-BENCHMARK-CRUD(1) |
borg-benchmark-crud - Benchmark Create, Read, Update, Delete for archives.
borg [common options] benchmark crud [options] REPOSITORY PATH
This command benchmarks borg CRUD (create, read, update, delete) operations.
It creates input data below the given PATH and backups this data into the given REPO. The REPO must already exist (it could be a fresh empty repo or an existing repo, the command will create / read / update / delete some archives named borg-benchmark-crud* there.
Make sure you have free space there, you'll need about 1GB each (+ overhead).
If your repository is encrypted and borg needs a passphrase to unlock the key, use:
BORG_PASSPHRASE=mysecret borg benchmark crud REPO PATH
Measurements are done with different input file sizes and counts. The file contents are very artificial (either all zero or all random), thus the measurement results do not necessarily reflect performance with real data. Also, due to the kind of content used, no compression is used in these benchmarks.
Please note that there might be quite some variance in these measurements. Try multiple measurements and having a otherwise idle machine (and network, if you use it).
See borg-common(1) for common options of Borg commands.
The Borg Collective
2023-03-22 |