Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Stored - Introduction and BF presale information

13»

Comments

  • ralfralf Member
    edited November 27

    @Stored said:

    @BasToTheMax said:

    @ralf said:
    The problem is that tape doesn't last all that long in practice. A lot depends on how you store it, but if you don't access it for 5 years, there's a good chance you'll discover it's stuck together and completely unusable, possibly gumming up your drive as well (although I'll admit that's rare).

    Tape drives also tend to drift slightly in alignment, so while you might be able to read back your tape on the drive that wrote it, if that drive breaks, you might find you have a stack of tapes that a new drive can't read.

    In most cases, it's probably best to have a process of rolling partial and incremental daily backups on several tapes rather than sticking them in cold storage, so that if you do ever need to restore something, you have multiple copies and all are only a few days old at most.

    About a decade ago, I went through a vault of backup tapes in the company I was working for. They'd done daily backups of most machines, and most tapes went straight into the vault, so very few had been re-used. There was about a decade of backups, ranging from 10-20 years old. About 20% were completely unusable, and about half had read errors somewhere on the tape.

    I thought their website stated that they read back random files on a tape every week or so?
    Could have misread/misremembered this though

    That is correct we have lots of error correction on at the moment that is based off established practices. I can make a page referencing the papers and studies if anyone cares to geek out.

    Yeah, to be fair, the tapes I were looking at were oldschool - just straight tar archives straight onto the tape using standard UNIX tools. Even in the 90s there were much better backup tools available. So these backups didn't even have checksums, let alone error correction. You could probably go quite far using something like PAR2 and splitting up the files over multiple tapes by interleaving chunks between other customers so that a stretch of faulty tape doesn't damage much of each archive.

    But the general principle of tape sticking and heads going out of alignment is analogue, real world stuff.

    Anyway, not my intention to ruin your thread, just talking about some of the potential issues with tape over any other medium. If I was to use this, it'd really be recovery as a last resort, but then if I'm not regularly checking the backups, I'd not have confidence in them.

    Thanked by 1BasToTheMax
  • @Stored said:

    @BasToTheMax said:
    I'm looking to store around 128-256 GB. Is that possible or is there a minimum storage volume?

    Also, is this really sustainable?
    Tapes are cheap, but the drives and library sound pretty expensive!
    And as others said, how scalable is this, with all the restores happening all the time?

    Would be cool if you could give us some insight past the basics on the site?
    (The site looks AI generated. Not sure if im a fan of that...)

    Hi after the BF thread finishes I'll work on smaller plans. I know that's needed just hard to not get eaten by the processing fees.

    The cubes can hold PBs and lowendtalk is not the main customer! The biggest risks are people not familiar with tape clogging the restore pipeline and how they store their data meaning trying to backup millions of small files and not packing them properly. Both are the main thing I am monitoring for so to answer your question.

    We will have to wait and see!

    Hey, was interested but this comment caught my eye. Lots of small files sounds like how a lot of backup software will chunk and package files. Are there better defaults one should optimize to for tape for something like Restic, Borg, etc? Such as average 10mb chunk or something to that effect.

    Thanked by 1Stored
  • @Stored $24 a year for 1tb with no cost to retrieve. Seems very reasonable for cold storage. Of course you would want some restrictions to prevent abuse. Cool off period after retrieving files? Some minimum size? I'm sure some people will try to upload tons of tiny files without using tar and cause bottlenecks when others want to retrieve. Would be good to know the restrictions before I use this for side project stuff.

    Thanked by 1Stored
  • StoredStored Member, Patron Provider, Megathread Squad

    @rngld said:

    @Stored said:

    @BasToTheMax said:
    I'm looking to store around 128-256 GB. Is that possible or is there a minimum storage volume?

    Also, is this really sustainable?
    Tapes are cheap, but the drives and library sound pretty expensive!
    And as others said, how scalable is this, with all the restores happening all the time?

    Would be cool if you could give us some insight past the basics on the site?
    (The site looks AI generated. Not sure if im a fan of that...)

    Hi after the BF thread finishes I'll work on smaller plans. I know that's needed just hard to not get eaten by the processing fees.

    The cubes can hold PBs and lowendtalk is not the main customer! The biggest risks are people not familiar with tape clogging the restore pipeline and how they store their data meaning trying to backup millions of small files and not packing them properly. Both are the main thing I am monitoring for so to answer your question.

    We will have to wait and see!

    Hey, was interested but this comment caught my eye. Lots of small files sounds like how a lot of backup software will chunk and package files. Are there better defaults one should optimize to for tape for something like Restic, Borg, etc? Such as average 10mb chunk or something to that effect.

    So generally you would want to pack as much you can and tape is not really suited towards being the direct destination. These tools do a full check or just dont work with glacier class storage. If you are familiar with aws deep glacier it is best to follow similar best practices.

    What tool are you currently using. I am trying to keep focus on what people are actually currently using since there is not a catch all for every tool.

  • StoredStored Member, Patron Provider, Megathread Squad

    @Ohmyzsho said:
    @Stored $24 a year for 1tb with no cost to retrieve. Seems very reasonable for cold storage. Of course you would want some restrictions to prevent abuse. Cool off period after retrieving files? Some minimum size? I'm sure some people will try to upload tons of tiny files without using tar and cause bottlenecks when others want to retrieve. Would be good to know the restrictions before I use this for side project stuff.

    I will post a help page with restrictions soon. Currently they are very strict in the sense that the 1% will not enjoy the service for you if you hit limits let me know and I can raise them for you!

    I know thats not a direct answer my hope is that I can quickly ease current limits. I have mentioned before my current user base is quiet users and businesses I have directly worked with to tailor to their needs.

    With lowendtalk there is lots of abuse but my focus is someone like you. I have my own selfhosted tools and always hated being punished because of the few who abuse so I launched with those people in mind first.

    Hope that long answered helped!

  • ralfralf Member
    edited November 28

    @rngld said:

    @Stored said:

    @BasToTheMax said:
    I'm looking to store around 128-256 GB. Is that possible or is there a minimum storage volume?

    Also, is this really sustainable?
    Tapes are cheap, but the drives and library sound pretty expensive!
    And as others said, how scalable is this, with all the restores happening all the time?

    Would be cool if you could give us some insight past the basics on the site?
    (The site looks AI generated. Not sure if im a fan of that...)

    Hi after the BF thread finishes I'll work on smaller plans. I know that's needed just hard to not get eaten by the processing fees.

    The cubes can hold PBs and lowendtalk is not the main customer! The biggest risks are people not familiar with tape clogging the restore pipeline and how they store their data meaning trying to backup millions of small files and not packing them properly. Both are the main thing I am monitoring for so to answer your question.

    We will have to wait and see!

    Hey, was interested but this comment caught my eye. Lots of small files sounds like how a lot of backup software will chunk and package files. Are there better defaults one should optimize to for tape for something like Restic, Borg, etc? Such as average 10mb chunk or something to that effect.

    I'm not sure exactly what he's doing, but traditionally on a tape every time you write the the tape device, it adds a mark afterwards. Typically, you'd then use tar to write an archive of multiple files to the tape as one "block" with a mark after it. You'd then use the mt command to rewind the tape, fast forward or back a certain number of marks, erase the tape, add an EOF marker without an actual file, etc. So, if you want to access the 5th file / archive on the tape you'd do something like mt seek 4, which behind the scenes would be mt rewind ; mt fsf 4.

    If you have a lot of small files and want to recover them, unless you're keeping track of what block you're currently on, that'd be a lot of unnecessary rewinding and fast forwarding. Also, each of these marks uses up a reasonable chunk of tape, because they need to be identifiable when the drive is fast forwarding through the tape. If the files are small, you'd waste a lot of space that way.

    When I used to run backups in the 90s, on each tape I'd have a full backup, followed by a small file with a timestamp, then repeated alternating incremental backups and timestamps. When I was running a backup, I'd fast forward the tape to the EOM marker, rewind a block and read the timestamp, then do an incremental backup from that timestamp, and finally write the timestamp the backup started at.

    Where I worked I'd do an incremental backup during the day onto the end of a tape from a few days ago, and then just before I'd go home, I'd take the oldest tape (we had a weekly rotation so they were labelled day of the week), erase that and kick off a full backup on that tape.

    If you had to restore, we'd hopefully have a full backup from the previous night, and if there were problems with that, the other tape I chose the day before would have an old full backup and incremental backup(s) to the morning of the previous day, and if that also failed, there should be another tape of the night before that and/or another tape of the morning before that, etc...

    Should also add that reading the tape is much, much slower than fast forwarding, so it's sometimes good to split the first initial backup into several marked archives, so that if you're restoring you only have to process some of the tape. If you're using a very old school tar file (i.e. not compressed), that's less of an issue as you can fast forward a certain number of blocks and skip until the next TAR file header.

    Thanked by 1Stored
  • StoredStored Member, Patron Provider, Megathread Squad
    edited November 28

    @ralf said:

    @rngld said:

    @Stored said:

    @BasToTheMax said:
    I'm looking to store around 128-256 GB. Is that possible or is there a minimum storage volume?

    Also, is this really sustainable?
    Tapes are cheap, but the drives and library sound pretty expensive!
    And as others said, how scalable is this, with all the restores happening all the time?

    Would be cool if you could give us some insight past the basics on the site?
    (The site looks AI generated. Not sure if im a fan of that...)

    Hi after the BF thread finishes I'll work on smaller plans. I know that's needed just hard to not get eaten by the processing fees.

    The cubes can hold PBs and lowendtalk is not the main customer! The biggest risks are people not familiar with tape clogging the restore pipeline and how they store their data meaning trying to backup millions of small files and not packing them properly. Both are the main thing I am monitoring for so to answer your question.

    We will have to wait and see!

    Hey, was interested but this comment caught my eye. Lots of small files sounds like how a lot of backup software will chunk and package files. Are there better defaults one should optimize to for tape for something like Restic, Borg, etc? Such as average 10mb chunk or something to that effect.

    I'm not sure exactly what he's doing, but traditionally on a tape every time you write the the tape device, it adds a mark afterwards. Typically, you'd then use tar to write an archive of multiple files to the tape as one "block" with a mark after it. You'd then use the mt command to rewind the tape, fast forward or back a certain number of marks, erase the tape, add an EOF marker without an actual file, etc. So, if you want to access the 5th file / archive on the tape you'd do something like mt seek 4, which behind the scenes would be mt rewind ; mt fsf 4.

    If you have a lot of small files and want to recover them, unless you're keeping track of what block you're currently on, that'd be a lot of unnecessary rewinding and fast forwarding. Also, each of these marks uses up a reasonable chunk of tape, because they need to be identifiable when the drive is fast forwarding through the tape. If the files are small, you'd waste a lot of space that way.

    When I used to run backups in the 90s, on each tape I'd have a full backup, followed by a small file with a timestamp, then repeated alternating incremental backups and timestamps. When I was running a backup, I'd fast forward the tape to the EOM marker, rewind a block and read the timestamp, then do an incremental backup from that timestamp, and finally write the timestamp the backup started at.

    Yes lots of approaches the end user can take. I am working on per bucket configs with defaults based on the tool and some included always hot storage for indexs and other things that are typically small but helps avoid the full read back but that only covers a few tools.

    Haha honestly its been fun trying to get out this edge use cases and obviously I can't support every use case but that's tomorrow's worry.

    Also to your previous post you are not ruining the thread nor have I felt that way. Really I am just trying to keep my answers short and relevant as I can really geek out about all this stuff ha.

  • So really it sounds like chunk size or whatever a given backup tool may call it is irrelevant then, a whole bunch of them as part of an initial or incremental backup would get tar’d together. Compaction or pruning operations sound painful to the point of almost not being worth it, for a tape to really reclaim space sounds it may almost need to rewrite large swathes of data?

    Thanked by 1Stored
  • StoredStored Member, Patron Provider, Megathread Squad

    @rngld said:
    So really it sounds like chunk size or whatever a given backup tool may call it is irrelevant then, a whole bunch of them as part of an initial or incremental backup would get tar’d together. Compaction or pruning operations sound painful to the point of almost not being worth it, for a tape to really reclaim space sounds it may almost need to rewrite large swathes of data?

    Yeah its not a fun process but on your side you don't really need to worry about it and is mainly a problem for me to solve.

    But if you can just put a tarball together and then back that up you are good to go!

    Ill post with more best practices later probably should have started this thread much sooner but here we are.

Sign In or Register to comment.