Backing up to MS OneDrive

Little Girl littlergirl at gmail.com
Thu Mar 5 17:55:43 UTC 2020


Hey there,

Liam Proven wrote:
>On Thu, 5 Mar 2020 at 17:41, Little Girl wrote:

>> This may be of some use since, once you mount it as a file system,
>> you can use any backup method you like:
>>
>> https://askubuntu.com/questions/804421/mounting-onedrive-on-ubuntu-linux-command-line  
>
>That's helpful, thank you!

Any time. Here are two more in case that doesn't end up working out:

OneDrive Sync for Linux (Ubuntu):
https://medium.com/@glmdev/onedrive-sync-for-linux-ubuntu-2bcbf6777ee4

OneDrive Free Client:
https://github.com/skilion/onedrive

>I have tried 3 different client methods so far and yes, rclone is the
>one I have settled on. It's FOSS, unrestricted, and it seems to work.

Good.

>There's a significant gotcha which the page I found doesn't mention
>but yours does:
>
>The rclone command doesn't terminate. It just sits there and as long
>as it's open the the drive is mounted. To unmount you hit Ctrl-C.

That sounds reasonable to me. After all, it has no way of knowing
whether you have other tasks to do before dismounting.

>There are quite a lot of restrictions on what a mounted OneDrive can
>do -- a similar list of illegal characters in filenames (?, *, : and
>so on) to Windows and Sharepoint. (OneDrive is in effect Sharepoint
>on the public Internet.)
>
>You also lose all Linux metadata such as permissions.

Can you get around that with archives in which all those things are
preserved?

>A big restriction is that max file size is limited and it's only
>about 250 MB. So I will be investigating the use of ``dar`` to break
>my backups into smaller chunks.

That's also good to know and easily handled.

>The free OneDrive gives you 5 GB which is not insignificant and
>honestly I could probably get all my important personal stuff into
>that.
>
>However my work account gives me 5 *TB* -- a lot of space and enough
>for images of all 3 of my work machines, if I can work out a way to
>do it.

I'd definitely experiment with smaller amounts of data at first, but
whatever method you choose should scale.

-- 
Little Girl

There is no spoon.




More information about the ubuntu-users mailing list