Question

How to transfer files from Digital Ocean's server to a new server

Posted May 14, 2021 78 views
WordPress

I know very little about websites, so I just purchased a new hosting service to maintain my website for me. However, I did things in the wrong order, switching the domain server before I transferred the files. Now I can’t see my old website, and don’t want to start from scratch on the new server. Tech support for the new service told me I can download my files off the Digital Ocean server and then upload them on the new server. Can anyone tell me how to download my website files from Digital Ocean?

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.

×
Submit an Answer
1 answer

Hello, @therealdevinreilly

You can switch the DNS back and point the domain name to your DigitalOcean droplet until the migration is completed.

You can transfer your files via sFTP using FileZilla or via ssh using rsync or scp. You can check the following articles as well:

https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server

https://docs.digitalocean.com/products/droplets/how-to/transfer-files/

https://www.digitalocean.com/community/tutorials/how-to-copy-files-with-rsync-over-ssh

https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories

Regards,
Alex

by Bulat Khamitov
In this tutorial we'll use Rsync to copy files over SSH.