Vincent Petry

Results 513 comments of Vincent Petry

Most of the code for this is in "files_external", the external storage app. There are plans to move it to core, so this would prevent inter-app dependencies. See https://github.com/owncloud/core/issues/18160

Normally external storages can be mounted either system-wide (admin page) or by users themselves (personal page). I suggest you try it out to get a better idea. If the backup...

Yes, that could work. You might need to give it a special name to make sure the backup cronjob can distinguish it from the other possible external storages that admins...

Please also note that if encryption is enabled, you cannot automatically decrypt the user's files. That should be fine, so the backup should not only save the encrypted files of...

No, encryption keys and versions are stored on disk. The database might contain references to these files but not the contents.

You either need to: - manually instantiate the storage backend instance and then use copyFromStorage or any of its methods to write files or - have that external storage mounted...

I had a quick look in core and I think it is going to be too complicated to go the "instantiate storage" directly route. This is because you'd need a...

This is the interface that `getUserFolder()` will return: http://api.owncloud.org/classes/OCP.Files.Folder.html

- [ ] check capability before chunking - [ ] add options.maxChunkSize to `fileManagement.putFileContents()` and if the file size is bigger, then chunk. Note that a File object can be...

actions will reappear as part of the resolution of https://github.com/owncloud/phoenix/issues/2077