How to migrate from ubuntu 19.10 to ubuntu 20.04(LTS) without losing data.
Please suggest to me any best way to do this on this Linode server. I'm fetching lots of issue to doing any kind of up-gradation
Take a snapshot before attempting this. You do have backups on your Linode enabled, right?
@stevewi Yes, I have backup as well. Is there data going to be lose or not if upgradation successfully? Can you please describe pros and cons?
It's been a long time since I've done an Ubuntu release upgrade… I dumped Ubuntu for Debian awhile ago. As I recall it was pretty smooth…all you have to do is follow the directions. I didn't lose any data. There were some hiccups because package contents changed -- something I was expecting to be in /bin is now in /usr/bin, etc.
FWIW, Linode recommends spinning up a new Linode, with the Ubuntu release/image you want and then migrating your files to the new Linode. I can't say as I disagree with this if you're not quite as sysadmin-aware…
Having two Linodes for a short time is not going to be much of an issue cost-wise and the new Linode will have an IP address and a (Linode-specific) domain name so you'll be able to do the migration fairly easily if you plan for it first.
I always use these opportunities to clean out cruft -- installed packages I don't need, apps I don't use, etc.
However you decide to do it, you're going to be on your own so it's best to have a plan. The first item in that plan would be to never, ever deploy anything on any Ubuntu release that's not an LTS release.