Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #684129 > unrolled thread

Re: Cult of Unix

Started byFrank Slootweg <this@ddress.is.invalid>
First post2025-01-16 14:12 +0000
Last post2025-01-17 11:09 +0000
Articles 9 — 4 participants

Back to article view | Back to comp.os.linux.advocacy


Contents

  Re: Cult of Unix Frank Slootweg <this@ddress.is.invalid> - 2025-01-16 14:12 +0000
    Re: Cult of Unix Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-16 21:37 +0000
      Re: Cult of Unix "Carlos E.R." <robin_listas@es.invalid> - 2025-01-16 22:48 +0100
        Re: Cult of Unix Paul <nospam@needed.invalid> - 2025-01-16 17:37 -0500
          Re: Cult of Unix Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-17 00:08 +0000
        Re: Cult of Unix Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-17 00:08 +0000
          Re: Cult of Unix "Carlos E.R." <robin_listas@es.invalid> - 2025-01-17 02:00 +0100
            Re: Cult of Unix Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-17 02:46 +0000
      Re: Cult of Unix Frank Slootweg <this@ddress.is.invalid> - 2025-01-17 11:09 +0000

#684129 — Re: Cult of Unix

FromFrank Slootweg <this@ddress.is.invalid>
Date2025-01-16 14:12 +0000
SubjectRe: Cult of Unix
Message-ID<vmb7ks.dm0.1@ID-201911.user.individual.net>
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Tue, 14 Jan 2025 20:05:34 -0600, Hank Rogers wrote:
> 
> > I think people are better off to get some type of imaging software ...
> 
> On Linux systems, rsync works well. It?s essentially a bulk file-copying 
> utility. That?s all you need to backup/restore Linux systems.

  (Partition/disk) Imaging software is for bare-metal restores, mostly
for restoring the OS, programs, settings, etc.. It's not file-level
backup [1]. Two completely different animals and one is no replacement
for the other.

  But indeed, you don't *need* imaging software, if you're willing to
re-install the OS, etc. if needed.

[1] But most imaging packages can also do file-level restores.

[toc] | [next] | [standalone]


#684157

FromLawrence D'Oliveiro <ldo@nz.invalid>
Date2025-01-16 21:37 +0000
Message-ID<vmbu7i$3m5re$1@dont-email.me>
In reply to#684129
File-copying software like rsync is quite sufficient for doing “bare-metal 
restores” on Linux.

[toc] | [prev] | [next] | [standalone]


#684161

From"Carlos E.R." <robin_listas@es.invalid>
Date2025-01-16 22:48 +0100
Message-ID<qdbo5lxojh.ln2@Telcontar.valinor>
In reply to#684157
On 2025-01-16 22:37, Lawrence D'Oliveiro wrote:
> File-copying software like rsync is quite sufficient for doing “bare-metal
> restores” on Linux.

Not for restoring grub.

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#684165

FromPaul <nospam@needed.invalid>
Date2025-01-16 17:37 -0500
Message-ID<vmc1mr$3mnkg$1@dont-email.me>
In reply to#684161
On Thu, 1/16/2025 4:48 PM, Carlos E.R. wrote:
> On 2025-01-16 22:37, Lawrence D'Oliveiro wrote:
>> File-copying software like rsync is quite sufficient for doing “bare-metal
>> restores” on Linux.
> 
> Not for restoring grub.
> 

Some people don't understand what a complete solution is.

