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

Support for snapshots #121

Open
3 tasks
rajdip-b opened this issue Feb 8, 2024 · 5 comments
Open
3 tasks

Support for snapshots #121

rajdip-b opened this issue Feb 8, 2024 · 5 comments
Assignees
Labels
difficulty: 4 foss hack Clustering all the curated issues for Foss Hack 2024 help wanted Extra attention is needed scope: api Everything related to the API type: feature Release drafter tag for tagging PRs related to adding new features
Milestone

Comments

@rajdip-b
Copy link
Member

rajdip-b commented Feb 8, 2024

Description

We would like the users to enable the feature of snapshot on every workspace they own or are administrators in. A snapshot will create a restore point of the entire workspace at any point in time. This includes:

  • roles
  • environments
  • secrets
  • projects
  • workspace details
  • events

Snapshots can be created in the following ways:

  • manually
  • creating a cron job that will do it for them

Related functionalities:

  • Delete snapshot
  • Get a list of all snapshots
  • Restore to a particular snapshot (doing so will remove all the snapshots mad after this point)

Solution

  • We would need to store the snapshots in JSON/YAML format in an S3 compatible storage device.
  • Create a model in schema.prisma to store the details like name, createdOn, s3FileKey in our database.
  • Create service and controller for implementing the business logic.
@rajdip-b rajdip-b added type: enhancement New feature or request pending-dependency Stuck due to a required dependency scope: api Everything related to the API labels Feb 8, 2024
@rajdip-b rajdip-b added this to the Release v2 milestone Feb 8, 2024
@rajdip-b rajdip-b added the help wanted Extra attention is needed label Feb 8, 2024
@rajdip-b rajdip-b moved this to Todo in keyshade-api Feb 8, 2024
@rajdip-b rajdip-b pinned this issue Feb 12, 2024
@rajdip-b
Copy link
Member Author

Snapshots

@rajdip-b rajdip-b added type: feature Release drafter tag for tagging PRs related to adding new features foss hack Clustering all the curated issues for Foss Hack 2024 difficulty: 4 and removed type: enhancement New feature or request pending-dependency Stuck due to a required dependency labels Jun 6, 2024
@anjali2004arya
Copy link

/attempt

Copy link

Assigned the issue to @anjali2004arya!

@rajdip-b rajdip-b moved this from Todo to In progress in keyshade-api Jul 23, 2024
@HarshPatel5940
Copy link
Contributor

/attempt

Copy link

Assigned the issue to @HarshPatel5940!

@HarshPatel5940 HarshPatel5940 removed their assignment Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: 4 foss hack Clustering all the curated issues for Foss Hack 2024 help wanted Extra attention is needed scope: api Everything related to the API type: feature Release drafter tag for tagging PRs related to adding new features
Projects
Status: In progress
Development

No branches or pull requests

3 participants