What storage software could I run to have an archive of my personal files (a couple TB of photos) that doesn’t require I keep a full local copy of all the data? I like the idea of a simple and focused tool like Syncthing, but they seem to be angling towards replication.

Is the simple choice to run some S3-like backend and use CLI or other client to append and browse files? I’d love something with fault tolerance that someone can gradually add disks to. If ceph were either less complicated or used less resources I’d want to do that.

  • skilltheamps@feddit.de
    link
    fedilink
    English
    arrow-up
    9
    ·
    8 months ago

    that doesn’t require I keep a full local copy of all the data

    If you don’t do that, the place that you call “backup” is the only place where it is stored - that is not a Backup. A backup is an additional place where it is stored, for the case when your primary storage gets destroyed.

    • jkrtn@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 months ago

      “Local” as in the machine I am using to work on, which has a 256 GB SSD. Not as in “on-site” and “off-site.”

      • computergeek125@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        8 months ago

        In the IT world, we just call that a server. The usual golden rule for backups is 3-2-1:

        • 3 copies of the data total, of which
        • 2 are backups (not the primary access), and
        • 1 of the backups is off-site.

        So, if the data is only server side, it’s just data. If the data is only client side, it’s just data. But if the data is fully replicated on both sides, now you have a backup.

        There’s a related adage regarding backups: “if there’s two copies of the data, you effectively have one. If there’s only one copy of the data, you can never guarantee it’s there”. Basically, it means you should always assume one copy somewhere will fail and you will be left with n-1 copies. In your example, if your server failed or got ransomwared, you wouldn’t have a complete dataset since the local computer doesn’t have a full replica.

        I recently had a a backup drive fail on me, and all I had to do was just buy a new one. No data loss, I just regenerated the backup as soon as the drive was spun up. I’ve also had to restore entire servers that have failed. Minimal data loss since the last backup, but nothing I couldn’t rebuild.

        Edit: I’m not saying what your asking for is wrong or bad, I’m just saying “backup” isn’t the right word to ask about. It’ll muddy some of the answers as to what you’re really looking for.

        • jkrtn@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          8 months ago

          Yes, I do see that. I’m definitely getting answers to a question I didn’t intend. I was hoping for more of an rsync but that something which also provides viewing and incremental backups to an offsite. I don’t know how to phrase that, and perhaps for what I want it makes more sense to have rsync/rclone to copy files around and something else to view.

          • skilltheamps@feddit.de
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 months ago

            It is not that easy to understand what you want, to me it reads like you want something like Nextcloud - i.e. your own little cloud, where you can put all your stuff, and view it through the webbrowser or the nextcloud apps, and also keep selected parts of your stuff in sync with your devices (or automatically upload photos take with your smartphone for example).

            Backup of Nextcloud (or whatever you want to use) is a seperate topic. Any incremental backup tool would apply though, so there’s much to choose from. I personally use btrbk which uses Btrfs Send+Receive to push incremental snapshots to an offsite server.

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    7
    ·
    8 months ago

    Borg Backup. It can work locally or over network. Takes snapshots of the files you give it. Performs deduplication, compression and optionally encryption. You can check the integrity of the backups and repair them. There’s a very simple to use GUI for it called Pika Backup to get you started.

  • atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    8 months ago

    Sounds like something like “git annex” is what you’re looking for?

    I use this to manage all my photos. It lets you add binaries and synchronize then to a backend server (can be local, can be s3, back blaze, etc).

    You can then “drop” files and it ensures a remote exists first. And when you drop the file your still see a symlink of it locally (it’s broken) so that you know it exists.

    My workflow is to add my files, sync them to both a local server and b2, then I drop and fetch folders as i need (need disk space? “git annex drop 2022*”, want to edit some photos? “git annex get 2022_10_01”.

  • solrize@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    I use Borg Backup to a Hetzner storage box but doing the same thing to a disk array would work fine. How much data are you talking about? What is the usage picture? Backup and archiving are really not the same thing.

    • jkrtn@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 months ago

      I was looking at Borg but that’s one of the tools where it seems like I need the entire replicated copy of the dataset locally to add more. I believe Borg can open a view into previous versions of the data, so it’s technically append only, but I’d find that process tedious.

      These are a couple TB and mostly photos I’ve taken. I’d like to be able to browse and edit at some point, but my primary concern right now is keeping a copy of everything.

      • solrize@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        8 months ago

        Yeah that’s more of an archive than a backup scenario. I have a small self hosted Nextcloud that I use for stuff like that. For a few TB, you might consider Hetzner Storage Cloud which is really Nextcloud. It is backed up daily which is a help.

        • jkrtn@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 months ago

          How was it setting up and running Nextcloud? I’m very curious about their office software, looks fun.

          • solrize@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            8 months ago

            As I remember, setting it up was kind of a pain, but once runnnig it hasn’t neded attention. I don’t use the fancy apps. Also, by now there might be an apt package or docker container or something of that sort. I haven’t used their fancy apps much. My main use of it is to upload photos from my phone so I can access them from other devices.

  • computergeek125@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    8 months ago

    What platform?

    Another user said it - what your asking for isn’t a backup, it’s just data transfer.

    It sounds like you’re looking for a storage backend that hosts all your data and can download data to the client side on the fly.

    If your use case is Windows, Nextcloud Desktop may be what you looking for. I have a similar setup with the game clips folder. It detects changes and auto uploads then, while deleting less recently used data that’s properly server side. This feature might be in Mac but I haven’t tested it.

    Backup wise, I capture an rsync of the nextcloud database and filesystem server-side and store it on a different chassis. That then gets backed up again to a USB drive I can grab and run.

    Nextcloud also supports external storage, which the server directly connects to: https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/external_storage_configuration_gui.html

  • Dremor@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    You could run a WebDAV server, like Nextcloud.

    On windows it supports thin sync (meaning that it keep a reference to the file instead of the whole file), on Linux not yet, as it is still in alpha (but you can just connect it as a remote disk and be done with it. That’s how I do with mines).

    If you don’t want the whole Nextcloud, there are standalone cli WebDAV servers.

  • hperrin@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    All of my machines back up to my home server’s RAID over WebDAV with Nephele.

    Then every few days I’ll manually sync them to a server at my parents’ house with a single huge HDD using rsync. I do this manually so that if anything happens to my home server (like ransomware) it doesn’t mirror destroyed data.

    Since the Nephele share is just WebDAV, I can mount it locally and move things into it that I don’t want local anymore.

    I created Nephele, and I just finished writing an encryption plugin. I wrote it because I’m also going to write an S3 adapter. That way, you can store things in S3, but they’ll be encrypted, so Amazon can’t see them.

    • jkrtn@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      This is really cool. I ended up trying something similar: serving from a ZFS pool with SeaweedFS. TBD if that’s going to work for me long term.

      I would definitely be able to manually sync the SeaweedFS files with rsync to another location but from what I see it requires me to use their software to make sense of any structure. I might be able to mount it and sync that way, hopefully performance for that is not too bad.

      Syncing like that and having more control over where the files are placed on the RAID is very cool.

      • hperrin@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        I’m assuming I would notice, because none of my services on the machine would work anymore.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    7 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    Git Popular version control system, primarily for code
    NAS Network-Attached Storage
    RAID Redundant Array of Independent Disks for mass storage
    SSD Solid State Drive mass storage
    ZFS Solaris/Linux filesystem focusing on data integrity

    5 acronyms in this thread; the most compressed thread commented on today has 2 acronyms.

    [Thread #523 for this sub, first seen 17th Feb 2024, 23:55] [FAQ] [Full list] [Contact] [Source code]