Skip to content

Add support for filtering create date field in backup list #1136

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

Open
remyleone opened this issue Jun 25, 2020 · 4 comments
Open

Add support for filtering create date field in backup list #1136

remyleone opened this issue Jun 25, 2020 · 4 comments
Assignees
Labels
enhancement priority:low Low priority such as UX improvements and esthetics rdb Managed MySQL and PostgreSQL issues, bugs and feature requests
Milestone

Comments

@remyleone
Copy link
Member

remyleone commented Jun 25, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

I would like to list all backups present before or after a certain date without having to manually look and filter the date.
Maybe this could be implemented using templating.

How I imagine scw could expose this functionality

scw rdb backup list created-after=-30d created-before=-15d

References

@remyleone remyleone added enhancement rdb Managed MySQL and PostgreSQL issues, bugs and feature requests labels Jun 25, 2020
@jerome-quere
Copy link
Contributor

We should propose feature to Database API @nlm

@jerome-quere jerome-quere added this to the v2.1.0 milestone Jul 15, 2020
@jerome-quere
Copy link
Contributor

jerome-quere commented Jul 20, 2020

we could add a created_before and created_after filter in the list backup endpoint. AFAIK we don't have any date filtering in any listing. We need to make sure the xxx_before and xxxx_after pattern works well with different kinds of date field (deleted_at, expires_at, updated_at, ....)

@jerome-quere
Copy link
Contributor

Blocked by #1186

@jerome-quere
Copy link
Contributor

If the _after and _before pattern is robust enough we should add it in protobuf convention

@remyleone remyleone modified the milestones: v2.1.0, v2.2.0 Aug 31, 2020
@remyleone remyleone modified the milestones: v2.2.0, v2.3.0 Nov 5, 2020
@remyleone remyleone removed the blocked label Sep 8, 2022
@remyleone remyleone assigned Monitob and unassigned Codelax Jan 5, 2023
@remyleone remyleone added the priority:low Low priority such as UX improvements and esthetics label Jan 25, 2023
@remyleone remyleone assigned Mia-Cross and unassigned Monitob Oct 13, 2023
@remyleone remyleone assigned jremy42 and unassigned Mia-Cross Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement priority:low Low priority such as UX improvements and esthetics rdb Managed MySQL and PostgreSQL issues, bugs and feature requests
Projects
None yet
Development

No branches or pull requests

6 participants