Migrating from Digitalocean to Hetzner (Images)

Migrating from Digitalocean to Hetzner (Images)

Hello everyone,

I have a project on Digitalocean and want to switch to Hetzner. As for the database, I know how to download it from production and then upload it to publishing. But my question is about the uploaded images.

How do I download the entire folder and then upload the images in the uploads folder, or is there another way?
I appreciate any help.

I had a simlar issue some years ago, images on DO Spaces I wanted to migrate.
I could not find a way to download them but as i had links to each image in the database i wrote a server action to repeat through them all download and then push them to my target one by one. Not ideal but it worked.

1 Like

Got it. This might work for me too :slight_smile:

Thanks!

Is the DO target still active in Wappler? If so, you should be able to use the remote view in the files explorer to see the folder and download it:

Alternatively, create a Server Connect API action that goes through the folder and uploads them to an S3 bucket

Yes, I still have the server active on Digital. I did as you said, but it only opens two folders below /opt/node_app... app and assets.

If I'm logged in to Hetzner, this works, but not on Digitalocean.

Now I'm trying to figure out how to get a URL for an image and save it to the server?

When I send it from the frontend, it's in binary format, and when I have a URL, how do I do it?

@Hyperbytes

This may help

1 Like

That wasn't quite it. I thought about doing a repeat on the server with a list of image URLs and saving them on our server. How do I put a URL in the setvalue, for example, and save it on the server?

What is stored in your database field and what is rhe path to your files?

I had 410 reference images. I ended up doing everything manually. But it would be nice to have a way to add images to the server. I even tried through N8N and couldn't. I appreciate all your help and attention.