this post was submitted on 18 Dec 2023
121 points (94.2% liked)

Linux

48310 readers
645 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
 

I recently made a post discussing my move to Linux on Fedora, and it's been going great. But today I think I have now become truly part of this community. I ran a command that borked my bootloader and had to do a fresh install. Learned my lesson with modifying the bootloader without first doing thorough investigation lol.
Fortunately I kept my /home on its own partition, so this shouldn't be too bad to get back up and running as desired.

you are viewing a single comment's thread
view the rest of the comments
[–] just_another_person@lemmy.world -2 points 11 months ago (1 children)

Nah. This is old school thought. Use an immutable distro if this is your concern, and keep all your files on a NAS, or something else that can replay your files. Local images of your entire filesystem isn't needed anymore.

[–] KISSmyOS@lemmy.world 5 points 11 months ago (1 children)

Neither an immutable distro nor a NAS is a replacement for backups.
Some people are lucky enough to never learn that backups are vital. Good luck to you in the future!

[–] just_another_person@lemmy.world 0 points 11 months ago (1 children)

They are two different things.

A Clone of an OS install is not needed anymore, for a jillion reasons.

Personal files do not relate to that.

Perhaps you don't understand how these are intended to work?

[–] KISSmyOS@lemmy.world 3 points 11 months ago* (last edited 11 months ago) (1 children)

A Clone of an OS install is not needed anymore, for a jillion reasons.

If my SSD decides to suddenly quit, I can get back all my personal files and configs, plus all the software I had installed with all configurations, configured repositories, user rights and group memberships, GUI customizations, system-wide fonts, .desktop-files, root .bashrc, self-compiled software, etc. etc. by popping in a new SSD and dding my full disk image backup to it with one terminal command.

I fail to see how that is not a nice thing to have even today, or how I would get back to the previous state just as fast without it.

[–] deepdive@lemmy.world 1 points 11 months ago* (last edited 11 months ago) (1 children)

Heyha ! Read about dd on makeuseof after reading your post, to see how it works.

Restoring from an image seems exactly what I was looking for as a full backup restore.

However this kind of 1 command backup isn't going to work on databases (mariadb, mysql...). How should I procede with my home directory where all my containers live and most of them having running databases?

Does it work with logical volumes? Is it possible to copy evrything except /home of the logical volumes?

[–] KISSmyOS@lemmy.world 1 points 11 months ago (1 children)

For special use cases like that, dd isn't the right tool.

[–] deepdive@lemmy.world 2 points 11 months ago

Okay, thank you :)) too bad it looked liked a simple and elegant way...