I recently implemented a backup workflow for me. I heavily use restic for desktop backup and for a full system backup of my local server. It works amazingly good. I always have a versioned backup without a lot of redundant data. It is fast, encrypted and compressed.

But I wondered, how do you guys do your backups? What software do you use? How often do you do them and what workflow do you use for it?

  • Gieselbrecht@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    I’m curious, is there a reason why noone uses deja-dup? I use it with an external SSD on Ubuntu and (receently) Mint, where it comes pre-installed, and did not encounter Problems.

  • zeca@lemmy.eco.br
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    i do backups of my home folder with Vorta, tha uses borg in the backend. I never tried restic, but borg is the first incremental backup utility i tried that doesnt increase the backup size when i move or rename a file. I was using backintime before to backup 500gb on a 750gb drive and if I moved 300gb to a different folder, it would try to copy those 300gb again onto the backup drive and fail for lack of storage, while borg handles it beautifully.

    as an offsite solution, i use syncthing to mirror my files to a pc at my fathers house that is turned on just once in a while to save power and disc longevity.

  • Vintor@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 month ago

    I’ve found that the easiest and most effective way to backup is with an rsync cron job. It’s super easy to setup (I had no prior experience with either rsync or cron and it took me 10 minutes) and to configure. The only drawback is that it doesn’t create differential backups, but the full task takes less than a minute every day so I don’t consider that a problem. But do note that I only backup my home folder, not the full system.

    For reference, this is the full line I use: sync -rau --delete --exclude-from=‘/home/<myusername>/.rsync-exclude’ /home/<myusername> /mnt/Data/Safety/rsync-myhome

    “.rsync-exclude” is a file that lists all files and directories I don’t want to backup, such as temp or cache folders.

    (Edit: two stupid errors.)

    • everett@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      only drawback is that it doesn’t create differential backups

      This is a big drawback because even if you don’t need to keep old versions of files, you could be replicating silent disk corruption to your backup.

      • suicidaleggroll@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        1 month ago

        It’s not a drawback because rsync has supported incremental versioned backups for over a decade, you just have to use the --link-dest flag and add a couple lines of code around it for management.

  • MentalEdge@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    I recently switched to Kopia for my offsite backup solution.

    It’s apparently one of the faster options, and it can be set up so that the files of the differential backups are handled by a repository server on the offsite end, so file management doesn’t need to happen over the network at a snails pace.

    The result is a way to maintain frequent full backups of my nextcloud instance, with almost no downtime.

    Nextcloud only goes into maintenance mode for the duration of a postgres database dump, after which the actual file system backup occurs using a temporary btrfs snapshot, containing a frozen filesystem at the time of the database dump.

  • suicidaleggroll@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 month ago

    My KVM hosts use “virsh backup begin” to make full backups nightly.

    All machines, including the KVM hosts and laptops, use rsync with --link-dest to create daily incremental versioned backups on my main backup server.

    The main backup server pushes client-side encrypted backups which include the latest daily snapshot for every system to rsync.net via Borg.

    I also have 2 DASs with 2 22TB encrypted drives in each. One of these is plugged into the backup server while the other one sits powered off in a drawer in my desk at work. The main backup server pushes all backups to this DAS weekly and I swap the two DASs ~monthly so the one in my desk at work is never more than a month or so out of date.

  • tasankovasara@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 month ago
    • daily important stuff (job stuff, Documents folder, Renoise mods) is kept synced between laptop, desktop and home server via Syncthing. A vimwiki additionally also syncs with the phone. Sync happens only when on home network.

    • the rest of the laptop and desktop I’ll roll into a tar backup every now and then with a quick bash alias. The tar files also get synced onto home server’s big file system (2 TB ssd) via Syncthing. Home server backs itself up on it’s own once a week.

    • clever thing is that the 2 TB ssd replaced an old 2 TB spinning disk. I kept the old disk and set up a systemd thing that keeps it spun down, but starts and mounts it once a week and rsyncs the changes to the ssd over, then unmounts it so that it sleeps again for a week. That old drive is likely to serve for years still with this frugal use.

  • BlackEco@lemmy.blackeco.com
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 month ago

    My work flow is pretty similar to yours:

    For my desktop and laptops: systemd timer and service that backups every 15 minutes using restic to my NAS.

    For my NAS : daily backup using restic + ZFS snapshots.

    All restic backups are then uploaded daily to Backblaze B2.

    • ItTakesTwo@feddit.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      Do you create ZFS snapshots and let those be backed up to B2 via restic or do you backup different types of data, one with ZFS snapshots and one with restic?