Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Multiple snapshot schedules #14427

Open
vosdev opened this issue Nov 11, 2024 · 3 comments
Open

Feature Request: Multiple snapshot schedules #14427

vosdev opened this issue Nov 11, 2024 · 3 comments
Labels
Feature New feature, not a bug

Comments

@vosdev
Copy link
Contributor

vosdev commented Nov 11, 2024

I would like to request the ability to make multiple snapshot schedules.

For example I would like to keep 7 daily snapshots, 4 weekly snapshots and 6 monthly snapshots.

Currently config.snapshots is a map and only allows for a very limited amount of config, like so:

config:
  snapshots.expiry: 7d
  snapshots.pattern: snap-{{ creation_date|date:'2006-01-02_15-04-05' }}
  snapshots.schedule: '@daily'

The feature I would like to request is something like this:

config:
  snapshots:
    - expiry: 7d
      pattern: daily-{{ creation_date|date:'2006-01-02_15-04-05' }}
      schedule: '@daily'
    - expiry: 4w
      pattern: weekly-{{ creation_date|date:'2006-01-02_15-04-05' }}
      schedule: '@weekly'
    - expiry: 6m
      pattern: monthly-{{ creation_date|date:'2006-01-02_15-04-05' }}
      schedule: '@monthly'

sidenote: I tried creating a topic on the ubuntu discourse to request this feature but the 'New topic' button doesn't exist for me. I'm a level 0 user joined on sept 29. The discourse seems pretty dead which makes sense if new users aren't able to create new topics.

@tomponline tomponline added the Feature New feature, not a bug label Nov 12, 2024
@mionaalex
Copy link
Contributor

@vosdev Ubuntu Discourse requires users to interact with the site for a bit before being allowed to post new topics. I've upped your trust level, so you should be able to post now.

As for your request, we will be working on improvements to snapshots and scheduling in the coming months, so we'll take this into account as we do so.

@vosdev
Copy link
Contributor Author

vosdev commented Nov 13, 2024

@mionaalex That's great to hear. Is there also a feature planned to sync instances and all their snapshots to a remote location?

Having snapshots on my local filesystem (Or my Ceph cluster) is great but in terms of actual backups I would like the ability to store them on a completely separate system.

Like VMWare/Hyper-V with Veeam :)

I can open a new issue if that's preferred

@mionaalex
Copy link
Contributor

@vosdev This is exactly what we plan to do during this development cycle. No need for a new issue, this feature is already planned for, it will be available sometime next year :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature, not a bug
Projects
None yet
Development

No branches or pull requests

3 participants