I’m trying to plan a better backup solution for my home server. Right now I’m using Duplicati to back up my 3 external drives, but the backup is staying on-site and on the same kind of media as the original. So, what does your backup setup and workflow look like? Discs at a friend’s house? Cloud backup at a commercial provider? Magnetic tape in an underground bunker?

  • empireOfLove2@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    61
    ·
    5 days ago

    3 sticky notes telling me to “go get that incremental backup working”,
    2 separate external hard drives,
    1 month out of date

    • tiz@lemmy.ml
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 days ago

      Same lol. Can’t be that catastrophic. Right? …. Right?

    • HelloRoot@lemy.lol
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      5 days ago

      borgmatic is way too easy and hetzner storage box is way too cheap to have any excuses

  • emerald@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    4 days ago

    “3! 2! 1!” Is just what I say when doing some potentially deleterious action after rsyncing a few key directories to a separate volume

  • brokenlcd@feddit.it
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 days ago

    A usb stick and an old hard drive from 2009. The crackhead way of dealing with backups.

  • Avid Amoeba@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    5 days ago
    • Primary ZFS pool with automatic snapshots
      • Provides 3+ copies of the files via snapshots (3)
    • Secondary ZFS pool at a different location replicates the primary
      • Provides more copies of the files (3)
      • Provides second media (2)
      • Is off-site (1)

    Does this make sense?

  • merthyr1831@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 days ago

    My current plan once new migration is completed:

    Primary pool - 1x ZFS (couldn’t afford redundancy but no different to my RPI server). My goal is to get a few more drives and set up a RAIDZ1/2.

    Weekly backup of critical data (eg. nextcloud) from primary pool to a secondary pool. Goal here is to get a mirror but will only be one drive for now.

    Weekly upload of secondary pool to hetzner storage box via rsync.


    Current server

    1x backup to secondary drive (rpi) 1x backup to hetzner storage box via rsync

  • potentiallynotfelix@lemmy.fish
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 days ago

    DO NOT follow my lead, my backup solution is scuffed at best.

    3:

    I have:

    • RAID1 array w/ 2 drives
    • Photos on the device that took them
    • Photos on a random old hard drive pulled from an ancient apple mac.

    2:

    I’ve got a hard drive and flash memory?

    1:

    Don’t have this at all, the closest is that my phone is off-site half of the day.

  • Lem453@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    5 days ago

    All persistent storage from my dockers are in a folder. All I have to backup everything is backup this one folder along with my docker compose files (in git).

    Locally there are zfs snapshots (autosnapshot) and for remote I use borgmatic.

    Borg to :

    1. Local server
    2. Friends server
    3. Borgbase
      • m33@theprancingpony.in
        link
        fedilink
        arrow-up
        1
        ·
        5 days ago

        @lka1988 @Lem453 Primarily a frontend tool designed to make your life easier, torsion.org/borgmatic , but I tend to avoid macros, frontend scripts, or even GUIs like this. They may obscure Borg-specific configuration details that, hypothetically, could one day hinder your restoration process.

      • Lem453@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 days ago

        Its an automation software for borg backup to run on a schedule and keep a certain number of backups while deleting old ones etc.

  • Eskuero@lemmy.fromshado.ws
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    5 days ago

    4-2-1-1 for me I guess 🫣 or 4-2-2?

    Two copies at home, synced daily, one of them in an external drive that I like to refer as the emergency grab and run copy lol

    One at a family member synced weekly and manually every time I visit.

    All of those three copies are always within a 10 kilometer radius in a valley overseen by a volcano so…

    One partial copy of the so-critical-would-cry-if-Iost data is synced every few days to a backblaze bucket.

  • Justin@lemmy.jlh.name
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    5 days ago

    All storage is on a Ceph cluster with 2 or 3 disk/node replication. Files and databases are backed up using Velero and Barman to S3-compatible storage on the same cluster for versioning. Every night, those S3 buckets are synced and encrypted using rclone to a 10tb Hetzner Storage Box that keeps weekly snapshots.

    Config files in my git repo:

    https://codeberg.org/jlh/h5b/src/branch/main/argo/external_applications/velero-helm.yaml

    https://codeberg.org/jlh/h5b/src/branch/main/argo/custom_applications/bitwarden/database.yaml

    https://codeberg.org/jlh/h5b/src/branch/main/argo/custom_applications/backups

    https://codeberg.org/jlh/h5b/src/branch/main/argo/custom_applications/rook-ceph

    Bit more than 3 copies, but hdd storage is cheap. Majority of my storage is Jellyfin anyways, which doesn’t get backed up.

    I’m working on setting up some small nvme nodes for the ceph cluster, which will allow me to move my nextcloud from hdd storage into its own S3 bucket with 4+2 erasure coding (aka raid 6). That will make it much faster and also its cut raw storage usage from 4x to 1.5x usable capacity

  • Shimitar@downonthestreet.eu
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 days ago

    1 backup on a local, Independence disk. 1 backup on a HDD connected to an OpenWRT router at the other end of the house 1 backup on my remote vps.

    Restic+backrest

    Sftp for remote endpoint

  • blurry@feddit.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 days ago

    I use immich and nextcloud for the clients (my wife and my parents know that I only take care about that data) and on the server side I use borgmatic which has a local repository on the second drive inside my nuc and a remote repository hosted by hetzner called “storage box” which supports borg native.

    Yes the remote is out of my physical access, but borg is fully encrypted and for 4$/3.6€/month for 1TB I feel good.

    Before I started with borg and hetzner I had a rsync based backup with an odroid hc1 hosted by my parents, but that doesn’t feel safe. Due to slow network by my parents I had to sync my local backup instead of a second backup from the real data and the monitoring was also very bad.

    From my point of view: You have no backup, if it is not automated and you have no monitoring.

  • Dark Arc@social.packetloss.gg
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 days ago

    I use Kopia to B2, then on a monthly basis I copy the current Kopia repo to an external drive that’s otherwise kept offline in my house.