this post was submitted on 08 Aug 2023
90 points (96.9% liked)

Open Source

31114 readers
1 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS
top 6 comments
sorted by: hot top controversial new old
[–] Xylight@lemmy.xylight.dev 8 points 2 years ago

My favorite frontend for this is Pika backup.

[–] citytree@lemmy.ml 5 points 2 years ago (1 children)

What are the advantages of using Borg instead of Duplicity?

[–] foonex@feddit.de 2 points 2 years ago* (last edited 2 years ago)

tl;dr Duplicity does full or incremental backups, BorgBackup only does full backups but with deduplication.

After the first backup with Duplicity, you can choose to do an incremental backup which will only store the data that has changed since the last backup. This saves time and disk space but you have to do slow full backups regularly. See question 3 of the FAQ.

BorgBackup alway does a full backup. But it divides all data into chunks or blocks (don’t know what they call it exactly at the moment). It then hashes those chunks and stores them in a content-addressed storage layer. So it basically works like Git under the hood (plus encryption). If a chunk doesn’t change between backups it‘s already there and does not have to be stored again. A backup is always a full index of the data.

With today‘s fast processors and hashing algorithms, a backup with Borg should be just as fast as an incremental backup with Duplicity. If you ask me deduplicated backups are just plain superior.

Another tool that works like BorgBackup is Restic, which I prefer. Both are good choices that I would trust with my data.

[–] MDKAOD@lemmy.ml 4 points 2 years ago

I've tried to roll out Borg a few times over the years and always hit a roadblock for one reason or another. Perhaps it was the lack of any front end at all and Borg just chilling in the background, but the documentation was never really clear on what the next steps were.

[–] mo_ztt@lemmy.world 3 points 2 years ago

All the more knowledgeable people here debating different modern backup solutions, and I'm up here using tar up until yesterday, all happy because borg is a step up from that 😃

[–] highduc@lemmy.ml 1 points 2 years ago

I was just comparing borg and restic yesterday (still haven't made up my mind) so your post comes at a great time for me :)
I think in the end I'll give rustic a chance - it's supposed to be compatible with restic but written in rust. Much smaller project atm though.