Originally Posted by
thomasaaron
To be honest, this is why I prefer keeping a separate home partition and doing a fresh install. Ubuntu is a complex OS, and there are just so many little crannies that errors could conceivably slip through in the upgrade process -- whether it is something the devs missed or a data corruption because of stressed servers.
I've certainly considered it, but I have some concerns:
- What happens to MySQL databases and settings?
- Local apache2 website configurations?
- SSH settings like AllowUser?
- GDM login settings?
It's not that I've reconfigured my system to any great extent, but I've got a lot of data and settings that would be lost by in a fresh install.
Originally Posted by
thomasaaron
One might also create a separate partition for installing and testing new Ubuntu versions. Then, if you like it, you can transfer your files over to the new partition.
Huh. I could definitely mirror my partitions to another drive, and use that as a test bed for upgrading. Perhaps I'll try that.
Originally Posted by
thomasaaron
Hey, at least you were smart enough to do a good backup! That's something to be happy about, yes?
I learned my lesson the hard way.
Oh, and for those of you following along at home, here is the command I used for backup:
Code:
sudo rsync --dry-run -av --delete-during --exclude=sys --exclude=dev --exclude=proc --exclude=tmp --exclude=mnt --exclude=media / /media/FreeAgent/fibonatch/ | tee results.txt
Remove the `--dry-run` once you're satisfied it does what you want.
To restore, I booted from a Live CD, mounted the laptop's root partition (and then the home partition onto that), and reversed the rsync command.
For safety, you might want to remount the backup drive readonly during a restore.
Bookmarks