nextcloud / nextcloud/server

folder version management

Open
#7,473 6 comments 26 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: versions
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

For files you have a perfect version management which is awesome. The user can replace different versions of a file and the admin can configure how many versions of an file will be stored.

It would be awesome to have this version management also for folders. As all files inside a folder has already the version available you wouldn't get additional storage space, but the possibility to restore how the folder was looked before the last download where one user remove a lot of files in different folders cause of a mistake.

With this functionality you get something like a timeline backup. I know nextcloud isn't a backup software but the server store the deleted files in the trash of the user how delete the files and the file version of the documents in the version management so in general everything should be available on the server side.

Our biggest problem in our company is that the users think that it's quite easy to "destroy" the storage cause of conflicted files, the sync client, other users. The good thing is that it's not to difficult to find out what's happen with the files cause the change was logged but restore a folder to a specific time (yesterday, last week, ...) like you can do it with files would be awesome.

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.

Research direction

No files, tests, or entry points are named. Start by locating the existing file-versioning and trash implementations, then determine how folder snapshots and restoration should interact with them. Done should mean a user can restore a folder to a selected past point without losing unrelated changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.