Hi,

Latest owncloud 6.0.2, Latest sync client 1.5.4.  The "Deleted Files" app
states in its description;

> *Beside that the delted files app take care to never use more that 50% of
> your currently available free space. If your deleted files exceed this
> limit ownCloud deletes the oldest versions until it meets the memory usage
> limit again.*


I'm wondering how the Deleted Apps would behave in the following scenario.

- I have 133 gb occupied of my 195 gb storage
- Out of the 133 gb, 120 gb are family pictures. 13 gb others
- Let's assume that I made a wrong rm -rf command on the pictures folder
and the content is deleted, the deletion is propagated to the owncloud
server with the sync client

Now, would the "Deleted Files",
- calculate free space: 195 - 13 = 182 gb
- 50% of available free space = 182/2 = 91 gb = cap of Deleted Files app.
- Start discarding older pictures until it uses 91 gb of the free space.
thus discarding 120 - 91 = 29 gb of pictures.

right?

Do you think this can be enhanced, ie to give 1 hour or 1 day of grace
period for the user to understand his horrible mistake and revert it?

To be frank, I've once done this rm -rf (don't ask how!) on my home
directory and about to lose everything if didn't have a separate backup
system.

Thanks for your comments,

-- 
Emre
_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to