snapraid VS scripts

Compare snapraid vs scripts and see what are their differences.

snapraid

A backup program for disk arrays. It stores parity information of your data and it recovers from up to six disk failures (by amadvance)

scripts

Various scripts I wrote when using FreeBSD/Linux/UNIX systems for 15+ years. (by vermaden)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
snapraid scripts
86 16
1,841 139
- -
6.7 7.7
3 months ago about 1 month ago
C Shell
GNU General Public License v3.0 only -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

snapraid

Posts with mentions or reviews of snapraid. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-08.
  • Storage software with the features of Unraid but runs on Debian with cli interface?
    3 projects | /r/HomeServer | 8 Dec 2023
    Would mergerfs and snapraid work for you? You'd sacrifice a disk to parity and run the parity calc manually, but you could set up a cron job for that.
  • Data storage solution for "archival" purposes.
    1 project | /r/DataHoarder | 7 Dec 2023
  • The Next Gen Database Servers Powering Let's Encrypt(2021)
    5 projects | news.ycombinator.com | 17 Sep 2023
    Like most people on r/homelab, it started out with Plex. Rough timeline/services below:

    0. Got a Synology DS413 with 4x WD Red 3TB drives. Use Playstation Media Server to stream videos from it. Eventually find some Busybox stuff to add various functionality to the NAS, but it had a habit of undoing them periodically, which was frustrating. I also experienced my first and (knock on wood) only drive failure during this time, which concluded without fanfare once the faulty drive was replaced, and the array repaired itself.

    1. While teaching self Python as an Electrical Distribution Engineer at a utility, I befriended the IT head, who gave me an ancient (I think Nehalem? Quad-core Xeon) Dell T310. Promptly got more drives, totaling 7, and tried various OS / NAS platforms. I had OpenMediaVault for a while, but got tired of the UI fighting me when I knew how to do things in shell, so I switched to Debian (which it's based on anyway). Moved to MergerFS [0] + SnapRAID [1] for storage management, and Plex for media. I was also tinkering with various Linux stuff on it constantly.

    1.1 Got tired of my tinkering breaking things and requiring troubleshooting/fixing (in retrospect, this provided excellent learning), so I installed Proxmox, reinstalled Debian, and made a golden image with everything set up as desired so I could easily revert.

    1.2 A friend told me about Docker. I promptly moved Plex over to it, and probably around this time also got the *Arr Stack [2] going.

    2. Got a Supermicro X9DRi-LN4F+ in a 2U chassis w/ 12x 3.5" bays. Got faster/bigger CPUs (E5-2680v2), more RAM, more drives, etc. Shifted container management to Docker Compose. Modded the BIOS to allow it to boot from a NVMe drive on a PCIe adapter.

    2.1 Shifted to ZFS on Debian. Other than DKMS occasionally losing its mind during kernel upgrades, this worked well.

    2.2 Forked [3] some [4] Packer/Ansible projects to suit my needs, made a VM for everything. NAS, Dev, Webserver, Docker host, etc. Other than outgrowing (IMO) MergerFS/SnapRAID, honestly at this point I could have easily stopped, and could to this day revert back to this setup. It was dead reliable and worked extremely well. IIRC I was also playing with Terraform at this time.

    2.3 Successfully broke into tech (Associate SRE) as a mid-career shift, due largely (according to the hiring manager) to what I had done with my homelab. Hooray for hobbies paying off.

    3. Got a single Dell R620. I think the idea was to install either pfSense or VyOS on it, but that never came to fruition. Networking was from a Unifi USG (their tiny router + firewall + switch) and 8-port switch, with some AC Pro APs.

    4. Got two more R620s. Kubernetes all the things. Each one runs Proxmox in a 3-node cluster with two VMs - a control plane, and worker.

    4.0.1 Perhaps worth noting here that I thoroughly tested my migration plan via spinning up some VMs in, IIRC, Digital Ocean that mimicked my home setup. I successfully ran it twice, which was good enough for me.

    4.1 Played with Ceph via Rook, but a. disliked (and still to this day) running storage for everything out of K8s b. kept getting clock skew between nodes. Someone on Reddit mentioned it was my low-power C-state settings, but since that was saving me something like ~50 watts/node, I didn't want to deal with the higher power/heat. I landed on Longhorn [5] for cluster storage (i.e. anything that wasn't being handled by the ZFS pool), which was fine, but slow. SATA SSDs (used Intel enterprise drives with PLP, if you're wondering) over GBe aren't super fast, but they should be able to exceed 30 MBps.

    4.1.1 Again, worth noting that I spent literally a week poring over every bit of Ceph documentation I could find, from the Red Hat stuff to random Wikis and blog posts. It's not something you just jump into, IMO, and most of the horror stories I read boiled down to "you didn't follow the recommended practices."

    5. Got a newer Supermicro, an X11SSH-F, thinking that it would save power consumption over the older dual-socket I had for the NAS. It turned out to not make a big difference. For some reason I don't recall, I had a second X9DRi-LN4F+ mobo, so I sold the other one with the faster CPUs, bought some cheaper CPUs for the other one, and bought more drives for it. It's now a backup target that boots up daily to ingest ZFS snapshots. I have 100% on-site backups for everything. Important things (i.e. anything that I can't get from a torrent) are also off-site.

    6. Got some Samsung PM863 NVMe SSDs mounted on PCIe adapters for the Dells, and set up Ceph, but this time handled by Proxmox. It's dead easy, and for whatever reason isn't troubled by the same clock skew issues as I had previously. Still in the process of shifting cluster storage from Longhorn, but I have been successfully using Ceph block storage as fast (1 GBe, anyway - a 10G switch is on the horizon) storage for databases.

    So specifically, you asked what I do with the hardware. What I do, as far as my family is concerned, is block ads and serve media. On a more useful level, I try things out related to my job, most recently database-related (I moved from SRE to DBRE a year ago). I have MySQL and Postgres running, and am constantly playing with them. Can you actually do a live buffer pool resize in MySQL? (yes) Is XFS actually faster than ext4 for large DROP TABLE operations? (yes, but not by much) Is it faster to shut down a MySQL server and roll back to a previous ZFS snapshot than to rollback a big transaction? (often yes, although obviously a full shutdown has its own problems) Does Postgres suffer from the same write performance issue as MySQL with random PKs like UUIDv4, despite not clustering by default? (yes, but not to the same extent - still enough to matter, and you should use UUIDv7 if you absolutely need them)

    I legitimately love this stuff. I could quite easily make do without a fancy enclosed rack and multiple servers, but I like them, so I have them. The fact that it tends to help my professional growth out at the same time is a bonus.

    [0]: https://github.com/trapexit/mergerfs

    [1]: https://www.snapraid.it

    [2]: https://wiki.servarr.com

    [3]: https://github.com/stephanGarland/packer-proxmox-templates

    [4]: https://github.com/stephanGarland/ansible-initial-server

    [5]: https://longhorn.io

  • Bitrot protection with BTRFS and Rsync
    1 project | /r/DataHoarder | 15 Sep 2023
    If you are using OpenMediaVault, checkout SnapRaid plugin.
  • Does this count?
    1 project | /r/DataHoarder | 7 Jul 2023
    I used drivepool for years with snapraid before I switched over to unraid. Nothing but good things to say about either program. Highly recommend both.
  • Merge/Raid HDD documentation
    2 projects | /r/CasaOS | 29 Jun 2023
    You can always use SnapRAID . there is no user interface, it is CLI. also you have to sync it manually. or set up a cronjob. you loose a hdd like unRaid or RAID5 but it gives you parity. then you could always use duplicati and backblaze business to make backups. it isnt as expensive as you would think for a homelab. the first back up might be a little much but then its pennies after that
  • Converting my old pc to a backup solution
    2 projects | /r/HomeServer | 9 May 2023
    As for the drives I'm thinking of grabbing a few from ServerPartDeals and upgrading my setup that uses DrivePool and snapRAID, but in Linux you would use mergerfs instead of DrivePool.
  • Thinking of switching from a 4 bay hardware RAID 5 to an 8 bay JBOD. Looking for opinions.
    3 projects | /r/HomeServer | 4 May 2023
    I myself prescribe to the teachings of the IronicBadger(Alex Kretzshmar) from the Self-Hosted podcast and (when I get one setup) intend to follow the guides on his site https://perfectmediaserver.com and use mergerfs to turn a JBOD to a single filesystem and use SnapRAID for redundancy.
  • WWYD? Help choosing b/w NAS, DAS or micro PC case?
    1 project | /r/HomeServer | 19 Apr 2023
    I have that exact Sabrent 5 bay enclosure and I replaced it with this Orico 5 bay enclosure because the Sabrent's connection would fail while I ran snapraid sync, but the Orico has never failed me.
  • Just ordered 2 20TB CMR HDD’s and I’m extremely excited. What RAID method should I use?
    1 project | /r/PleX | 15 Apr 2023
    With two drives? Just run them as-is. Once you get a third disk, set up https://www.snapraid.it. Then as you add more, just follow https://www.snapraid.it/faq#howmanypar to have the correct number of parity disks. Or don't, Plex content is probably easy to re-acquire if you need to so having redundancy or a backup isn't all that important.

scripts

Posts with mentions or reviews of scripts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-10.
  • Anyone here daily drive FreeBSD as their operating system?
    2 projects | /r/freebsd | 10 Dec 2023
    Check out Vermaden's site: https://vermaden.wordpress.com/
  • Ask HN: Most interesting tech you built for just yourself?
    149 projects | news.ycombinator.com | 27 Apr 2023
    I mostly do interesting stuff on FreeBSD and its all documented in as detailed form as possible here:

    - https://vermaden.wordpress.com/

    Regards,

  • Problems that i encountered on FreeBSD and solution
    1 project | /r/freebsd | 10 Apr 2023
    You might want to check out Vermaden https://vermaden.wordpress.com/ And Robonuggie https://youtube.com/@RoboNuggie Both excellent resources on how to get things done on the desktop in FreeBSD. Salute
  • FreeBSD Desktop Users: Suggestions for a New User?
    1 project | /r/freebsd | 16 Feb 2023
  • Should I just migrate to *BSD?
    1 project | /r/freebsd | 28 Jan 2023
  • Ask HN: How do people find your blog?
    3 projects | news.ycombinator.com | 18 Dec 2022
    I always wanted to start and write on my blog - just to share some things that other may find useful.

    I started with something simple - entirely preloaded (all howtos) and static:

    1. http://www.strony.toya.net.pl/~vermaden/links.htm

    I assume no one ever entered it ... besides me of course.

    Then some time later - I though that having that 'static' links site is pointless - lets start 'proper' blog this time. I have chosen Gogle Blogspot this time.

    2. https://vermaden.blogspot.com/

    ... and after several posts I generally abandoned it.

    Several years later I made a decision to make another blog ... but this time with some strategy behind.

    3. https://vermaden.wordpress.com/

    This (3rd) attempt was 'successful' and people sometimes actually visit my blog - sometimes even comment. In March of 2023 I will 'celebrate' the 5th year of that blog. I have made about 100 posts there and I made about 100,000+ views per year:

    - https://i.imgur.com/raWvrZj.png

    What is the secret of [3.] being successful and [1.] and [2.] definitely not? Sharing.

    I do not know what blog (subject matter) you are trying to share - but for IT/UNIX/BSD/Linux related blogs (as mine) you need to share each post on these mediums:

    - mastodon

    - twitter

    - lobsters

    - hacker news

    - FreeBSD forums

    - reddit (r/BSD)

    - reddit (r/FreeBSD)

    - reddit (r/unix)

    - reddit (r/linux)

    - linkedin

    Not sure about Facebook/Meta as their 'ecosystem' definitely does not suit my needs.

    You need to ask yourself where and how people would try to find your content. They would definitely not browse a catalog of blogs. Maybe they wil ltry the search engine ... but search engines only pick up sites that are somewhat popular. They omit pages/blogs that are 'unknown'. How blogs are known? By many links pointing to them.

    In other words - if you do not share your work/posts on all 'relevant' platforms - then you will 'die' in a 'non-known' hell.

    If you believe your work - and it is work, you 'waste' your time to write/share these things you do - is valuable - then share them in all possible mediums/medias. If your content is good - you have to do nothing else. If your content is crap - You will immediately get feedback about it :D

    One of the things that I really appreciate was the feedback I got. I often assumed that I know a lot about 'X' topic - just to change my mind after several comments later and providing and UPDATE to my blog post :)

    I do not know what should I add here more so I will end my comment - but feel free to ask if You have any questions.

    Regards,

  • Desktop friendly forks
    2 projects | /r/freebsd | 24 Nov 2022
  • I want to switch to BSD
    3 projects | /r/freebsd | 30 Sep 2022
    After you get it all running using the cooltrainer site, then go to https://vermaden.wordpress.com/ which has some most excellent tasty config changes to make your boot time shorter, and your desktop work better. ALONG with tons of configs to help you configure different desktops and desktop apps/configs.
  • Ask HN: Can I see your scripts?
    73 projects | news.ycombinator.com | 15 Aug 2022
  • Resume
    1 project | /r/freebsd | 11 Jun 2022
    Any suggestions on how to get resume to work after suspending on a Thinkpad X260? I have read https://vermaden.wordpress.com/ and got suspend to work it just locks and have to reboot.

What are some alternatives?

When comparing snapraid and scripts you can also consider the following projects:

mergerfs-tools - Optional tools to help manage data in a mergerfs pool

freshports - The website part of FreshPorts

Elucidate - Elucidate: A GUI to drive the SnapRAID command line (via .Net)

mergerfs - a featureful union filesystem

dupeguru - Find duplicate files

autobots - ⚡️ Scripts & dotfiles for automation and/or bootstrapping new system setup

MultiPar - Parchive tool

malten - Anonymous ephemeral messaging

exhibitor - Snappy and delightful React component workshop

Rsnapshot - a tool for backing up your data using rsync (if you want to get help, use https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss)

dizquetv - Create live TV channels from your own media. Access the streams using the simulated HDHomerun tuner or the generated M3U URl.