Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to configure preview (and thumbnail, ect.) location #19548

Closed
josh4trunks opened this issue Oct 3, 2015 · 6 comments
Closed

Add option to configure preview (and thumbnail, ect.) location #19548

josh4trunks opened this issue Oct 3, 2015 · 6 comments

Comments

@josh4trunks
Copy link
Contributor

josh4trunks commented Oct 3, 2015

Here's my use case where this would be beneficial.

Production Server 'A'

  • server side encryption enabled
  • previews enabled
  • owncloud application (www) directory, data-directory (files), and database are snapshoted and backed up to server B
  • keys used for unencryption are only stored in /tmp which isn't backed up to server B and is likely cleared upon reboot

Server 'B'

  • everything crucial to disaster recovery on server A is safely backed up here
  • user files are also encrypted here and unreadable by an attacker

My proposal is that you could specify the preview location which could be be a location that isn't backed up to server B. this could be extended to be a 'cache' location which could house any unencrypted files that aren't crucial to backup and could be regenerated if you had to restore from backup.
https://doc.owncloud.org/server/8.1/admin_manual/configuration_files/encryption_configuration.html#files-not-encrypted

@josh4trunks
Copy link
Contributor Author

this might be possible now using a selective rsync for backup but in my case everything resides on ZFS datasets which I am backing up and sending remotely

@oparoz oparoz changed the title [Feature Request] Add option to configure preview (and thumbnail, ect.) location Add option to configure preview (and thumbnail, ect.) location Oct 4, 2015
@oparoz
Copy link
Contributor

oparoz commented Oct 4, 2015

@josh4trunks Can't you create a dataset just for the thumbnails folder? Even if you snapshot it (for local issues), you don't need to send it over for DR.

@josh4trunks
Copy link
Contributor Author

@oparoz
I don't think that is practical as the folders in question live inside the user folders, so this would not automatically adjust when adding/deleting users.

@oparoz
Copy link
Contributor

oparoz commented Oct 4, 2015

Ah, yes, of course...

It will be easier if shared thumbnails ever gets implemented. The previews would all live in data/thumbnails/fileIdHash, but it will be much more time consuming to get rid of all the data belonging to a user.

@PVince81 PVince81 added this to the backlog milestone Mar 2, 2016
@PVince81
Copy link
Contributor

Closing in favor of #28939

@lock
Copy link

lock bot commented Aug 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants