rsync is bad

Johnny Rosenberg gurus.knugum at gmail.com
Sun Jun 8 13:14:41 UTC 2008


2008/6/8, Karl Larsen <k5di at zianet.com>:
>
> 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
> rsync
> # 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
> command line:
>
> $ 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
>
>
> --
>
>         Karl F. Larsen, AKA K5DI
>         Linux User
>         #450462   http://counter.li.org.
>    PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7
>
>
> --
>
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
I am also a beginner, like some others who replied to you, but if a copy of
a tree doesn't work properly, it sounds to me that something is missing.
Maybe there are som hidden files that you can't reach unless you are root?
Have you tried the following?

sudo rsync -av /boot /media/disk/
sudo rsync -av /bin  /media/disk/
sudo rsync -av /dev  /media/disk/
sudo rsync -av /etc  /media/disk/
sudo rsync -av /lib  /media/disk/
sudo rsync -av /opt  /media/disk/
sudo rsync -av /root /media/disk/
sudo rsync -av /sbin /media/disk/
sudo rsync -av /tmp /media/disk/
sudo rsync -av /usr /media/disk/
sudo rsync -av /var /media/disk/
sudo rsync -av /initrd /media/disk/

OK, never mind, I am probably far away from the truth here.

Another thing I wonder is how you can mount something to a Live-CD. Is this
really possible?

OK again, of course it is, I really don't know anything useful in this case,
but hopefully I COULD have inspired a bit to further troubleshooting…

J.R.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080608/0f1847c3/attachment.html>


More information about the ubuntu-users mailing list