mnutt / davros

Personal file storage server
Apache License 2.0
298 stars 35 forks source link

[Question] Is it possible to restore deleted files? #75

Closed jason-riddle closed 7 years ago

mnutt commented 7 years ago

Unfortunately, currently no. Right now davros is basically just a pass-through to the filesystem. There's a bit of extra metadata (etag hashes) stored in hidden directories, but when a file is deleted from webdav it's deleted off the disk.

The tentative plan is to try to go straight to a versioned filesystem, so that you can restore previous versions of a file as well as undeleting it. One of the big challenges is that people are very cognizant of their sandstorm grain sizes and I want to give them maximum control over how much extra space versioning takes up.

jason-riddle commented 7 years ago

Makes sense. Thanks!