PenningLabs / lxconsole

LXD Graphical Web Console
GNU Affero General Public License v3.0
123 stars 15 forks source link

[FEATURE REQUEST] Scheduled Backups through the LXConsole UI #20

Open bmcgonag opened 4 months ago

bmcgonag commented 4 months ago

First and foremost, thank you for the excellent open source software. This project is amazing.

I wanted to request a feature for future consideration. If you don't feel it's a good fit, I totally understand.

I'd love to have a way in the UI to schedule backups of instances.

e.g. from the host server interface, an action to select which instances will be backed up and then choose on what schedule those would happen.

Story:

As a user of LXConsole, I'd like the ability to schedule backups to be done automatically on a recurring schedule so I can have them run during the low usage times.

Acceptance Criteria:

Thank you again.

matthewalanpenning commented 3 months ago

Thanks for this feature request. I did have write a solution for this in another project then decided to scrap it because I didn't feel like the cron task running on the client software, but rather wanted it set on the server though their API. This way if the client software was down, or unable to reach the server for what ever reason, the backups on the server would still be done. So for my personal use case I switched to just adding a cron task on the servers to run backups automatically there. I think the best approach would be to put in a request with the Incus or LXD teams to get backups scheduled on a cron task the same way they do snapshots. When I can find some time I can look into their code and see about putting in a pull request. I am not sure why they did not include this option like they did with snapshots