this post was submitted on 22 May 2024
16 points (83.3% liked)
Linux
48624 readers
1247 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Wow.. that's nice and clean - straight forward.
Thank you!
Note: do that from a live CD/USB or with the source drive mounted readonly. If you dd a mounted and used filesystem, you'll most likely end up with a corrupted and useless filesystem on the target.
Nice! Thanks for the tip!
I want to point out that tools like dd or clonezilla will take a copy of the system as-is, in full.
If you want to make it more efficient you may want to look into Borg backups taken in raw mode. It's similar to what the above tools do, but splits the image into chunks and if you repeat the backup it only stores the chunks that changed.
This means you can take snapshots regularly with minimal storage waste. If you did this with the other tools you'd occupy the full image size each time you do it.
Borg also has remote support over SSH, and can do compression and encryption.
Thank you for the suggestion! I think the goal is to have a system as in image backup. But possibly to also back up the data and configuration to then restore that onto a new Linux distro. This is an assumption of course and I hope that is the case. I think my manager had been falling behind on updates/upgrades/back ups with some of the servers and now coming on board this will be my task(s) to handle.
Backing up just configuration is much simpler and efficient, but it depends greatly on how the system was set up. If you're just taking over it's probably safest to just take a disk image, with any of the methods.