wilfred-dev / wilfred

🐿️ A CLI for managing game servers using Docker.
https://wilfredproject.org
MIT License
34 stars 2 forks source link

Managed automatic backups #24

Open alvarlagerlof opened 4 years ago

alvarlagerlof commented 4 years ago

Is your feature request related to a problem? Please describe. Backing up servers as of now requires custom scripts for smooth and efficient operation. Even then, the result may be unstable and error-prone.

Describe the solution you'd like I'd like a setting that turns on backups for a server, with options for different intervals and automatic shut-down and restart of the servers during the process. It would be nice if only the diff is stored, as servers have a tendency to grow to 10s of gigabytes of data.

Describe alternatives you've considered None.

Additional context None.

vilhelmprytz commented 4 years ago

Definitely a feature that should be implemented. Not too sure if diff would work but definitely an interesting thought.

A more general approach would be to implement a scripting system that would allow the user to schedule and perform tasks. A "backup"functionality could then be built as a task.

alvarlagerlof commented 4 years ago

I like the idea of a scripting system. I do think that rsync has something that could be used, but I'm not knowledgeable on this topic.