Use OneDrive Plugin for multiple O365 account

  • Hi

    Just installed OMV (6.0.24-1) on a Raspberry Pi and installed the OneDrive plugin. After a couple of tries it now works flawlessly, which is great. My laptop now syncs with OneDrive, which in turn replicates the data to OMV, meaning I have a local copy of my Onedrive data just in case.


    However I realised that it can only be setup for one user, which is a little limiting.


    Is there any way that I can set it up for multiple users, so that each user's data is copied in the same way as mine, each to their own folder?. If so I can then set the OMV up so that each user has a separate share which contains a copy of their O365 data.


    Many thanks in advance.

  • votdev

    Added the Label OMV 6.x (RC1)
  • macom

    Added the Label resolved
  • Truenas Scale has that function and is just now the only reason I still use that.

    So it would be really nice to have that function in OMV.

  • I am currently using rclone to backup several onedrive accounts of my family under OMV6.

    I am planning to do a fresh install on omv7 and I would like to configure everything in the GUI so it would be nice to use the onedrive plugin.

    Is it still impossible to configure this plugin for multiple users?

  • Quote

    Is it still impossible to configure this plugin for multiple users?

    With OMV + the Onedrive Plugin - that restriction still exists.



    The OneDrive Client for Linux however 100% supports that use case.


    Essentially, do not use the OMV Plugin to achieve your outcome and either:


    * Manually configure the client creating user accounts and systemd services for each of the users

    * Running the client as a Docker container, thus having X number of containers, each with their own configuration + profile

  • Thanks, but in that case I think I will just continue using rclone.

    I have enabled home directories in SMB/CIFS and with putty I can run rclone config for each user.

    I only needed to install rclone on a windows computer too to get an authorization token for onedrive that can be used on the headless OMV.

    But rclone guides you through that process.


    In scheduled tasks I run daily as user1:

    rclone sync --log-level ERROR user1onedrive: ~/user1onedrivebackup --exclude /email/**

    and the same as user2, user3 etc.


    That works very good, but it is still commandline UI and I would have liked to do everything in the GUI to be sure I am not messing things up.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!