When comparing duplicity vs Microsoft OneDrive, the Slant community recommends duplicity for most people. In the question“What are the best personal file-syncing solutions?” duplicity is ranked 15th while Microsoft OneDrive is ranked 26th. The most important reason people chose duplicity is:
Data is encrypted locally before being sent, and kept encrypted by a key that is never stored on the remote machine. So you might even store your data on a public space, people would still need your key or brute force it.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Encrypted locally before sending (using GnuPG)
Data is encrypted locally before being sent, and kept encrypted by a key that is never stored on the remote machine. So you might even store your data on a public space, people would still need your key or brute force it.
Pro Bandwidth and space efficient
Duplicity uses the rsync algorithm so only the changed parts of files are sent to the archive when doing an incremental backup. For instance, if a long log file increases by just a few lines of text, a small diff will be sent to and saved in the archive. Other backup programs may save a complete copy of the file.
Pro Versioning and incremental backup
You can retrieve older versions or files you recently deleted locally even after having updated your backup.
Pro Free and open-source
Licensed under GNU GPL v2.
Pro Works with scp/ssh, ftp, rsync, Amazon S3...
Duplicity does not make many demands on its archive server. As long as files can be saved to, read from, listed, and deleted from a location, that location can be used as a duplicity backend. Besides increasing choice for the user, it can make a server more secure, as clients only require minimal access.
Pro Has a Dockerized image
Docker allows to run programs on any Linux without having to really install them, and allows to manage versions so it runs exactly the same on different machines.
Pro Integrates with Microsoft Office software
It integrates with Word, Excel, PowerPoint, etc as if you were using OneDrive locally.
Pro Share files and folders easily
You can choose what files and folders to share with other people then send them a link.
Pro No setup for Windows 8/8.1/10
If you use Windows 8 or later, OneDrive is already built in your system and can be accessed via file explorer.
Pro Collaboration via Office 365
If you use Office 365 with OneDrive, you can share a file to edit collaboratively in real time.
Pro Photos taken with a smartphone can be set to automatically upload to OneDrive
When Android, iOS and Windows Phone users take a photo with their phone it can be set to automatically upload to OneDrive via app.
Pro Offers 15GB of storage for free
Pro Unlimited storage for Office 365 users
Cons
Con You have to invest a few minutes in setup time

Con No client for Linux
No client for Linux.
Con Old versions and deleted files aren't available online, just on one computer.
On some other services you can see previous versions and deleted files for a time, but with OneDrive, these are only available on the computer the edit was made. So if someone who has write permission on your shared folder deletes your stuff you just have to ask them to go in their recycle bin (and hope they didn't empty it!), which makes it less useful for teams.
Con Online OneDrive are slow
Compared to other cloud storage, the web interface of Onedrive is slow. It got a slight delay on every action like opening a folder, delete, etc.
Con Recycle bin doesn't support replace
Imagine you have 100 folders to be restored, and they cannot be restored because existing folder is already in your main folder and you intend to overwrite them but they don't support it.
Con Time limit for inactivity
Based on OneDrive's terms of service, no account login within one year will be automatically terminated.
Con Strictest code of conduct
Terms of Service forbid any kind of nudity, or that incites, advocates, or expresses pornography or racism among other things.
