Backup booting

Nils Kassube kassube at gmx.net
Sat Jun 7 17:33:30 UTC 2008


Karl Larsen wrote:
>     Nils, if the rsync backup is good I should not be having these
> problems. I think there is something basic wrong. After getting the
> grub and fstab right it should come right up.
>
>     I think the rsync backup is bad. here is what I used:
>
> 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:~$
>
> I had to make a /home directory after the fact.

Well, you will probably need some more directories. What I'm missing are 
these: /mnt /proc /sys /media /srv

While you may not need all of them to get a working system, /proc and /sys 
should be there, I think. But don't copy the contents of your current 
directories, just make empty directories owned by root.


Nils




More information about the ubuntu-users mailing list