start-os icon indicating copy to clipboard operation
start-os copied to clipboard

[feat]: automated backups

Open dr-bonez opened this issue 2 years ago • 7 comments

Prerequisites

  • [X] I have searched for existing issues that already suggest this feature, without success.

Describe the Feature Request

Allow users to schedule backups to run automatically.

Describe the Use Case

Useful so that regular backups can occur without user interaction, ensuring that backed up data is always up to date.

Describe Preferred Solution

Add an option to backup targets to allow selecting an automated backup interval. Should allow selecting either daily or weekly. Daily: should select time of day & timezone. Weekly: should specify day of week, time of day, & timezone. On failure, should issue a notification.

Describe Alternatives

No response

Anything else?

No response

dr-bonez avatar May 13 '22 21:05 dr-bonez

This may be too much for the next version, but I'll describe my ideal request and be happy with as much an improvement as can be made...

Ideally I could specify when backups would occur and how many to keep. Is there an easy way to keep multiple backups? To schedule backups? To delete older ones? I’d like to schedule weekly and keep last 5 weeks and last 6 months.

Would it be possible to allow users to click a box to specify a daily backup, and then the time of day every day for it to occur (maybe an option also to just say 24 hours after last backup completed?). This could also have an entry for how many daily backups to keep.

And also an option to allow users to click a box to specify a weekly backup, and then the day of the week and time of day every week for it to occur. This would also have an entry for how many weekly backups to keep.

And also an option to allow users to click a box to specify a monthly backup, and the day of the month and time of day every month for it to occur. This would also have an entry for how many monthly backups to keep.

The three options above would let me implement my desired backup strategy and let others devise their own. Based on their needs.

Finally if possible to see a list of all backups taken, how taken (manual, daily, weekly, monthly and options to delete backup manually & option to save (prevent auto delete).

As I reread this, it seems like a lot of work, but I think it might be helpful to a lot of people...

JesseMarkowitz avatar Aug 04 '22 11:08 JesseMarkowitz

Thanks @JesseMarkowitz, this is definitely a lot of work, but also a high priority. It is imperative that we can offer a top-class user experience in order to be successful. We still need all the help we can get at this time, so if you know any devs that might be interested in lending a hand, please let them know about us :)

kn0wmad avatar Aug 10 '22 15:08 kn0wmad

  • New component "Backup Jobs"
  • User creates new Job, selects target, services, and interval

MattDHill avatar Dec 15 '22 20:12 MattDHill

I hope I'm not OT but, will this consider lightning channels backups too? That would be an event-driven backup rather than a scheduled one (i.e. on file change).

LeoSpyke avatar Jul 02 '23 08:07 LeoSpyke

Services will have the ability to trigger self-backups based on their own criteria. This will be config driven, as the user must instruct the service which backup target to use.

MattDHill avatar Jul 04 '23 01:07 MattDHill

Amazing! This is a crucial feature for every node runner, do you have an idea about the ETA?

LeoSpyke avatar Jul 06 '23 14:07 LeoSpyke

When it's ready :)

MattDHill avatar Jul 06 '23 14:07 MattDHill