Backing up to MS OneDrive

Liam Proven lproven at gmail.com
Thu Mar 5 17:19:42 UTC 2020


On Thu, 5 Mar 2020 at 17:41, Little Girl <littlergirl at gmail.com> wrote:
>
>
> I actually feel for you after watching this thread unfold.

:-) Thank you!

> 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!

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.

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.

To get the prompt  back, add ``--daemon`` to the end. Then rclone goes
into the background and you can use the drive like a regular one.

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.

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.

Amanda looks quite complex and has a server end as well as a client
end, so I don't think it will help here.

I tried with ``tar`` but once the file hits the max size, my Xfce
session hung and I had to reboot from a vconsole. In fact I had to
power-cycle the machine after that.

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.

-- 
Liam Proven – Profile: https://about.me/liamproven
Email: lproven at cix.co.uk – gMail/gTalk/gHangouts: lproven at gmail.com
Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven
UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053




More information about the ubuntu-users mailing list