Hey, you probably know about restic and borg for backups. They are pretty mature and very commonly used.

Rustic is a fully compatible reimplementation of restic in Rust and they do seem to have implemented a few improvements over restic. The developer even used to be a contributor on restic.

Is anyone here using it already? It looks super promising but I’d love to hear your opinion!

32 points

Q. How do you know an open source project is written in Rust?

A. Don’t worry, they’ll tell you.

permalink
report
reply
12 points

Imagine a world where all these rust devs would write new software instead of manically reimplementing existing software in rust…

permalink
report
parent
reply
10 points

Imagine a world where we’re all using 30 year old software because it “still kinda works”.

permalink
report
parent
reply
-1 points

restic is 8 years old though

permalink
report
parent
reply
3 points
*

Aren’t most CVEs out of bounds writes/reads?

Rust helps prevent that, so more secure software seems like a good thing

So long as they don’t abuse unsafe that is

permalink
report
parent
reply
18 points

What is the advantage of using this over restic?

permalink
report
reply
14 points

They have a page in the repo describing some advantages https://github.com/rustic-rs/rustic/blob/main/docs/comparison-restic.md

permalink
report
parent
reply
5 points

It sounds like they have some nice improvements, but I wonder why they didn’t contribute them back to the original restic project.

I also wouldn’t rely on an immature piece of software to handle backups - you want to avoid as many risk factors as possible with backups, since when you need to restore you really need it to work.

permalink
report
parent
reply
2 points
*

FYI, you formated your link wrong, it should be [here](https://github.com/rustic-rs/rustic/blob/main/docs/comparison-restic.md)

permalink
report
parent
reply
2 points

I can never remember the order and I’m using Wefwef which doesn’t offer markdown insert. Thanks :)

permalink
report
parent
reply
-6 points

Looks like the rust-cult is at it again rewriting existing stuff for no gain but pushing rust on others.

permalink
report
parent
reply
16 points
*

A lot of the time, rust rewrites are more for devs, than users. Rust code is just easier to maintain (in the long-run 😉) and harder to make buggy. But some times the apps do just run faster when compiled with Rust.

permalink
report
parent
reply
3 points

Is it that much better than Go? Seems like the original restic was written in Go which afaik is pretty similar performance and syntax wise.

permalink
report
parent
reply
5 points

Use fd instead of find, or rg instead of grep and tell me there’s no gain. The speed increase alone is astounding, and beyond worth it.

permalink
report
parent
reply
4 points

Oh shit, will definitely be trying this out. I tend to make wildly overzealous find searches

permalink
report
parent
reply
15 points

Wow, people in this thread really have strong opinions about other people writing similar programs in different languages. Who cares? Why is more choice a bad thing?

permalink
report
reply
8 points

I use restic extensively, and it works really really well… until it breaks. Then there’s next-to-nothing you can do to fix the repo.

Rustic, on the other hand, has lock-less design, and repair options, so I end up using it to fix things. However, it has a number of rough edges: it uses its own wacky config file, its include/exclude options are wildly different and a bit painful, and to use a bunch of repo backends (like S3), you need to install, configure, and use rclone, which is poorly documented by rustic.

permalink
report
reply
6 points
*

Oh great, another project named “rustic”. There’s also a wrapper for Restic called Rustic, also written in Rust. No activity in the repo for 3 years, though.

I liked the config file support in the old Rustic, and seeing the same thing in the new one does at least attract me a bit.

But a Rust rewrite of a software written in Go, a language that is already pretty efficient? I don’t understand why.

permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 4.8K

    Monthly active users

  • 3.6K

    Posts

  • 81K

    Comments