this post was submitted on 15 Oct 2024
174 points (99.4% liked)

Linux

48302 readers
654 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
[–] earth_walker@lemmy.world 35 points 1 month ago* (last edited 1 month 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.

[–] TheAgeOfSuperboredom@lemmy.ca 11 points 1 month ago

Same.

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

[–] gwilikers@lemmy.ml 4 points 1 month 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

[–] earth_walker@lemmy.world 3 points 1 month ago

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