I just started getting into self hosting using docker compose and I wonder about possible backup solutions. I only have to safe my docker config so far, but I want host files as well. What software and hardware are you using for backup?

  • jevans ⁂
    link
    fedilink
    English
    -12 years ago

    Thanks! I just started setting up NixOS on my laptop and I’m planning to use it for servers next. Saving this for later!

  • @angrox@feddit.de
    link
    fedilink
    English
    32 years ago

    At home I have a Synology NAS for backup of the local desktops. Offsite Backups are done with restic to Blackblaze B2 and to another location.

  • @gobbling871@lemmy.world
    link
    fedilink
    English
    4
    edit-2
    2 years ago

    I use restic (and dejadup just to be safe) backing up to multiple cloud storage points. Among these cloud storage points are borgbase.com, backblaze b2 and Microsoft cloud.

  • Freeman
    link
    fedilink
    English
    12 years ago

    I have an old synology DS1513+

    it runs Active Backup for business and Active backup for google workspace, as well as an AFP share for Apple machines. This is about 95% of all backups. Those backup archive files are then ALSO backed up to one of two large 14TB hdds. I swap them out monthly (or thereabout) and keep the spare at my office or in my firesafe when at home.

    I have a couple other things out there too. A small SSh box to handle some scripting of config file backups etc. My main synology 1815+ also has a cloud sync up to backblaze that happens in realtime, but only keeps 1 copy of stuff as well as a hyperbackup job for super important stuff up to Backblaze, in addition to the nightly backups to the 1513+. This way if my house burns down I still have something (and likely a full copy with the 14TB HDD)

  • Chifilly
    link
    fedilink
    English
    22 years ago

    I use kup to back up my important PC files (the basic pre-installed backup software on KDE neon), which backs up to a separate drive on my PC, and that gets synced to my Nextcloud instance on my local server, and that - along with all the other data for my containers running on it - gets backed up by Kopia to DigitalOcean spaces.

    I couldn’t recommend Kopia strongly enough, because you have such fine control of what gets backed up, when it gets backed up, how many to keep etc. and it is versioned so doesn’t grow exponentially, and it compresses and encrypts the backup. I also have a setup where it executes a script before and after the backup starts that stops and starts the containers to maintain file integrity since nothing will be writing to the files. And it’s also a Docker container so it can just fit into your current compose setup.

  • @hogofwar@lemmy.world
    link
    fedilink
    English
    12 years ago

    I don’t know if it’s a smart solution but I have a HDD in my server that is used just for backups, each night I have rsync automatically moving stuff from multiple locations that I want to back up onto the drive. After that is done I have Kopia backup to B2, with compression, deduplication and encryption. I use healthchecks.io as well to alert me if any of the steps fails to complete (but none of the steps block each other).

  • Rosco
    link
    fedilink
    English
    22 years ago

    On Proxmox, I use the built-in system + storing it to my Synology NAS (RS1221+). I use Active Backup for business (filesync) to back up the Proxmox config files, and also backup the husband’s PC and my work PC.

  • 𝓢𝓮𝓮𝓙𝓪𝔂𝓔𝓶𝓶
    link
    fedilink
    English
    32 years ago

    Desktop: I was using Duplicati for years but I’ve recently switched to Restic directly to B2. I’m using this powershell script to run it.

    Server: I’m also using restic to b2.

    I also have a Qnap NAS. I’m synchronizing my replaceable data to crappy old seagate NAS locally. For the irreplaceable data that’s using the Qnap backup client to B2.

  • @rambos@lemmy.world
    link
    fedilink
    English
    2
    edit-2
    2 years ago

    Everything:

    Kopia encrypted -> another phisical drive

    Kopia encrypted -> backblaze B2

    • Chron job every day at 4:15 AM

    Most important folder (part of everything):

    Duplicaty encrypted -> google drive

    • Also daily backup
    • Tupcakes
      link
      fedilink
      English
      22 years ago

      I do something similar with kopia to b2. it works wonderfully.

  • @bier@lemmy.blahaj.zone
    link
    fedilink
    English
    52 years ago

    my 20 TB storage is currently hosted by Hetzner on a SMB Share with a acompanying server The storage is accessable via NFS/SMB i have a Windows 10 VPS running Backblaze Personal Backup for 7$/Month with unlimited storage while mounting the SMB share as a “Physical Drive” using Dokan because Backblaze B1 doesn’t allow backing up Network shares If your Storage is local you can use the win Backup Agent in a Docker container

  • pirate526
    link
    fedilink
    22 years ago

    I run a second Unraid server with a couple of backup-related applications, as well as Duplicati. I have my main server network mounted and run scheduled jobs to both copy data from the main pool to the backup pool, as well as to Backblaze. Nice having the on-site backup as well as the cloud based.

    I occasionally burn to 100gb blurays as well for the physical backup.

  • @LanyrdSkynrd@lemmy.world
    link
    fedilink
    English
    22 years ago

    Rsync everything besides media to a Storj free account. I also rsync my most important data(docker compose files,config files, home assistant, a few small databases) to Google drive.

  • Sam
    link
    fedilink
    English
    02 years ago

    raid1 + data duplication

    Photos, videos, music, documents, etc… are available on multiple devices using SyncThing.

        • @lynny@lemmy.world
          link
          fedilink
          English
          32 years ago

          If a program screws up and crashes while writing data to your drive, it can take out more than just the data it was dealing with. RAID will simply destroy data on both your drives at the same time, making any data recovery impossible.

        • tables
          link
          fedilink
          32 years ago

          It’s not pedantry, it’s just that RAID and instant data duplication or synchronization aren’t meant to protect you from many of the situations in which you would need a backup. If a drive fails, you can restore the information from wherever you duplicated the data to. If, however, your data is corrupted somehow, the corruption is just duplicated over and you have no way to restore the data to a state before the corruption happened. If you accidentally delete files you didn’t want to delete, the deletion is replicated over and, again, no way to restore them. RAID wasn’t built to solve the problems a backup tries to solve.

          • Sam
            link
            fedilink
            22 years ago

            Well I guess my personal definition of backup is wrong.