What is your linux backup strategy?

mFat@lemdro.id to Linux@lemmy.ml – 182 points –

Can you please share your backup strategies for linux? I'm curious to know what tools you use and why?How do you automate/schedule backups? Which files/folders you back up? What is your prefered hardware/cloud storage and how do you manage storage space?

106

You are viewing a single comment

I use Borg Backup, automated with a bash script that Borg provides. A cron job runs the script at the desired frequency. I keep backups on different computers, ideally I would recommend one copy in the cloud and one copy on a local machine. Borg compresses and encrypts its backups.

Edit: I migrated a server once using the backups from this system and it worked great.

I should really cron my Borg script rather than waiting for a sinking anxiety to set it and doing backups at random intetvals

Make sure to check if it actually ran from the cron job, cron is a finnicky tool