dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Ability to backup named volume to S3

Open orthdron opened this issue 1 year ago • 5 comments

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

orthdron avatar Aug 30 '24 00:08 orthdron

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.

Siumauricio avatar Aug 30 '24 04:08 Siumauricio

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.

orthdron avatar Aug 30 '24 05:08 orthdron

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

Thanks Team

chrisbrocklesby avatar Oct 29 '24 22:10 chrisbrocklesby

A simple way to do this would be a simple interface for: https://github.com/offen/docker-volume-backup

that0n3guy avatar Apr 03 '25 16:04 that0n3guy

A simple way to do this would be a simple interface for: https://github.com/offen/docker-volume-backup

Did you manage to use it as a service on Dokploy? How has your experience been with it?

JhonatanPereira avatar May 07 '25 18:05 JhonatanPereira