Dokploy / dokploy

Open Source Alternative to Vercel, Netlify and Heroku.
https://dokploy.com/
Other
9.55k stars 478 forks source link

Ability to backup named volume to S3 #394

Open orthdron opened 3 months ago

orthdron commented 3 months ago

What problem will this feature address?

Named / Persistent volumes are quintessential part of applications. Currently only database provided by the applications are backup-able. It would be nice if we could backup other persistent volumes as well.

Describe the solution you'd like

Add backup option to named/persistent volumes

Describe alternatives you've considered

Run another container that can mount same volume and then backup

Additional context

No response

Siumauricio commented 3 months ago

What would be the flow of this feature, could you expand more on how it should work, I have been thinking about this for weeks to be more dynamic in terms of backups but I would like to hear more people's opinion.

orthdron commented 3 months ago

Here is my suggestion.

Consider adding a "Backup" section within the Settings menu, "S3 destination" can be nested inside it.

Include a list of named volumes that users can select or deselect for backup.

Since named volumes are, or should be, unique, the directory structure can be preserved. if named volumes are not unique, then consider project->application->named_volume

Additionally, provide an option to automatically back up future named volumes or disable this feature.

chrisbrocklesby commented 4 weeks ago

+1 for this feature request, would be perfect :)

Thanks Team