Question

What should I backup before transferring websites to a new droplet?

Hello there,

As I mentioned in the title, I moved my sites that are on CentOS 6.8 droplet to a newly created Ubuntu 18.04 droplet. After the migration, I’m gonna delete the old server.

The things I’ve backed up now include:

  • Websites
  • Cron file
  • Databases
  • Nginx configuration files

The question I want to ask is this; what else should I backup other than these ones?


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,

This is pretty much it. I could add just a few more things:

  • If you are using PHP, make sure to note down your PHP modues and your PHP settings so that you could install those modules on the new server as well
  • If you are using MySQL or MariaDB, check your my.cnf file for some custom settings as well
  • If your sites have SSL certificates make sure to copy your certificates and private keys to the new server

Besides that, I would recommend testing the sites on the new server before going ahead and deleting the old one, you can do that with your local hosts file.

Also keep the old server shutdown for a couple of weeks just in case that you’ve forgot something.

Hope that this helps! Bobby