Created
August 22, 2023 10:27
-
-
Save joshuataylor/58011e245910b413bc67df42c9e30dae to your computer and use it in GitHub Desktop.
Gitea backup speed for tar, zst, bz2, etcetc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have 3 smallish repositories: | |
``` | |
Repository Size 943 KiB | |
Repository Size 857 KiB | |
Repository Size 6.0 MiB | |
``` | |
Gitea backup speed for each of the commands: | |
```sh | |
/app/gitea/gitea dump -c /data/gitea/conf/app.ini --file /backups/bk_foo.tar --type tar | |
/app/gitea/gitea dump -c /data/gitea/conf/app.ini --file /backups/bk_foo.tar.br --type tar.br | |
/app/gitea/gitea dump -c /data/gitea/conf/app.ini --file /backups/bk_foo.tar.bz2 --type tar.bz2 | |
/app/gitea/gitea dump -c /data/gitea/conf/app.ini --file /backups/bk_foo.tar.gz --type tar.gz | |
/app/gitea/gitea dump -c /data/gitea/conf/app.ini --file /backups/bk_foo.tar.lz4 --type tar.lz4 | |
/app/gitea/gitea dump -c /data/gitea/conf/app.ini --file /backups/bk_foo.tar.sz --type tar.sz | |
/app/gitea/gitea dump -c /data/gitea/conf/app.ini --file /backups/bk_foo.tar.xz --type tar.xz | |
/app/gitea/gitea dump -c /data/gitea/conf/app.ini --file /backups/bk_foo.tar.zst --type tar.zst | |
``` | |
.tar | |
Size: `8.2mb` | |
time: `0.02s user 0.01s system 8% cpu 0.297 total` | |
.tar.br | |
Size: `7.1mb` | |
time: `0.01s user 0.01s system 3% cpu 0.726 total` | |
tar.bz2 | |
Size: `7.5mb` | |
time: `0.02s user 0.01s system 0% cpu 2.745 total` | |
tar.gz | |
Size: `7.4mb` | |
time: `0.01s user 0.01s system 7% cpu 0.264 total` | |
tar.lz4 | |
Size: `7.6mb` | |
time: `0.01s user 0.01s system 5% cpu 0.340 total` | |
sz | |
Size: `7.6mb` | |
time: `0.02s user 0.01s system 10% cpu 0.261 total` | |
xz | |
Size: `7.0mb` | |
time: `0.01s user 0.01s system 0% cpu 4.740 total` | |
zst (no env variables) | |
Size: `7.2mb` | |
time: `0.01s user 0.01s system 6% cpu 0.310 total` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment