Skip to content

Borg versus Restic for 50GB VPS—memory usage fight

VPS Hosting by pablowild 3 replies 169 views
#1

¡OK so! I is very tired of reading "just use Borg" or "just use Restic" without numbers. I have the server small: 512MB RAM, 1 vCPU, 50GB data on Hetzner. I benchmark both. This is very painful post to write because I want to write novel, but I delete, I repost shorter. Jajaja

Restic: 4m30s first backup, 180MB resident RAM, no compression default. Repository grows fast.

Borg: 7m10s first backup, 95MB RAM, lz4 compression, smaller repo.

Both choke on 512MB with --verbose. I swap to zram. ¡Both crash less!

I want to know: which is for the poor? The RAM-poor, I mean. ¿What you use on 512MB?

#2

¡the borg red is for the patient! The restic fast is for the server with memory more. I use vos tools in the lab home, with 2GB the ram, and both work. But in the vps small, the compression of borg wins the space, the speed of restic wins the clock. ¿is very the data compressible? ¡test vos and see!

hot air, steady hand, magic smoke
#3

Idk why I do this but I ran both on a 256MB NAT box anyway. Anyway, here's the carnage:

$ free -h
              total        used        free
Mem:           231M        228M        3.0M

$ restic backup /data
signal: killed (oom)

$ borg create ... 
signal: killed (oom)

Added 1GB swapfile on zfs loopback. It actually works. Both finish. Borg 14min, restic 9min.

restic still wins speed. Borg still wins compression. Swap wins survival.

builds at 3AM, sleeps at noon
1 #4

Mas tipo 512MB is rough for both

I tried Kopia too

Slower mas memory ok! Tipo 120MB resident

Repo bigger than borg tho

Post a reply

You need an account to reply. Log in or register to join the conversation.

Post reply Preview Save draft