rsync is bad
Les Mikesell
lesmikesell at gmail.com
Sun Jun 8 16:59:51 UTC 2008
Karl Larsen wrote:
>> Can't do that now Mike. I formatted the partition again for a fresh
> start. I used a rsync method recommended and will comment on it's
> workings. I fixed the recommended rsync method and used it to backup
> this Ubuntu to /dev/hda7 again. The rsync ended with zero errors.
>
> Here is the way I used rsync:
> karl at karl-desktop:~$ cat /root/bin/rsync1
> # This file is designed to backup my Ubuntu to the USB Hard Drive using
> rsync
> # Karl Larsen, 8 june 08
> # rsync -vaHz --exclude '/proc' --exclude '/sys' --exclude '/media' /.
> # /media/disk
> rsync -vaH --exclude '/proc' --exclude 'sys' --exclude 'home' --exclude
> '/mnt' /. /mnt
>
> The last line is what I used because I wanted the backup to go direct to
> /dev/hda7 and it did.
>
> Next I went to /mnt/etc/fstab and changed the uuid to the one I made
> yesterday for /dev/hda7. Then I reboot and came up in the backup. It
> found the kernel and the splash panel came on and there it stopped.
>
> I rest my case. Rsync does not work as a backup because the backup
> does not work. Period.
No, it just doesn't work when you do it wrong. Did you create the
directories you excluded from being copied - with the same
owner/permissions as the originals?
--
Les Mikesell
lesmikesell at gmail.com
More information about the ubuntu-users
mailing list