Skip to content

Support for snapshots #121

Open
Open
@rajdip-b

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    difficulty: 4foss hackClustering all the curated issues for Foss Hack 2024help wantedExtra attention is neededscope: apiEverything related to the APItype: featureRelease drafter tag for tagging PRs related to adding new features

    Type

    No type

    Projects

    • Status

      Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions