Re: Uh Oh - Hosed Upgrade - Deb - How to Recover ?

c186282 <[email protected]>
Newsgroups comp.os.linux.misc
Organization wokiesux
Message-ID <[email protected]>
On 8/7/26 15:50, Jim Jackson wrote:
> On 2026-08-07, c186282 <[email protected]> wrote:
>> On 8/6/26 17:16, Jim Jackson wrote:
>>> On 2026-08-05, Lawrence D?Oliveiro <[email protected]> wrote:
>>>> On Tue, 04 Aug 2026 18:18:23 GMT, Charlie Gibbs wrote:
>>>>
>>>>> # Copy the root partition.
>>>>> dd if=/dev/sda1 | gzip >/mnt/backup/cjglap2/sda1.img.gz
>>>>
>>>> Doing a dd on a volume that is currently mounted may not give
>>>> completely reliable results.
>>>>
>>>>> # Copy various directories.
>>>>> rsync -av --delete /etc                                /mnt/backup/cjglap2
>>>>> rsync -av --delete /usr                                /mnt/backup/cjglap2
>>>>> rsync -av --exclude='/home/cjg/.cache/' --delete /home /mnt/backup/cjglap2
>>>>> rsync -av --delete /var/spool/slrnpull                 /mnt/backup/cjglap2
>>>>
>>>> ???-a??? does not include ???-A??? or ???-X???, which I like to include these
>>>> days, just in case.
>>>
>>> also --numeric-ids
>>>
>>> The machine you are backing up to may have different "system" ids (<1000)
>>> and cause problems when copying back - depending on how one does it.
>>
>>     SO many complicating factors these days ! Remember
>>     when Linux updates "Just Worked" ???
> 
> Sorry this isn't about updates, but about backups.


   Note "upgrade" in the thread title.

   I've writ many custom backup apps - and thus DO
   heavily rec getting rsync involved.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.