Short answer: OneDrive is sync. Files On-Demand and Known Folder Move both make OneDrive feel like a backup, and neither changes what happens when you delete something.
The space is worth using. OneDrive needs a proper backup written into the space. Live files pointed at the space are a different thing.
OneDrive does more than a plain sync folder, and both of the extras look like backup from a distance.
Known Folder Move redirects your Desktop and Documents into OneDrive. Microsoft's own interface has described this as backing up those folders, and the feature is a reasonable thing to switch on. What the feature does is move where the folders live. There is still one copy of each file, the copy is still synchronized, and deleting a file still removes the file everywhere.
Files On-Demand keeps placeholders on the Mac and downloads a file when you open the file. Useful, and Files On-Demand means most of your OneDrive is not on your Mac. If that is on, the copy you thought was local is a pointer, and there is one full copy, held by Microsoft.
Neither is a criticism. They are good features that answer a different question from the one a backup answers.
Thirty days catches the mistake you notice. Thirty days does not catch the file quietly corrupted eighteen months ago, which is the case an archive exists for, because nobody notices that within a month.
Modern versions of the client mount under the same place as every other provider:
ls ~/Library/CloudStorage/
You will see a OneDrive-Personal or OneDrive-YourOrg folder. Anything
that can write to a folder can write there, which is all a backup tool needs.
OD=$(ls -d ~/Library/CloudStorage/OneDrive* | head -1)
tar -cJf - ~/Documents | openssl enc -aes-256-cbc -pbkdf2 -out "$OD/documents.tar.xz.enc"
shasum -a 256 "$OD/documents.tar.xz.enc" > "$OD/documents.sha256"
And later:
shasum -a 256 -c "$OD/documents.sha256"
With Files On-Demand switched on, be aware that reading the archive back to hash the archive pulls the whole thing down again. On a large archive the download is slow, and on a metered connection the download is expensive.
As with every third-party provider, macOS gives no supported way to ask whether a file in the OneDrive folder has finished uploading. The tick in Finder is drawn by Microsoft's own File Provider extension and no other software can read the tick.
So for some period after a backup is written, the second copy you believe you have is bytes on the same disk as the first. Copy Shelter counts only copies Copy Shelter has verified and says which state Copy Shelter has actually established.
A Microsoft 365 subscription usually comes with a terabyte nobody is using. That is a good off-site destination, and off-site is the copy most people do not have.
Copy Shelter writes an encrypted, versioned repository into a folder like that one. Everything is encrypted on the Mac with a key generated there and never transmitted, so your files are unreadable to Microsoft and to anybody who gets into your account. Deleting a file on the Mac does not remove the file from the backup. Old versions stay until you decide otherwise. No 30 day counter discards them. And the backup is read back and checked against its hashes on a schedule, so you find out on an ordinary Tuesday. Lite covers one location, and there is no storage bill from us, because the storage is already yours.
No. Known Folder Move changes where your Desktop and Documents live so the folders are synchronized. There is still one copy of each file, and deleting one removes the file from every device. Known Folder Move is worth switching on and Known Folder Move is not an archive.
About 30 days in the recycle bin on a personal account, then the bin empties. Business and Microsoft 365 plans differ, sometimes considerably, so check the retention on your own plan.
In transit and at rest on their servers, with keys they hold. That protects against a stolen disk in a data center. Encryption on their servers does not stop Microsoft, or anybody who gets into your account, from reading the files. Encrypting before upload is the only version that is yours.
If your OneDrive is the only place some files exist, yes, because On-Demand means those files are not on your Mac at all. If OneDrive is a destination and your only copy lives elsewhere, leave Files On-Demand on and let the backup be the thing that is complete.
Yes. A deduplicated and compressed backup is usually smaller than the files the backup protects, but the backup still takes space, and the backup shares the quota with everything else in the account.
Related: Dropbox, Google Drive, Proton Drive and iCloud Drive.