r/Snapraid • • 19d ago

Snapraid Web Interface

I've been working on a web-based alternative to Elucidate for a bit now and finally have something that is worth sharing.

You can find the app on my Github https://github.com/dbednar13/SnapAdmin. Install and configuration instructions are all in the readme.

I would love any feedback from those who try it. One thing I am not is artistic so the UI is very much Vite + AI made so opinions on colors & layout are doubly appreciated.

Thank you and enjoy!

ETA: Screenshot

8 Upvotes

18 comments sorted by

2

u/divestblank 19d ago

what does it look like?

2

u/curufin13 19d ago

I couldn't add a screenshot here, but I updated the OP

2

u/makakimusic 18d ago

Uh why? Just run it with a script. Don’t need a UI

0

u/curufin13 18d ago

Why does the Daemon exist? Or Elucidate? Some people just prefer UIs.

I personally would rather not ssh or remote desktop while out on the road. I'd rather VPN and just push a button.

1

u/makakimusic 18d ago

Just schedule the run. Why do it manually?

1

u/curufin13 18d ago

There isn't a single day & time that's consistently OK for a sync to run without risk of some other automated tool or system I run writing new data. Many tools I use don't have cli's or ways to schedule their activity requiring I manually log in and stop & start them.

SnapRAID is part of my routine but not my first line of defense, if I have to wait a week, or a month between runs that's OK.

2

u/Shipzilla 18d ago

Many tools I use don't have cli's or ways to schedule their activity requiring I manually log in and stop & start them.

interesting. you know you can automate that as well right? the daemon runs a script that stops my docker containers then restarts them once my sync + scrub completes. Couldn't you schedule your tools the same? not saying your tool is not useful, but curious if you tried.

1

u/curufin13 18d ago

Most of my tooling is Windows-native apps, not docker unfortunately. I could in theory stop the related services via powershell or NSSM but that then falls back to my other point that there really isn't a day & time that consistently works.

Perfect world I'd be running something not Windows but other logistical issues make that a pretty hard requirement.

2

u/mrpops2ko 18d ago

if im reading what you are saying correctly then you are playing with fire and snapraid isn't for you.

There isn't a single day & time that's consistently OK for a sync to run without risk of some other automated tool or system I run writing new data.

i used to be like this too, and it'll bite you in the ass the same way it did me. you need a cache drive, somewhere outside of your large snapraid protected archive and acts as a landing strip for data.

then you automate movement based upon whatever you want. if you have a large enough cache, then do it for anything older than 30 or 60 days.

then you'll spend at most like 30 minutes potentially 'dirty' rather than constantly.

1

u/curufin13 18d ago

Ya'll are focusing on the lack of scheduling way too much.

Logistically - it won't work. I do have cache drives, but size limitations and money are real things.

As I said, snapraid is part of my solution, it's not my only. In the normal 3-2-1 rule, Snapraid would make it more "4-3-1" for me. Everything is synced offsite within minutes of hitting the server. At worst, there's a 10 minute gap. Anything mission critical that I can't truely afford to lose is stored in a minimum of 5 places, 3 of which are off site.

Snapraid is a convenience tool for me, not a lifeline. Delete a file and not remember what drive it was on? Perfect. Drive dies and I don't feel like downloading all 20TB or copying from an external? It'll handle the bulk making anything missing a quick task.

1

u/mrpops2ko 18d ago

ah cool ignore me then. most of us focus on that because we've been bitten by it lol, which you likely will be too. most of us don't have as comprehensive replication as you though.

snapraid just isn't a very good tool for you if you use it as you do. you'll just end up with a lot of files back called {filename.unrecoverable}. i guess if you've got everything remotely synced offsite then its not an issue and you can just pull the stuff you are missing but then its a bit weird that you have multiple remote offsite replicas yet mention size limitations and money lol

i follow the 3-2-1 rule as well, but one thing most people struggle to understand is that data isn't all equally valued. a good 90% of my array probably is static data that i either wouldn't really mind losing or could get again. the super important stuff, thats following the proper process.

replication is another thing which very few people use. even if its replication within your snapraid array. that works too. i do that as well for important data.

1

u/curufin13 18d ago

Totally fair.

My super critical stuff that must be super duper safe is < 1TB of data which is still "affordable" for most cloud systems now adays

I also lucked out that I got things started 10+ years ago when establishing a lot of this was still affordable and even then things like the cache drives are still somewhat new. Where I run into issues now is physical space for new drives in my rack, no physical room for a new (or bigger) rack in my house. Anything closer to a more ideal setup comes at a cost of losing something else.

All this aside though I think what's been lost in all the scheduling talk is this tool (or Elucidate  or anything else like it) doesn't prevent you from scheduling. It's a quick way to run a command when the need strikes.

Example, you're scheduled to run overnight but copy over some family pictures that you don't want to lose around lunch? just kick off a sync. Maybe you're already already at the PC with SnapRaid in which case you could just run the CLI or use Elucidate if that's what you prefer. But if it's a network share your choices are SSH or remote desktop. This gives you another choice.

What sets mine apart from Elucidate, ignoring the whole web vs native app thing, is the ability to check the progress & logs from anywhere that can connect to the host. You don't have to find the same PC that was used to manually kick it off.

1

u/DotJun 18d ago

Having options is never a bad thing. Stop being elitist.

1

u/enormouspoon 18d ago

Do you not like the new daemon ui?

0

u/curufin13 18d ago

The new UI is fine but it doesn't fit my needs. My data changes too frequently and there's no good time for me to schedule it to run.

1

u/enormouspoon 18d ago

So you need a more granular scheduling aspect, understood. Instead of building an entirely new solution, any thoughts on doing a PR against the daemon-ui to add this functionality? Could be helpful to others too without having to run a separate fork/ui.

2

u/curufin13 18d ago

I don't need scheduling at all. What I needed was a more accessible replacement for Elucidate.

A future PR to the daemon-ui is possible.

1

u/Due-Plum5653 8d ago

Interesting. I had issues witih Elucidate personally.

What I would wish, was a more easy way to understand how to ADD more DRIVES, and what to do when replacing a drive. It's a tad mysterious for a newbie like me.