Transfer my droplet to my local linux server

Hello, i have a droplet with a snapchot taken. And i would like to transfer the snapchot on my fresh ubuntu linux server at home on my local pc. Is it possible? thanks

Submit an answer
Answer a question...

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.

Site Moderator
Site Moderator badge
August 9, 2022

Hi @tekkyu,

I know there is no service or product available so it would be a manual solution. To be honest, I’ve not done anything like that before however having said that, what you can do is create a Droplet, and apply the Snapshot there. Once you have the Droplet created you could download your website files via SFTP with a tool like FileZilla:

Regarding your database, you could use the mysqldump command-line tool to export a backup of your database and import it to your local environment after that:

How to export/backup a MySQL/MariaDB database with mysqldump

Alternatively, what I like to do personally is to have an exact copy of my production server rather than run my projects on my laptop. So what I usually do is to restore a backup of my production server and use it as a development environment/server.

Then I use VS Code with an extension called Remote-SSH, which allows me to connect to my server via SSH through VS Code and I am able to make changes to my project directly on the dev server just as I would if it was an actual local project.

Here is a great tutorial on how to do that:

Now if you want to duplicate bin files and as a whole everything, it wouldn’t be that easy. You might need to create a mount point on your local PC and then copy the whole files over, I’m not sure it will load as well as the kernel might not like it.

Bobby Iliev
Site Moderator
Site Moderator badge
August 8, 2022

Hey @tekkyu,

As of the time being, downloading a snapshot is not possible.

It looks like someone has had the same idea before and has posted it on our Product Ideas board. The best thing to do would be to head over and add your vote to it, as well as adding any additional information in the comments for exactly what you’d like to see implemented!

What you could do in the meantime is to download your website files via SFTP for example rather than downloading the whole snapshot:

Hope that helps!

- Bobby.