Readit News logoReadit News
dmw_ng · a year ago
I'm a restic user, but have resisted the urge to attempt a bikeshed for a long time, mostly due to perf. It's index format seems to be slow and terrible and the chunking algorithm it uses (rabin fingerprints) is very slow compared to more recent alternatives (like FastCDC). Drives me nuts to watch it chugging along backing up or listing snapshots at nowhere close to the IO rate of the system while still making the fans run. Despite that it still seems to be the best free software option around
nextaccountic · a year ago
> It's index format seems to be slow and terrible and the chunking algorithm it uses (rabin fingerprints) is very slow compared to more recent alternatives (like FastCDC).

Hi, can you elaborate more on those two points? (Specially, what makes the index format so bad?) Or link to somewhere I can learn more

Svenstaro · a year ago
You could try running rustic on your repository. It should be a drop-in for restic and maybe it's faster? I would actually be very interested in this. Would be great if you could do that and report back.
rjrdi38dbbdb · a year ago
Have you opened issues with suggested algo improvements? They might be open to them.

Even if restic isn't interested, maybe the rustic dev will be.

evulhotdog · a year ago
You should check out Kopia. It’s absolutely wonderful, is fast, has similar features, and has a GUI if you’re into that.
eternityforest · a year ago
Currently using Kopia because Restic has no GUI and Borg requires adding a community maintained Synology package, and it didn't "Just work" when I tried.

It's amazing! The GUI isn't perfect but the fact that there is an official GUI at all is great.

dizhn · a year ago
I don't need a GUI but an official config format or a manager tool for restic would be cool. There ARE a few good 3rd party ones of course.
NelsonMinar · a year ago
Try BackRest if you want a nice frontend to Restic. You can configure Restic from the command line but it's pretty awkward. BackRest has a nice simple web GUI and makes basic automation very easy. https://github.com/garethgeorge/backrest

I'm surprised no one is selling Restic hosting as a straight up service. BackBlaze works well with Restic but the configuration is a little manual and clumsy. A packaged solution would be a nice thing.

Restic is very very good. My only nervousness is the backup format is so opaque, you need a working copy of Restic to restore from it. The format is documented though and of course the code is open source, so I think it's probably fine in practice.

confusedalex · a year ago
Despite the name Borgbase [0] offers Restic hosting, with actual documentation on how to set it up. Hetzner [1] also offers Restic

[0] https://www.borgbase.com/ [1] https://www.hetzner.com/storage/storage-box/

crossroadsguy · a year ago
Huh. Interesting. Didn't know borgbase supports restic as well. I already have a plan there for vorta/borg. Thanks.
josephb · a year ago
Restic user and also a long time user of Borgbase, their offering is pretty neat!
kayson · a year ago
Other popular choices include borg, duplicity, and duplicati.

After evaluating these and others mentioned in the comments, I ended up using borg with borgmatic to define homelab backups with yaml files that are version controlled in gitea and deployed using ansible.

I also use duplicity to back up my sister in laws storefront website to backblaze. I've been quite happy with both.

https://borgbackup.readthedocs.io/en/stable/

http://duplicity.gitlab.io/

https://docs.duplicati.com/en/latest/

riedel · a year ago
I'd throw in kopia[0], fast, many features and easy to use across platforms.

[0] https://kopia.io/

crossroadsguy · a year ago
Last time I tried Kopia was more like "select ONE folder to backup and add ONE destination to SNAPSHOT it to". While it is very simplistic and would be lovely in many use cases - for a home/personal backup which often requires granularity of inclusion and exclusion it just didn't make any sense. I am not sure whether that has changed.
mongol · a year ago
I have seen Kopia mentioned from time to time but never as often as borg. Does it have a good reputation?
sph · a year ago
I chose restic because borg was slow, buggy and an unwieldy pile of Python, not the best language for deployment on heterogeneous Linux systems.

Restic on the other hand is slow, but never crashed on me and is distributed as a single binary.

The only thing I dislike about restic is that it does not have a simple config file where you define your backup settings. Instead I had to write my own backup.sh that I deploy everywhere on my personal and production machines. Paired with rsync.net for storage and healthchecks.io for notifications.

kayson · a year ago
I've never had any crashing or big issues with borg, and it's generally considered to be faster than restic. I'm sure there are more recent benchmarks, but as of Dec 2022, borg wins by a fair bit [1].

For installation, I set up a dedicated virtualenv for borg and borgmatic installation then symlink into /usr/local/bin. This is also automated with ansible and has worked on every distro and version I've used. The latest version does require python 3.9.0, but that's already 4 years old.

1. https://github.com/borgbase/benchmarks

crossroadsguy · a year ago
> it does not have a simple config file where you define your backup settings.

Will this https://github.com/garethgeorge/backrest/discussions/188 work for you?

Also, I can add directory file to include exclude directly to this config or to separate files as I please and just refer in this config.

ray_v · a year ago
Honest question, but do you not consider environment variables to be a form of simple config?

https://restic.readthedocs.io/en/stable/040_backup.html#envi...

