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.
I don’t. I lose my data like all the cool (read: fool) kids.
I too rawdog linux like a chad
Too real
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
I use Borg backup with Vorta for a GUI. Hasn’t let me down yet.
I use PikaBackup which I think uses Borg. Super good looking Gnome app that has worked for me.
Borgmatic is also a great option, cli only.
This is the correct answer.
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.
It is a critical one. Maybe needs to be part of an FAQ with link to discussion.
It hasn’t succeeded in nagging me to properly back up my data yet, so I think it needs to be discussed even more.
Removed by mod
I have a bash script that backs all my stuff up to my Homeserver with Borg. My servers have cronjobs that run similar scripts.
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”.I really like Pika Backup’s UI. It’s simple enough that my mom is able to backup her data to a usb drive too.
I use Back In Time to backup my important data on an external drive. And for snapshots I use timeshift.
Back In times
Isn’t timeshift have same purpose, or it’s just matter of preference?
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.
Duplicity (cli) with deja-dup (gui) has saved my sorry ass many times.
I use
restic
(https://restic.net/) which can userclone
to connect to a variety of backends (eg. onedrive, mega, dropbox etc.). Also,resticprofile
(https://restic.net/) makes it easier to run (hides flags in the config file). I use it manually but a cron job would be easy to implement (a tutorial is here: https://forum.yunohost.org/t/daily-automated-backups-using-restic/16812).Restic does not need rclone and can use many remote storage services directly. I do restic backups directly to Backblaze.
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.
I also use it. Big benefit is also that you don‘t need a special software to access your backup.
Been using rsnapshot for years, has saved me more than once
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.
rsync + backblaze B2. Bafkblaze is stupid cheap.
Cost is about $10 per year.
I do periodic backups of my system from live usb via Borg Backup to a samba share.
Check out Pika backup. It’s a beautiful frontend for Borg. And Borg is the shit.
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.
I really like kopia