# OneDrive and multiple accounts

**URL:** https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214
**Category:** Support
**Created:** [July 26, 2018, 4:31pm UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214 "2018-07-26T16:31:51Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![BatterPudding](https://forum.duplicati.com/user_avatar/forum.duplicati.com/batterpudding/32/1842_2.png) [@BatterPudding](https://forum.duplicati.com/u/BatterPudding)
#### Post date: [July 26, 2018, 4:31pm UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/1 "2018-07-26T16:31:51Z")

</div>

If my user, Fred, is running OneDrive on his PC can he use Dupliati to backup to a different OneDrive account owned by Charlie?

Keeping this simple:

Office 365 Home Edition has five lots of 1TB storage.

Fred is using his 1TB OneDrive account daily on his PC. So his Win10 PC is logged into OneDrive as Fred.

Can I setup Duplicati on Fred’s PC and backup to Charlie’s empty OneDrive account using different user credentials?

---

<div class="post-metadata">

### Author: ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)
#### Post date: [July 30, 2018, 3:17am UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/2 "2018-07-30T03:17:10Z")

</div>

> [@BatterPudding](#):
>
> Can I setup Duplicati on Fred’s PC and backup to Charlie’s empty OneDrive account using different user credentials?

Assuming I’m understanding the question and that you’re backing up using Duplicati’s destinations and not some sort of mounted OneDrive “folder”…

Then yes - you can back up Fred’s PC to Charlie’s OneDrive account.

And while you can only use one destination per backup job, there’s no reason you couldn’t have two jobs where one backs up to Fred’s OneDrive account and the other backs up to Charlie’s OneDrive account.

---

<div class="post-metadata">

### Author: ![BatterPudding](https://forum.duplicati.com/user_avatar/forum.duplicati.com/batterpudding/32/1842_2.png) [@BatterPudding](https://forum.duplicati.com/u/BatterPudding)
#### Post date: [July 30, 2018, 8:20am UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/3 "2018-07-30T08:20:18Z")

</div>

Excellent. Yes, you understood me correctly. Good to see that multiple OneDrive logins can be managed like that. With OneDrive, Dropbox and all this stuff so popular it is good to be able to back that up to a totally different account.

Thanks

---

<div class="post-metadata">

### Author: ![BatterPudding](https://forum.duplicati.com/user_avatar/forum.duplicati.com/batterpudding/32/1842_2.png) [@BatterPudding](https://forum.duplicati.com/u/BatterPudding)
#### Post date: [August 5, 2018, 12:04pm UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/4 "2018-08-05T12:04:17Z")

</div>

I just have to add to this post. Big Thanks to the Duplicati team. The OneDrive backup was nice and smooth. So simple and quick to setup.

The only thing I tripped up on was getting the path right as I didn’t expect the Unix folder slashes. I was backing up to BACKUPS\PC-NAME and it took me all of thirty seconds to spot that “issue”. 😉

Other than that - excellent stuff. Even more surprised as to how quick the check ran through on the second backup. The first backup took about 9 hours to shift 21GB overnight. Next backup ran through in 10 minutes. Nice. (_This is from a cruddy low powered PC sitting in a back office connecting via WiFi to the office router in the next room. Then uploading overnight via VirginMedia cable broadband into an Office 365 Home account. The aim being to give it a cruddy test before moving to the better quality machines_)

---

<div class="post-metadata">

### Author: ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)
#### Post date: [August 10, 2018, 5:05pm UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/5 "2018-08-10T17:05:12Z")

</div>

Glad to hear it went (mostly) smoothly!

Thanks for sharing the comparison between initial and subsequent backups (some users watch that multi-hour / day initial backup and worry Duplicati is just plain slow).

---

<div class="post-metadata">

### Author: ![BatterPudding](https://forum.duplicati.com/user_avatar/forum.duplicati.com/batterpudding/32/1842_2.png) [@BatterPudding](https://forum.duplicati.com/u/BatterPudding)
#### Post date: [August 10, 2018, 5:32pm UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/6 "2018-08-10T17:32:40Z")

</div>

I thought some “real world” numbers would be handy to have.

I initially assumed that cloud backup would just be pointlessly slow. This has impressed me and made me change my plans. I can see a number of places where onsite LAN backup can now be supplemented with an offsite cloudy backup.

I assume if there was a disaster then the download of 21GB of data is going to take a while. So I’ll be setting up backups to alternate between LAN and Cloud. This will give me quick retrieval for the odd deleted document, but a disaster recovery plan for when the building gets flooded.

I have now scattered this around a few different setups. Has been going well.

---

<div class="post-metadata">

### Author: ![BatterPudding](https://forum.duplicati.com/user_avatar/forum.duplicati.com/batterpudding/32/1842_2.png) [@BatterPudding](https://forum.duplicati.com/u/BatterPudding)
#### Post date: [August 11, 2018, 10:26am UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/7 "2018-08-11T10:26:17Z")

</div>

I’ll also add another bit of feedback - something that should be comically obvious, but should be added to a “Backup to OneDrive” FAQ

If you are on Fred’s PC and decide to backup Fred’s data to Fred’s OneDrive, don’t make the obvious daft mistake.

On Fred’s PC make sure you _don’t_ have the backup folder also syncing to that same PC.

Some silly person I know of had Duplicati set to backup the OneDrive folder on Fred’s PC to Fred’s OneDrive… which meant a never ending file attempting to backup itself to itself… No no no… was not me… honest… I didn’t set a machine up like this and then get confused as to why it’s backup kept growing… 🤣

---

<div class="post-metadata">

### Author: ![BatterPudding](https://forum.duplicati.com/user_avatar/forum.duplicati.com/batterpudding/32/1842_2.png) [@BatterPudding](https://forum.duplicati.com/u/BatterPudding)
#### Post date: [August 13, 2018, 10:27am UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/8 "2018-08-13T10:27:22Z")

</div>

OneDrive and AuthID

If the OneDrive password is changed does this invalidate the AuthID?

---

<div class="post-metadata">

### Author: ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)
#### Post date: [August 13, 2018, 3:13pm UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/9 "2018-08-13T15:13:37Z")

</div>

> [@BatterPudding](#):
>
> I didn’t set a machine up like this and then get confused as to why it’s backup kept growing…

Huh - there must be a single person running around setting up a lot of people’s backups that way. 😉

> [@BatterPudding](#):
>
> If the OneDrive password is changed does this invalidate the AuthID?

I’m not an auth expert, but I do not believe so. The AuthID is basically an independent login path usually dedicated to a single app. If you poke around settings I’m sure you’ll a page where you can de-authorize individual apps / AuthIDs.

If you happen to go through that scenario (password change) and remember this post, please stop by and let us know if it affects your AuthID as well.

Oh, and good job getting an offsite disaster backup going as well an onsite “oops, I didn’t mean to delete that” backup! 👍

---

<div class="post-metadata">

### Author: ![BatterPudding](https://forum.duplicati.com/user_avatar/forum.duplicati.com/batterpudding/32/1842_2.png) [@BatterPudding](https://forum.duplicati.com/u/BatterPudding)
#### Post date: [August 13, 2018, 3:41pm UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/10 "2018-08-13T15:41:22Z")

</div>

> [@JonMikelV](#):
>
> Huh - there must be a single person running around setting up a lot of people’s backups that way. 😉

This is clearly caused by pixies. I often have to chase them out of the back of the PC cases. Troublesome things they are.

> [@JonMikelV](#):
>
> If you happen to go through that scenario (password change) and remember this post, please stop by and let us know if it affects your AuthID as well.

I am now tempted to take one of my test setups and intentionally try and break it with a password change. I will certainly return and report my findings.

> [@JonMikelV](#):
>
> Oh, and good job getting an offsite disaster backup going as well an onsite “oops, I didn’t mean to delete that” backup! 👍

See above - Pixies. You need to prepare for everything.

The one I installed today is actually in a basement… Their previous backup policy of backing up to the PC in the back room had a few “issues”. Mainly caused by this PC sitting on the floor of the lowest part of the building… a building that has been known to flood.

So now when the rain causes the flood we can turn to the cloud to be saved. 😁

---

<div class="post-metadata">

### Author: ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)
#### Post date: [August 16, 2018, 2:25am UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/11 "2018-08-16T02:25:15Z")

</div>

> [@BatterPudding](#):
>
> I am now tempted to take one of my test setups and intentionally try and break it with a password change

If you’re thinking of using the GUI, you should get something like the message shown in the link below. If you’re going to use one of the command line items (like the Recovery Tool) to actually change it the RIGHT way then I suspect it will work (though I haven’t tested that).

> [@Yes, please break my backup](https://forum.duplicati.com/t/yes-please-break-my-backup/2451):
>
> I don’t know how much we’re paying agrajaghh. Imaginary internet points, virtual hugs… Whatever it is, it’s not enough [blame/master/Duplicati/Server/webroot/ngax/scripts/controllers/EditBackupController.js#L439](https://github.com/duplicati/duplicati/blame/master/Duplicati/Server/webroot/ngax/scripts/controllers/EditBackupController.js#L439) DialogService.dialog(gettextCatalog.getString(‘Passphrase changed’), gettextCatalog.getString(‘You have changed the passphrase, which is not supported. You are encouraged to create a new backup instead.’), [gettextCatalog.getString(‘Cancel’), gettextCatalog.getString(‘Yes, please break…

---

<div class="post-metadata">

### Author: ![BatterPudding](https://forum.duplicati.com/user_avatar/forum.duplicati.com/batterpudding/32/1842_2.png) [@BatterPudding](https://forum.duplicati.com/u/BatterPudding)
#### Post date: [August 16, 2018, 9:57am UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/12 "2018-08-16T09:57:10Z")

</div>

To be honest with you, I am going at this as a bit of a “new user” and trying things out as I go along. I haven’t read the whole forum, and not been following the development that closely. So when I need to do something new I search the forum and the FAQ for the method, and then try to get it to work.

What is the “RIGHT way” to change things? I kinda assumed I’d just go in and press the AuthID button again. If there is a more correct way of doing this, then I am happy to try it out and feed my experiences back in.

Also, do you have a feedback section? If not, I am thinking of making a thread with a few of my thoughts as an end user. I can see some interesting things I have tripped over that could help add some polish to Duplicati. (Example being needing to type Windoze Network paths as **server/share/folder** instead of a more normal **\\server\share\folder** which does lead to some confusion.)

---

<div class="post-metadata">

### Author: ![BatterPudding](https://forum.duplicati.com/user_avatar/forum.duplicati.com/batterpudding/32/1842_2.png) [@BatterPudding](https://forum.duplicati.com/u/BatterPudding)
#### Post date: [August 16, 2018, 9:59am UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/13 "2018-08-16T09:59:54Z")

</div>

Hang on… I just read the bit you quoted there. When I say “password change” I am talking about the OneDrive AuthID and not the encryption of the data itself.

---

<div class="post-metadata">

### Author: ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)
#### Post date: [August 22, 2018, 9:08pm UTC](https://forum.duplicati.com/t/onedrive-and-multiple-accounts/4214/14 "2018-08-22T21:08:47Z")

</div>

Whoops - my fault, sorry I misunderstood you there! (And for taking so long to reply - that darn real life…can’t live without it!)

As far as I know the “right” / easiest way to change AuthID for a destination is just clicking the button as you describe. Note that you MIGHT need to deauthorize Duplicati first (which you’d do through the destination’s interface, so varies by destination) otherwise you might just get the same authorization repeated.

Of course it is possible to get auth IDs from elsewhere (like directly from the some destination GUIs) and just paste it into Duplicati, so that might be worth a try as well.

Oh - and thanks for the “new user perspective”. When working with something so closely it can be easy to gloss over things that seem obvious when they aren’t. While I can’t promise things will get better quickly, we strive to move in that direction. 🙂
