nextcloud / nextcloud/user_migration

Respect quota on export

Open
#184 0 comments 0 reactions 1 assignee View on GitHub

@Pytal is already working on this.

Since Jun 29, 2022.

1. to develop bug
Dominant language
JavaScript
Stars
30
Forks
10
Avg merge
6h 5m
Merged PRs (30d)
12

Description

Exporting with contents that exceed the user quota proceeds without error currently

The following steps may be taken to solve this:

  1. Use TempExportDestination as export destination in UserExportJob
  2. When zip is fully exported
    • Create a new file in user folder with $userFolder->newFile() with the zip stream as content and check if quota is handled automatically
    • If quota is not handled automatically with $userFolder->newFile() then only create an export in the user folder if zip size + used space does not exceed the user quota

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.