Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why should I choose restic over borg? #1875

Closed
stephane-archer opened this issue Jul 4, 2018 · 12 comments
Closed

Why should I choose restic over borg? #1875

stephane-archer opened this issue Jul 4, 2018 · 12 comments
Labels
type: question/problem usage questions or problem reports

Comments

@stephane-archer
Copy link

stephane-archer commented Jul 4, 2018

Hi,

I try to choose a backup system for a linux server.
Restic and Borg looks really similar and I'm wondering if you can help me decide :)

Thank you

@dimejo
Copy link
Contributor

dimejo commented Jul 4, 2018

The most obvious differences that come to my mind:

  • restic supports a huge number of backends (borg supports only SSH)
  • native Windows support with restic
  • borg allows for compression (multiple algorithms)
  • borg allows for unencrypted backups

When I was starting to evaluate different backup software about 1 year ago, borg was a bit faster and less demanding on the hardware. But restic didn't use a cache back then. I haven't made any comparisons since then.

@ThomasWaldmann
Copy link
Contributor

borgbackup/borg#3954

@enkore
Copy link

enkore commented Jul 4, 2018

AFAIK restic's crypto works.

@fd0
Copy link
Member

fd0 commented Jul 4, 2018

This would have been better in the forum. It's really just a matter of your exact use case, I suggest you try both programs and decide for yourself.

I'll close this issue (we're using GitHub only for bugs, feature requests and other technical "issues"), feel free to add further comments!

@fd0 fd0 closed this as completed Jul 4, 2018
@fd0 fd0 added the type: question/problem usage questions or problem reports label Jul 4, 2018
@dabreese00
Copy link

ArchWiki compares them in a chart, along with other allegedly similar solutions:

https://wiki.archlinux.org/index.php/Synchronization_and_backup_programs#Chunk-based_increments

@dhilgarth
Copy link

This comparison from about 1.5 years ago is also pretty good: https://stickleback.dk/borg-or-restic/

The question to the team would be if the mentioned shortcomings of restic have been addressed in the meantime?

@fd0
Copy link
Member

fd0 commented May 6, 2019

This would have been better in the forum, nobody will find the information buried in a closed GitHub issue. If you create a new forum post asking the question, I'll go through the shortcomings mentioned in the article and respond to you.

@dhilgarth
Copy link

You are right, sorry about that. Here is the forum post: https://forum.restic.net/t/comparison-with-borg-shortcomings-in-restic/1690 Thanks

@DannyBen
Copy link

This would have been better in the forum, nobody will find the information buried in a closed GitHub issue.

Actually, google seems to favor Github issues - closed or not - over proprietary forums (unless the forums are wildly popular and serve as a de-facto source of information).

Not saying this post should or should not be here, just debunking the "nobody will find" part... :)

@perfecto25
Copy link

perfecto25 commented Nov 20, 2019

Adding to a closed thread, but heres my takeaway after using both,

I have to backup roughly 20TB of data every day (market data)

Using restic takes much longer and has used up a lot of memory on the server doing the backup. Also, restic creates a cache file that can grow to over 10G in size depending on the sizeof backup, which can cause issues if disk space is limited

Borg ran much faster, and uses almost no memory. The only upside to Restic is if you need to use S3 or Backblaze as backend (Borg doesnt support this). Performance-wise, Borg is much faster, uses less memory and less caching disk space.

Oh and 1 other great advantage of Borg, you can mount the entire backup as a NFS share, it will mount the repo unencrypted (ie, borg mount /mnt/repo:: /mnt/restored), very convenient if you want to brows your entire repo like a regular file system.

@rawtaz
Copy link
Contributor

rawtaz commented Nov 20, 2019

@perfecto25 As you can read in previous comments, this would have been better put in the forums.

It's clear that each of us have our individual use cases. For me, Borg is never an option, while for @perfecto25 clearly it's the opposite. Both are valid use cases. We should be happy both tools exist!

@perfecto25
Copy link

Totally agree, Im not criticizing Restic, its perfect for some cases, just pointing out differences between 2 projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question/problem usage questions or problem reports
Projects
None yet
Development

No branches or pull requests

10 participants