I’m considering Restic and Backblaze B2 as my backup solution. I’m a little worried having read about the potential for unexpected restore costs. For example, I’ve read restoring lots of little files adds to the cost (reference). What are the things to look out for when backing up and restoring that can add to the cost? Are there any best practices to keep costs down?

      • SayCyberOnceMore@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        54 minutes ago

        I moved from Backblaze to a Hetzner storagebox, to backup my Arch (btw) NAS.

        Simpler to work with and cheaper.

    • femtek@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 hours ago

      I’ll have to give that a look. I spun up immich to replace Google photos but I can’t fully switch over till I have them in a cloud backup. Everything else is config/docker files that are small.

  • BlueBockser@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    8 hours ago

    Restic doesn’t write your files 1:1 to B2, but instead chunks their content into files according to a configurable pack size (16MiB by default). If you have a very large amount of data, you could look into increasing the pack size, although that comes with its own risks (see the docs above).

    • ShortN0te@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 hours ago

      I doubt that this applies to files smaller than the pack size or a for example bitwise unique 17MB file would result in a (overly simplified) 16 MB and a 1 MB chunk or am i wrong here?

      • theit8514@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 hours ago

        Most of these backup solutions try to reduce the amount of data backed up, so the system will process each file and determine if the contents changed and only upload new data. In this case if you modify the file you may end up with 2 16 MB chunks that have slightly different data, and only when the old backup expires and the pruning process completes would one of those chunks be deleted.

        Smaller chunks sizes means you get more files written to S3, but less duplicate data when deduping without compression.

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    6 hours ago

    Question: What does BackBlaze B2 give you that BackBlaze’s personal account doesn’t?

  • ShortN0te@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    8 hours ago

    I use B2 for my restic Backup. Currently i have about 100GB stored there and it says i have about 100,000 files stored.

    With the adjusted calculation of the blog you posted for 10TB of 50KB files, adjusted to the mean file size of my restic repository 10 TB of 1MB files:

    Transaction fees: 10,000,000 / 10,000 x $0.004 = $4

    My Laptop has a mean file size of about 16 MB per file on the local restic repository.

    EDIT: Forgot a resume, i do not think you need to worry about it too much. But maybe verify the amount and type of data you want to backup and use calculators to calculate the real cost, also you can always test it by creating a test dataset and then do a backup and recovery scenario and then use this to derive an estimate.

  • femtek@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    9 hours ago

    Backup as a zip? Small files warped up in one big file. Only backup what you can’t restore from somewhere else. I think B2 can ship you a HDD to restore from if I remember correctly.