Downgrading Linode 360 to 32 bits Ubuntu
Now it seems I'm running out of RAM, my Linode crashed a couple of times during the last week, and I'd like to move to Ubuntu 9.04 32 bits.
How do I change my operating system while keeping my data intact? I'd like to avoid reinstalling everything, at least the websites files and databases.
Is there any way I can take an image of just my data and then reinstall the operating system and server's software and bring back the data?
Or should I just do a manual backup, mysqldump and recreate everything?
Thanks!
2 Replies
@alexisbellido:
Is there any way I can take an image of just my data and then reinstall the operating system and server's software and bring back the data?
Or should I just do a manual backup, mysqldump and recreate everything?
I'd make a tarball of your Web data and configuration files, mysqldump your DB, and redo.
You can plan for this sort of scenario in the future – the way I run my Linodes is a separate disk image for service data. I host all of my services under /srv, and I have a disk image on my Linodes mounted as /srv; if I need to reinstall the OS, I just need to back up the configuration from /etc and my data is still there (with appropriate twiddling of the configuration profile).
Just like partitions on a PC.