By jplafata
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?
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!
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
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:
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.