Question

Upgrading to Ubuntu 22.04

I have several droplets currently running Ubuntu 20.04.5 LTS that are mainly used to host small WordPress sites that I’d like to soon upgrade to 22.04. Is creating a snapshot of my current droplet and spinning up another droplet using that snapshot a reliable way to create a staging site for that upgrade?


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
January 16, 2023
Accepted Answer

Hi there,

Indeed, that is one of the best ways to create a staging version for your website and server as the two will be physically isolated.

That way you can be at ease when upgrading the OS of your server as this is a major change.

After that you can follow the steps here on how to upgrade to Ubuntu 22.04:

https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-22-04-jammy-jellyfish

Let me know how it goes!

Best,

Bobby

KFSys
Site Moderator
Site Moderator badge
January 17, 2023

Hi @jplafata,

Yes, that’s absolutely the way to go in terms of a staging environment. Even if you didn’t need a staging environment, it’s always best to create a snapshot before a potential way of breaking, in this case, the upgrade of Ubuntu.

Even though I’m sure you are aware how to work a snapshot, I’ll post the documentation for visibility on it:

https://docs.digitalocean.com/products/images/snapshots/

alexdo
Site Moderator
Site Moderator badge
January 19, 2023

Hello @jplafata

You’re on the right way on to upgrade to Ubuntu 22.04. I would like to add that you can also take a local backup of your sites/applications on top of creating a snapshot.

In this way, you’ll have a local copy of your data in case you lose access to your account or any other inconvenience occurs.

Regards