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?

  • @jakoma02@czech-lemmy.eu
    link
    fedilink
    English
    22 years ago

    So far I have had good experience with kopia. But it is definitly less battle-tested than the other alternatives and I do not use it for too critical stuff yet.

  • mariom
    link
    fedilink
    English
    12 years ago

    For containers (but I use k3s) I use git to store helmfiles and configuration, secrets in ci/cd system.

    For the rest - I use autorestic that backups data over ssh and S3.

  • WxFisch
    link
    fedilink
    English
    22 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).

  • @dtc@lemmy.pt
    link
    fedilink
    English
    12 years ago

    I’ve been using Restic for a while, and it’s backing up to a Hetzner storage box (1TB).

    Restic supports encryption, compression, deduplication, and can forget old backups in a spread out timeline (configurable; e.g. save one yearly, three monthly and 7 daily).

    On top of this I also use healthchecks.io to make sure all backups are working.

  • 0110010001100010
    link
    fedilink
    62 years ago

    Local backup to my Synology NAS every night which is then replicated to another NAS at my folks house through a secure VPN tunnel. Pretty simple and easy to deploy.

  • 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!

  • @giant_smeeg@lemmy.world
    link
    fedilink
    English
    32 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.

  • Entropy
    link
    fedilink
    English
    12 years ago

    Encrypted backup to google drive weekly from unraid, planning to get a NAS for another backup location

  • @kaotic@lemmy.world
    link
    fedilink
    English
    5
    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.

  • 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)

  • @hoodlem@hoodlem.me
    link
    fedilink
    English
    32 years ago

    I use Backblaze B2. I was using AWS S3 but the Backblaze pricing is significantly better.

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

      You should look into s3 deep glacier. It’s $0.001 GB / month. Caveat is there’s a 6 month minimum charge per object.

  • @ScandalFan85@feddit.de
    link
    fedilink
    English
    12 years ago

    For my workstation I’m using a small script that packs and compresses all relevant directories with tar once a week. The resulting file is then copied to a local backup drive and to my NAS. An encrypted version of that file is sent to an offsite VPS.

    For my selfhosted services (on Proxmox) I’m using ProxmoxBackupServer.

  • @thisbenzingring@lemmy.sdf.org
    link
    fedilink
    English
    22 years ago

    veeam is pretty simple and powerful, the community version is free if you are only using it for a small environment (CPU cores is what it counts)

    I havn’t used it for docker but it says it is supported

    • vairfoley
      link
      fedilink
      English
      12 years ago

      I use Veeam to backup shares on my NAS to rotated external drives. I also backup a Linux server.

  • @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.

  • 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.