Question

What is the effect of me Upgrading the CentOS 8 and is the Snapshot backup of the Server?

Help, I want to know how

will doing this

sudo dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos

sudo dnf distro-sync

affect digital ocean?

will digital ocean services no longer works if I do this?

pleas help


Submit an answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello there,

CentOS Linux 8 has reached End Of Life (EOL) on December 31st, 2021.

I would strongly recommend planning either migration to another OS like Debian or Ubuntu, or upgrading to CentOS Stream.

I also believe that CentOS Stream needs to be installed first, so I’m adding one more command:

  1. sudo dnf install centos-release-strea

I personally believe that the safest way to do this is to follow these steps here:

  • Spin up a new Droplet with the desired OS
  • Install the necessary services (webserver, sql server, etc.)
  • After that using rsync for example copy over your files and migrate your databases
  • Then test your website and server fully to make sure that everything is working as expected
  • Finally, change your DNS to point to the new Droplet

Regards, Alex

Hi @use142007,

From what I’m seeing, the command shouldn’t affect your DigitalOcean service. It’s always good to upgrade your distro whether it’s CentOS 8, Ubuntu 20.04, or something else entirely.

Regarding, Snapshots, they are on-demand disk images of DigitalOcean Droplets and volumes saved to your account. Use them to create new Droplets and volumes with the same contents. Basically, you can restore the whole droplet with them.