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
    26
    arrow-down
    1
    ·
    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
    11
    ·
    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.

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

      Restic does not need rclone and can use many remote storage services directly. I do restic backups directly to Backblaze.

  • elscallr@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    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.

  • thegreenguy@kbin.social
    link
    fedilink
    arrow-up
    8
    ·
    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”.

  • 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.

  • kittyrunningnoise@lemm.ee
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    I like rsnapshot, run from a cron job at various useful intervals. backups are hardlinked and rotated so that eventually the disk usage reaches a very slowly growing steady state.

  • 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.

  • knfrmity@lemmygrad.ml
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    1 year ago

    I have scripts scheduled to run rsync on local machines, which save incremental backups to my NAS. The NAS in turn is incrementally backed up to a remote server with Borg.

    Not all of my machines are on all the time so I also built in a routine which checks how old the last backup is, and only makes a new one if the previous backup is older than a set interval.

    I also save a lot of my config files to a local git repo, the database of which is regularly dumped and backed up in the same way as above.