this post was submitted on 15 Oct 2024
181 points (99.5% liked)

Linux

48718 readers
1132 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 35 points 2 months ago* (last edited 2 months ago) (2 children)

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.

[–] [email protected] 11 points 2 months ago

Same.

I use Bortmatic to manage my repos and I pay a little bit to BorgBase for offsite backup of my important stuff.

[–] [email protected] 4 points 2 months ago (1 children)

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

[–] [email protected] 3 points 2 months ago

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