Re: Uh Oh - Hosed Upgrade - Deb - How to Recover ?
Jim Jackson <[email protected]> Thu, 6 Aug 2026 21:16:48 -0000 (UTC)
| Newsgroups | comp.os.linux.misc |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <[email protected]> |
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.