-
Hi I am quite new to the Onedrive Docker. My question would be the following. How can I put the data on OnlyOnedrive like on the PC so that no data or storage space is stored locally. The problem is I use Onedrive as unlimited storage (backups) and at some point the server is full locally and all data should only be available online, so that no more data is stored locally or no more storage space is used. I use Onedrive Docker in Unraid from the Community Appstore. Would be good if it was this Onedrive Uploadonly function. Thanks for your answers :) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
When this question is generally asked, the feature that is being sought is 'on-demand' file access. This client does not support this method of access and is called out in the readme and detailed here: #757 To use this method to access OneDrive, you need to use https://github.com/jstaf/onedriver however I am unsure if there is a Docker instance for this. However, given the question below about 'upload only' you can configure the client to do this (core client functionality) + have the ability to remove the source files locally after uploading (thus .. no space is retained locally, files only exist online). Please read the documentation to understand more.
The Unraid Community Appstore just provides an interface to this Docker image (which is provided by this repo): https://hub.docker.com/r/driveone/onedrive There are several issues with using this Docker image on Unraid - primarily how Unraid runs everything as 'root' which is not very secure and 100% causes problems with the Docker container as the user id's are incorrect and file permissions are all messed up (all due to Unraid running things as 'root'). Please take the time to configure this correctly.
As per above, please read the documentation - as upload only capability exists:
|
Beta Was this translation helpful? Give feedback.
-
Hi, thank you very much for the quick answer you are not used to on Github my respect for that :) Yes, in principle it is always about the local storage space. In the readme there are the variables for OnlyUpload / OnlyDownload so I wasn't sure. If I use the "Only Upload" function, do I have to delete the files manually or does the Docker instance do it for me? Otherwise, thank you very much for the detailed description. In the meantime I have set up a VM (Windows) to set up Onedrive via SMB but unfortunately Onedrive does not allow netdrives and no symlinks. So I only have either a Linux VM via smb in onedriver or this Docker instance. |
Beta Was this translation helpful? Give feedback.
-
Ah everything clear yes then I have to read up on it definitely, because the Unraid Docker is configured differently and I just don't know how to install the custom config or whether it is enough to set the variables in the docker. |
Beta Was this translation helpful? Give feedback.
@Nexow91
When this question is generally asked, the feature that is being sought is 'on-demand' file access. This client does not support this method of access and is called out in the readme and detailed here: #757
To use this method to access OneDrive, you need to use https://github.com/jstaf/onedriver however I am unsure if there is a Docker instance for this.
However, given the question below about 'upload only' you can configure the client to do this (core client functionality) + have the ability to remove the source files locally after uploading (thus .. no space is retained l…