Last night, I backed up my Ubuntu 10.10 box using the sbackup utility. The process ran with the default options, which backed up the /etc /home /usr /var
directories to a separate partition on my machine.
After the backup completed successfully, I installed Ubuntu 11.04 over the existing Ubuntu 10.10 partition and installed the lamp-server meta package using tasksel:
$ sudo apt-get install tasksel
$ sudo tasksel install lamp-server
When prompted, I entered the same MySQL root password as used on Ubuntu 10.10.
What's the easiest way to restore the user accounts, databases and configuration from /media/backup/var/lib/mysql
to the new installation?
Thank you.
do-release-upgrade
tool is generally a nicer way of getting to a new release.