Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

242Studios's avatar

DB & Storage Folder Backup

I'm currently hosting my website on Forge and Digital Ocean and I'd like to implement a backup solution for my database and also the storage folder where images get uploaded to.

What would be a good way to go about doing this?

-=Chris

0 likes
6 replies
Cronix's avatar

Why not store the images/uploads on S3 w/replication to begin with?

Cronix's avatar

S3 has replication available which puts your files in multiple regions, so they are always backed up in multiple locations. If something happens to happen to files in one location, you can just switch the bucket you're using to the backup bucket and no downtime except the config file change (large backups can take a long time to restore)

https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html

1 like

Please or to participate in this conversation.