A complete solution, these are some of the things it does.

   Record MBR
   Save boot track (first megabyte or whatever)
   Save ESP
   Save Microsoft Reserved (16MB, NoFS)
   Save all partitions.
   Disambiguate BLKID on Windows boot materials.
   Edit BCD file and place the new BLKID values in the menu.
     (This means two boot disks don't interfere with one another in any way).
   Macrium does not disambiguate EXT4 partitions, or edit GRUB, but it
     does back up enough of GRUB so it works. Beware of how Linux behaves
     on two identical disks, because of this (not the fault of Linux).
     Macrium is primarily a Windows tool, that just happens to back up EXTn.
   Back up primary and secondary GPT partition tables, restore to *correct* location on disk.
     (Even if destination disk is smaller, it puts the secondary table in the right place.)

After a bare metal restore, your Windows disk boots immediately.

If there was a structural flaw in the boot materials, when the stuff
was backed up, the Rescue CD also has a Boot Repair for the simpler
kinds of boot faults. It does not have a set of files for ESP, and
cannot "fake" all the details for you. The Windows repair does not have
that capability either.

   Paul

[toc] | [prev] | [next] | [standalone]


#684171

FromLawrence D'Oliveiro <ldo@nz.invalid>
Date2025-01-17 00:08 +0000
Message-ID<vmc72o$3nl2p$3@dont-email.me>
In reply to#684165
On Thu, 16 Jan 2025 17:37:13 -0500, Paul wrote:

> A complete solution, these are some of the things it does.

Unnecessary.

[toc] | [prev] | [next] | [standalone]


#684170

FromLawrence D'Oliveiro <ldo@nz.invalid>
Date2025-01-17 00:08 +0000
Message-ID<vmc71m$3nl2p$2@dont-email.me>
In reply to#684161
On Thu, 16 Jan 2025 22:48:10 +0100, Carlos E.R. wrote:

> On 2025-01-16 22:37, Lawrence D'Oliveiro wrote:
>
>> File-copying software like rsync is quite sufficient for doing
>> “bare-metal restores” on Linux.
> 
> Not for restoring grub.

After the bulk file copy (with rsync or other tool), you need to fix up 
two things:

1) /etc/fstab with the new volume UUIDs
2) reinstall grub

That’s it. I have successfully migrated bootable systems many times using 
this procedure.

[toc] | [prev] | [next] | [standalone]


#684178

From"Carlos E.R." <robin_listas@es.invalid>
Date2025-01-17 02:00 +0100
Message-ID<3nmo5lx75d.ln2@Telcontar.valinor>
In reply to#684170
On 2025-01-17 01:08, Lawrence D'Oliveiro wrote:
> On Thu, 16 Jan 2025 22:48:10 +0100, Carlos E.R. wrote:
> 
>> On 2025-01-16 22:37, Lawrence D'Oliveiro wrote:
>>
>>> File-copying software like rsync is quite sufficient for doing
>>> “bare-metal restores” on Linux.
>>
>> Not for restoring grub.
> 
> After the bulk file copy (with rsync or other tool), you need to fix up
> two things:
> 
> 1) /etc/fstab with the new volume UUIDs

No. I want the old UUIDs and labels.

> 2) reinstall grub

I don't want to.


And you forget rebuilding initrd, which holds a copy of fstab. And you 
forget that there are encrypted partitions.

> 
> That’s it. I have successfully migrated bootable systems many times using
> this procedure.


I know. Me too.

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#684182

FromLawrence D'Oliveiro <ldo@nz.invalid>
Date2025-01-17 02:46 +0000
Message-ID<vmcgak$3osq8$1@dont-email.me>
In reply to#684178
On Fri, 17 Jan 2025 02:00:51 +0100, Carlos E.R. wrote:

> On 2025-01-17 01:08, Lawrence D'Oliveiro wrote:
>
>> After the bulk file copy (with rsync or other tool), you need to fix up
>> two things:
>> 
>> 1) /etc/fstab with the new volume UUIDs
> 
> No. I want the old UUIDs and labels.

I don’t care.

>> 2) reinstall grub
> 
> I don't want to.

I don’t care that you don’t.

> And you forget rebuilding initrd, which holds a copy of fstab.

No it doesn’t.

> And you forget that there are encrypted partitions.

Never bothered with that. These were servers on the customer’s LAN.

[toc] | [prev] | [next] | [standalone]


#684205

FromFrank Slootweg <this@ddress.is.invalid>
Date2025-01-17 11:09 +0000
Message-ID<vmdha5.i2o.1@ID-201911.user.individual.net>
In reply to#684157
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> File-copying software like rsync is quite sufficient for doing ?bare-metal 
> restores? on Linux.

  My apologies for breaking the thread (my earlier response has no
'References:' header). No idea how that happened.

  That's probably what you get for using vim to compose and a 'Unix'
newsreader to post! :-)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.advocacy


csiph-web