3eb7988a1663 · a year ago
I write Python day to day, but even I use Restic for the single binary. I take a lot of comfort in being able to keep the backup executable adjacent to the backup blobs. While I believe Borg now has a distributable binary, Go has it in its blood to make easy deployment without tricks.
abhinavk · a year ago
Use resticprofile or autorestic for configuration file or to run scheduled jobs.
leetnewb · a year ago
Keeping with the name scheme, there is also duplicacy - https://github.com/gilbertchen/duplicacy
layer8 · a year ago
Duplicity is solid, I’ve been using it since over a decade, and it’s a standard package on Debian-based distributions. Never had any hiccups (and I run regular backup validations).

These threads about backup tools come up regularly, and I always wonder if I’m missing something important about the other tools.

Delk · a year ago
I used Duplicity (via the Gnome Déjà Dup GUI) for years, but Borg turned out to be a lot faster at making the backups, at least for my laptop home dir backups. Like an order of magnitude faster. I don't think I ever tried to hand-configure Duplicity, though.
pixard · a year ago
I have tested all of these also, and settled on borg + borgmatic. It has been absolutely rock solid. Borgmatic just rounds everything together in such a nice way. The documentation is great.

I'm pushing it all to a Hetzner storage box, as well as a local NAS. Super affordable!

DavideNL · a year ago
Same, borgmatic has been running flawlessly for a long time, it’s great.

Also backing up to a Hetzner storagebox, so it’s quite cheap too.

https://torsion.org/borgmatic/

mikae1 · a year ago
BorgBackup is also my choice. More features, but that's not necessarily a good (or bad) thing if Restic does everything you need.
notherhack · a year ago
The Borg site says Windows support is "experimental, no binaries yet". Is that still true?
o_____________o · a year ago
synthomat · a year ago
Arq is awesome! Unfortunately not suitable for headless systems.
crossroadsguy · a year ago
Seriously try restic with Backrest. I had stopped using restic for almost two years after I got tired of tinkering with my local custom scripts to keep restic setup on my mac running. Then I found Backrest. Oh and it lets you use the snapshop browser right in the UI. That's kinda nice.

It's really simple and in active development https://github.com/garethgeorge/backrest. The dev (lead dev) https://github.com/garethgeorge/backrest/discussions is very responsive.

I know many comments have said it but I also wanted to add it just because backrest is what made restic usable for me again. Vorta is a favourite backup GUI but somehow I am finding backrest even simpler (although would have loved it if it was a tiny menu bar kinda app).

Is there something like Deja Dup on Mac?

I am planning to find and add another remote repo now (in addition to b2; and hopefully much cheaper which might be a tough one as b2 is kinda dirt cheap especially for small GBs) so that I can include some more of my less critical files in the additional backup set.

thekashifmalik · a year ago
Big fan of restic! The only feature I found missing was the ability to browse historical snapshots like regular files.

I wrote and now use the rsync-based, browsable, incremental backup CLI: https://rincr.com/

dmd · a year ago
What do you mean by that? "restic mount" has been part of restic since the very start.
thekashifmalik · a year ago
That command works well and accomplishes some of what rincr what built to solve. For example, when I mention browse-ability, I mean on the backup host without any dependencies so I can use standard file tools and browsers.

I also needed both "pull" (backup remote files) and "push" (backup local files) backup features and if I'm not mistaken restic still only supports the "push" model.

EDIT: Added more details

heinrichf · a year ago
Restic has a mount subcommand that exposes all backups through a FUSE filesystem, no?
tetris11 · a year ago
Only feature missing for me was passwordless backups
demomode · a year ago
Isn't that the purpose of `restic mount`?
manuel_w · a year ago
Which one is more resistant to bitrot, Restic or Borg Backup?

(Yes, bitrot might better be mitigated at the filesystem layer, but I'm not switching to ZFS, btrfs or bcache-fs anytime soon.)

rodgerd · a year ago
One thing that I like about Restic is that you can automatically do a test restore of a subset (e.g. 1%, 5%, 8%) of your data, so that you can check for problems on the remote automatically.
ajvs · a year ago
Not sure but I know that Vorta (borg GUI) does automatic consistency checking using `borg check ` regularly.
crossroadsguy · a year ago
Vorta offers you "Prune" customisation at the bottom of 'Archives' tab and "check" (validate repo) along with backup settings on 'Schedule' tab.
andarp · a year ago
I have used restic for a year now. I’ve thought about it twice. 9/10 would backup again.
stavros · a year ago
I've used restic for five years (and also Borg is equally good), similarly very much recommended:

https://www.stavros.io/posts/holy-grail-backups/

aborsy · a year ago
Restic is great! It has worked flawlessly for me for several years.

Anyone knows if there is plan to add Reed Solomon erasure coding, just in case there will be errors in repository? Something like Par2.

Asymmetric encryption could also be useful in some situations. Perhaps they could just use Age for the asymmetric encryption backend (unfortunately Age offers only 128 bits of security in its symmetric encryption, so it’s not recommended for long term storage, because of the save-now decrypt-later attack). But I expect a stable quantum resistant plug-in appearing next year or so.

seqizz · a year ago
Afaik not yet, there was some discussion here: https://github.com/restic/restic/issues/804