How should I do backups? (sh.itjust.works)
submitted 2 years ago* (last edited 2 years ago) by to c/selfhosted@lemmy.world
 

I have a server running Debian with 24 TB of storage. I would ideally like to back up all of it, though much of it is torrents, so only the ones with low seeders really need backed up. I know about the 321 rule but it sounds like it would be expensive. What do you do for backups? Also if anyone uses tape drives for backups I am kinda curious about that potentially for offsite backups in a safe deposit box or something.

TLDR: title.

Edit: You have mentioned borg and rsync, and while borg looks good, I want to go with rsync as it seems to be more actively maintained. I would like to also have my backups encrypted, but rsync doesn't seem to have that built in. Does anyone know what to do for encrypted backups?

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 2 years ago (1 child)

I use rclone, which is essentially rsync for cloud services. It supports encrypion out of the box.

  • source
  • hideshow 2 child comments
  • [–] 2 points 2 years ago

    I like the versatility of rclone.

    It can copy to a cloud service directly.

    I can chain an encryption process to that, so it encrypts then backs up.

    I can then mount the encrypted, remote files so that I can easily get to them locally easily (e.g. I could run diff or md5 on select files as naturally as if they were local).

    And it supports the rsync --backup options so that it can move locally deleted files elsewhere on the backup instead of deleting them there. I can set up a dir structure such as Oldfiles/20240301 Oldfiles/20240308 Etc that preserve deletions.

  • source
  • parent