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?

    • neardeaf@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Seconding this. On my unRAID host, I run a docker container called “Vorta” that uses Borg as its backend mechanism to backup to my SynologyNAS over NFS. Then on my Syno, run two backup jobs using HyperBackup, one goes to my cousin’s NAS connected via a Site-to-Site OpenVPN connection on our edge devices (Ubiquity Unifi Security Gateway Pro <-> UDM Pro), the other goes to Backblaze B2 Cloud Storage.

      OP, let me know if you need any assistance setting something like this up. Gotta share the knowledge over here on Lemmy that we’re still used to searching evil Reddit for.

        • neardeaf@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Niiiice, quick question, are both of y’all running the latest UniFi Controller version & using the new WebUI view layout?

          • PlutoniumAcid@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            His gear is v7 (Unifi and also Synology DSM) and I am still on v6 because I didn’t have a good reason to upgrade. If it works, don’t fix it, you know? Feature-wise there the same anyway just different UI. But sure, give me a good reason to upgrade, and I will :)

  • ComptitiveSubset@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 years ago

    For app data, Borg as backup/restore software. Backup data is then stored on Hetzner as an offsite backup - super easy and cheap to setup. Also add healthchecks.io to get notified if a backup failed.

    Edit: Backup docker compose files and other scripts (without API keys!!!) with git to GitHub.

  • kaotic@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    2 years ago

    I’ve had excellent luck with Kopia, backing up to Backblaze B2.

    At work, I do the same to a local directory in my company provided OneDrive account to keep company data on company resources.

  • gobbling871@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    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.

  • giant_smeeg@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    Rsync to backblaze b2. I only backup the stuff I can’t download again (photos/docs etc). It’s the cheapest option and does version control automatically for me on a 12 hourly basis.

    I then also once a week plug in my external SSD and it auto dumps changes to it via rclone.

    Google drive/takeout etc are all done periodically and put into a folder that will roll into the above backups.

  • LanyrdSkynrd@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 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.

  • angrox@feddit.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 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.

  • rambos@lemmy.world
    link
    fedilink
    English
    arrow-up
    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
  • lynny@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    2 years ago

    Someone on lemmy here suggested Restic, a backup solution written in Go.

    I back up to an internal 4TB HDD every 30 minutes. My most important files are stored in an encrypted file storage online in the cloud.

    Restic is good stuff.

  • WxFisch@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    2 years ago

    Backblaze B2. Any software that is S3 compatible can use B2 as the target and it’s reasonably priced for the service. I backup all the PCs and services to a Synology NAS and then backup that to B2 (everything except my Plex media, that would be pricy and it’s easy enough to re-rip from disc if needed).

  • RxBrad@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    2 years ago

    Rsnapshot to an external USB drive.

    Probably not the best, but it works for my little 6TB OpenMediaVault server with some Docker thrown in.

  • Chifilly@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 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.