Report this

What is the reason for this report?

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

Posted on July 3, 2019

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?



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.