![]() ![]() I will try to spin a couple of scripts from memory. If you are doing tar.gz files on your home directory then you are eating lots of space on full backups where you can actually save space using rsync with linking. I don’t really trust complicated software backup solutions … I want low level get-er-done-with-stock-programs power. I lost my small backup/restore script! So I had to do all the math again on the sectors for dd. ![]() I never really thought about if the backup disk went poof. Each root image is about 5.5GB, so I can save the last 4 images no problem. I don’t care if I lose a couple weeks of stuff … just not everything else up to that point. Haven’t ever had an accident with /home but tarballs are old hat. If shtf wrt a zypper dup upgrade, I simply dd the binary image onto /dev/sda directly (only had to do this once so far). On the fly w/system booted, I dump a tgz of home files. ![]() I dd dump first section of /dev/sda which covers gpt + efi + root through gzip into a file (while booted from a USB stick). Yeah I’m using the word “mirror” fast and loose, no actual drive mirroring. You might want to consider formal mirroring, RAID1. That boot went poof when the mirror croaked makes me think you might either had been running on the mirror while thinking you were running the original, or at least booting from the mirror. “Mirror” how? Literal (strict) mirroring creates clones of partition labels and UUIDs, which generally speaking is a serious problem. You may want to test by shutting down the system, unplugging one of the SSDs and booting again. Whenever the default boot fails, the system will boot into backup. The backup SSD is never mounted automatically. UUID=7739-823F /boot/efi vfat defaults 0 0 ![]() hofkirchen:~ # inxi -Dĭrives: HDD Total Size: 2750.6GB (68.4% used) When encountering a similar problem several times I decided to modify fstab. “A start job is running for dev-disk-by\x2duuid-…” (90 second timeout) The main drive is fine, but I’ve got no backup, so I need to step carefully. Now my openSUSE installation dumps me to the command line in recovery mode. Unexpectedly, the backup ssd went poof and disappeared. So I use a second ssd to mirror my main ssd, so I never lose root or home. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |