I’m trying to find a good method of making periodic, incremental backups. I assume that the most minimal approach would be to have a Cronjob run rsync periodically, but I’m curious what other solutions may exist.

I’m interested in both command-line, and GUI solutions.

  • inex@feddit.de
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    Timeshift is a great tool for creating incremental backups. Basically it’s a frontend for rsync and it works great. If needed you can also use it in CLI

  • HarriPotero@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    1 year ago

    I rotate between a few computers. Everything is synced between them with syncthing and they all have automatic btrfs snapshots. So I have several physical points to roll back from.

    For a worst case scenario everything is also synced offsite weekly to a pCloud share. I have a little script that mounts it with pcloudfs, encfs and then rsyncs any updates.

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

      I use PikaBackup which I think uses Borg. Super good looking Gnome app that has worked for me.

  • akash_rawal@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    I use rsync+btrfs snapshot solution.

    1. Use rsync to incrementally collect all data into a btrfs subvolume
    2. Deduplicate using duperemove
    3. Create a read-only snapshot of the subvolume

    I don’t have a backup server, just an external drive that I only connect during backup.

    Deduplication is mediocre, I am still looking for snapshot aware duperemove replacement.

    • Jo Miran@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I’m not trying to start a flame war, but I’m genuinely curious. Why do people like btrfs over zfs? Btrfs seems very much so “not ready for prime time”.

      • akash_rawal@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        Features necessary for most btrfs use cases are all stable, plus btrfs is readily available in Linux kernel whereas for zfs you need additional kernel module. The availability advantage of btrfs is a big plus in case of a disaster. i.e. no additional work is required to recover your files.

        (All the above only applies if your primary OS is Linux, if you use Solaris then zfs might be better.)

      • EddyBot@feddit.de
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        btrfs is included in the linux kernel, zfs is not on most distros
        the tiny chance that an externel kernel module borking with a kernel upgrade happens sometimes and is probably scary enough for a lot of people

      • Rockslide0482@discuss.tchncs.de
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        I’ve only ever run ZFS on a proxmox/server system but doesn’t it have a not insignificant amount of resources required to run it? BTRFS is not flawless, but it does have a pretty good feature set.

  • Jo Miran@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    At the core it has always been rsync and Cron. Sure I add a NAS and things like rclone+cryptomator to have extra copies of synchronized data (mostly documents and media files) spread around, but it’s always rsync+Cron at the core.

    • garam@lemmy.my.id
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Back In times

      Isn’t timeshift have same purpose, or it’s just matter of preference?

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

        Yes, it is the same purpose, kinda. But timeshift runs as a cron and allows for an easy rollback, while I use BIT for manual backups.

  • useless@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    I use btrbk to send btrfs snapshots to a local NAS. Consistent backups with no downtime. The only annoyance (for me at least) is that both send and receive ends must use the same SELinux policy or labels won’t match.

    • Fonzie!@ttrpg.network
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      I use timeshift because it was pre-installed. But I can vouch for it; it works really well, and let’s you choose and tweak every single thing in a legible user interface!

  • happyhippo@feddit.it
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Vorta + borgbase

    The yearly subscription is cheap and fits my storage needs by quite some margin. Gives me peace of mind to have an off-site back up.

    I also store my documents on Google Drive.

  • BCsven@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    DejaDup on one computer. Another is using Syncthing, another I do a manual Grsync. i really should have a better plan. lol

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

    Is it just me or the backup topic is recurring each few days on [email protected] and [email protected]?

    To be on topic as well - I use restic+autorestic combo. Pretty simple, I made repo with small script to generate config for different machines and that’s it. Storing between machines and b2.