180
submitted 1 month ago* (last edited 1 month ago) by mfat to c/linux@lemmy.ml

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
[-] JubilantJaguar@lemmy.world 5 points 1 month ago

Here's one that probably nobody else here is doing. The backup goes on my mobile device. Yes, the thing in my pocket.

  • Mount it over SSHFS on the local network
  • Unlock a LUKS container in the form of a 30GB sparse file on the device
  • rsync the files across
  • Lock, unmount

The backup is incremental but the container file never changes size, no matter what's in it. Your data is in two places and always under your physical control. But the key is never stored on the remote device, so you could also do this with a VPS.

Highly recommended.

[-] tonyn@lemmy.ml 1 points 1 month ago
[-] JubilantJaguar@lemmy.world 1 points 1 month ago
[-] tonyn@lemmy.ml 2 points 1 month ago

If your local machine dies, and you have a backup on your phone which you cannot unlock... aren't you screwed?

[-] JubilantJaguar@lemmy.world 1 points 1 month ago

Good question. No, but at a small cost in security. The key I generated using sha512sum using a very solid memorized passphrase. This means I can regenerate the key in the scenario you describe.

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

Linux

48300 readers
652 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