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
    22
    ·
    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

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

    Is it just me or the backup topic is recurring each few days on !linux@lemmy.ml and !selfhosted@lemmy.world?

    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.

    • grue@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      It hasn’t succeeded in nagging me to properly back up my data yet, so I think it needs to be discussed even more.

      • TheAnonymouseJoker@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        1 year ago

        I would argue you need to lose your data once to consider it important over a lot of useless things in your life. Most people are like this.

  • PlexSheep@feddit.de
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    I have a bash script that backs all my stuff up to my Homeserver with Borg. My servers have cronjobs that run similar scripts.

  • thegreenguy@kbin.social
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    Pika Backup (GUI for borgbackup) is a great app for backups. It has all the features you might expect from backup software and “just works”.

  • HughJanus@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    I don’t, really. I don’t have much data that is irreplaceable.

    The ones that are get backed up manually to Proton Drive and my NAS (manually via SMB).

  • Jajcus@kbin.social
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    Kopia or Restic. Both do incremental, deduplicated backups and support many storage services.

    Kopia provides UI for end user and has integrated scheduling. Restic is a powerfull cli tool thatlyou build your backup system on, but usually one does not need more than a cron job for that. I use a set of custom systems jobs and generators for my restic backups.

    Keep in mind, than backups on local, constantly connected storage is hardly a backup. When the machine fails hard, backups are lost ,together with the original backup. So timeshift alone is not really a solution. Also: test your backups.

  • okda@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Check out Pika backup. It’s a beautiful frontend for Borg. And Borg is the shit.

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

    Exactly like you think. Cronjob runs a periodic rsync of a handful of directories under /home. My OS is on a different drive that doesn’t get backed up. My configs are in an ansible repository hosted on my home server and backed up the same way.

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

    Restic since 2018, both to locally hosted storage and to remote over ssh. I’ve “stuff I care about” and “stuff that can be relatively easily replaced” fairly well separated so my filtering rules are not too complicated. I used duplicity for many years before that and afbackup to DLT IV tapes prior to that.

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

    Git projects and system configs are on GitHub (see etckeeper), the reset is synced to my self-hosted Nextcloud instance using their desktop client. There I have periodic backup using Borg for both the files and Nextcloud database.

  • KitchenNo2246@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    All my devices use Syncthing via Tailscale to get my data to my server.

    From there, my server backs up nightly to rsync.net via BorgBackup.

    I then have Zabbix monitoring my backups to make sure a daily is always uploaded.