rsync is bad
k5di at zianet.com
Sun Jun 8 11:21:58 UTC 2008
Bart Silverstrim wrote:
> Karl Larsen wrote:
>> I hoped that rsync would result in a copy of the original but fails
>> to do so. It seems to do something to GTK+ which no-one including me,
>> has the first clue how to fix. I have had no luck with rsync so will
>> stop using it.
>> So I will back off to dd which I know works just fine. That will be
>> my next way to copy this Ubuntu 7.10 to another partition. Forget rsync
>> it has bad problems.
> Um...what exactly did you *do* with rsync at the command line that it
> didn't work?
I used this bash file to transfer the original to a USB hard drive:
karl at karl-desktop:~$ cat /root/bin/backup
# This file is designed to backup my Ubuntu to the USB Hard Drive using
# Karl Larsen, 26 Feb 08
rsync -av /boot /media/disk/
rsync -av /bin /media/disk/
rsync -av /dev /media/disk/
rsync -av /etc /media/disk/
rsync -av /lib /media/disk/
rsync -av /opt /media/disk/
rsync -av /root /media/disk/
rsync -av /sbin /media/disk/
rsync -av /tmp /media/disk/
rsync -av /usr /media/disk/
rsync -av /var /media/disk/
rsync -av /initrd /media/disk/
karl at karl-desktop:~$
Then I used this to to copy from the USB hard drive to /dev/hda7 at the
$ sudo rsync -av /usr /mnt
The /mnt is on the LiveCD and that is where I mounted /dev/hda7.
It worked fine with zero errors.
But when I used the backup on /dev/hda7 it errors out with a GDK+ problem.
Karl F. Larsen, AKA K5DI
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users