I have a home server that I’m using and hosting files on it. I’m worried about it breaking and loosing access to the files. So what method do you use to backup everything?

  • cnk@kbin.dk
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    cronjobs with rsync to a Synology NAS and then to Synology’s cloud backup.

  • krdo@lmmy.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    I backup using a simple rsync script to a Hetzner storage box.

  • bluGill@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Zfs z2 pool . Not a perfect backup, but it covers disk failure (already lost one disk with no data loss), and accidental file deletion. I’m vulnerable to my house burning down, but overall I sleep well enough.

  • Anon819450514@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 years ago

    Backblaze on a B2 account. 0.005$ per gb. You pay for the storage you use. You pay for when you need to download your backup.

    On my truenas server, it’s easy as pie to setup and easy as 🥧 to restore a backup when needed.

  • z3bra@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 years ago

    For config files, I use tarsnap. Each server has its own private key, and a /etc/tarsnap.list file which list the files/directories to backup on it. Then a cronjob runs every week to run tarsnap on them. It’s very simple to backup and restore, as your backups are simply tar archives. The only caveat is that you cannot “browse” them without restoring them somewhere, but for config files it’s pretty quick and cheap.

    For actual data, I use a combination of rclone and dedup (because I was involved in the project at some point, but it’s similar to Borg). I sync it to backblaze because that’s the cheapest storage I could find. I use dedup to encrypt the backup before sending it to backblaze though. Restoration is very similar to tarsnap:

    dup-unpack -k keyfile snapshot-yyyymmdd | tar -C / -x [files..] .
    

    Most importantly, I keep a note on how to backup/restore: Backup 101