owncloud / ocis

:atom_symbol: ownCloud Infinite Scale Stack
https://doc.owncloud.com/ocis/next/
Apache License 2.0
1.4k stars 182 forks source link

Scenario for a single space restore from backup #4746

Open micbar opened 2 years ago

micbar commented 2 years ago

Is your feature request related to a problem? Please describe.

In the lifetime of an ownCloud instance, it can happen that users delete data which should not be deleted. Even despite the "two -step" process through the trashbin, it has happened and will happen again. In these cases, a sysadmin team is often ask to restore only a part of the storage snapshot without a full "overwrite from backup"

Describe the solution you'd like

1) Inside the product, which means a new backend feature 2) Additional tooling to work with the storage

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

micbar commented 2 years ago

@butonic Any ideas?

@C0rby I remember a CLI tool which you were using to work with the decomposedFS?

micbar commented 2 years ago

@xoxys FYI, thanks for the reminder.

C0rby commented 2 years ago

@butonic Any ideas?

@C0rby I remember a CLI tool which you were using to work with the decomposedFS?

It is https://github.com/c0rby/dcfs but this tool needs to be updated to support the current layout of the dcfs.

mmattel commented 1 year ago

Referencing: https://github.com/owncloud/ocis/issues/5351 (Add mechanism to commit and freeze writing to storage for taking a backup)

When one has a consistent snapshot available, which is in reality a path to a frozen ressource (more easily with POSIX as all in one, a bit more work with S3 as split), the tool should access a given snapshot, provides a list of available spaces and a method to restore a selected one.