Skip to content

Epic: Full Workspace Backup #7719

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
svenefftinge opened this issue Jun 17, 2021 · 11 comments
Open

Epic: Full Workspace Backup #7719

svenefftinge opened this issue Jun 17, 2021 · 11 comments
Labels
aspect: ephemeral meta: never-stale This issue can never become stale team: workspace Issue belongs to the Workspace team type: epic

Comments

@svenefftinge
Copy link
Member

svenefftinge commented Jun 17, 2021

Currently only the /workspace folder is backed up and preserved across workspace restarts, and from the prebuild. This is unintuitive, adds friction to the experience and is a source of issues for users.

The change to keep all workspace files is very core and should be available in all forms of the product: SaaS and Self-Hosted.

To make this happen there are a few technical challenges that we will need to solve first, particularly as self-hosted support that may use older kernel and containerd versions is required.

Notes from June 23, 2022
  • The biggest blocker we found was not the workdir location [related PR], but the interaction between overlayfs and shiftfs. TL;DR docker becomes unworkably slow if it needs to run on this setup because it falls back to VFS
  • idmapped mounts may be a solution, but they require recent Kernel versions which is a problem for self-hosted
@axonasif
Copy link
Member

axonasif commented Sep 7, 2021

Anything on this yet?

@mteam88
Copy link

mteam88 commented Sep 28, 2021

still waiting for development...

@purkhusid
Copy link

Will this allow prebuilds to be bigger than 30gb?

@shaal
Copy link
Contributor

shaal commented Nov 1, 2021

Would this affect Snapshots feature?
(If yes, how can we avoid exposing things like private ssh key file at ~/.ssh/id_rsa)

@svenefftinge svenefftinge transferred this issue from another repository Jan 20, 2022
@svenefftinge svenefftinge added the team: workspace Issue belongs to the Workspace team label Jan 20, 2022
@svenefftinge svenefftinge changed the title Full Workspace Backup Epic: Full Workspace Backup Jan 20, 2022
@stale
Copy link

stale bot commented Apr 21, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Apr 21, 2022
@shaal
Copy link
Contributor

shaal commented Apr 21, 2022

Is there any update on this issue?

@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Apr 21, 2022
@sagor999
Copy link
Contributor

sagor999 commented Apr 21, 2022

This is superseded by this epic: #790
@atduarte should this one be closed now?

@atduarte
Copy link
Contributor

atduarte commented Apr 21, 2022

I thought full workspace backup was out of scope for #7901 [1] and that the PVC would only contain the /workspace folder 🤔

If #7901 solves this, I would leave this open as an issue but reference the durability epic.

@sagor999
Copy link
Contributor

@atduarte you are right, it is indeed out of scope for that epic. I got confused a bit here. 😅

@stale
Copy link

stale bot commented Sep 24, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Sep 24, 2022
@axonasif axonasif added the meta: never-stale This issue can never become stale label Sep 26, 2022
@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Sep 26, 2022
@a-b
Copy link

a-b commented Nov 17, 2022

I'm wondering if some workaround is possible. What if we link folders like /home/linuxbrew/.linuxbrew to /workspace? Perhaps this could have some reflection in .gitopod.yml ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aspect: ephemeral meta: never-stale This issue can never become stale team: workspace Issue belongs to the Workspace team type: epic
Projects
No open projects
Status: No status
Development

No branches or pull requests

9 participants