• 0 Posts
  • 7 Comments
Joined 11 months ago
cake
Cake day: August 19th, 2024

help-circle
  • Pointing out problems is not complaining. If you expect everyone to help fix something instead of even mentioning it, then get used to people not talking about (and therefore other, more technically versed, people not discovering) problems anymore.

    (You are welcome to help everyone get to the technical level needed to fix problems instead of just complaining about their lack of knowledge. I mean all problems ever mentioned anywhere by anyone.)



  • Vintor@lemm.eetoLinux@lemmy.mlHow do you backup?
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    4 months 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.)