Forum Discussion
How to use OneDrive for Backup on Mac
- Dec 17, 2016
Thanks for your reply Ben - Actually I have been using OneDrive for backup since november 15th with great succes, as you mentioned im using Symbolic links using the software MacDropAny and it works great :)
I just signed up for office 365 HOME, and was 100% sure that i could live with the "flaw" that onedrive only backed up desktop, pictures and documents (who needs 1 TB documents and desktop.. ok perhaps pictures, but why not my whole pc)
ok so got home after signing up.. installing onedrive on mac.. and .. wait what.. i can only stick stuff on onedrive by having an extra copy on my macdrive, ? .. so it will take up space 2x on mac and i can not even choose to auto sync from desktop til that folder... or i can move my whole mac into the onedrive folder... well that is a deal breaker for me (and my family that uses mac.. well back to icloud i guess)
RygaardDK Old tread but anywat. After update to macOS Catalina - I had to move awy from OneDrive as my backup solution. Catalina/MacDropAny/OneDrive do no longer work together as i´m not allowed to create symbolic links. Dropbox works but I went back to iCloud an that is now my desktop/backup solution. The only problem is that before my PC and Mac desktop was syncronized - now I have to live without this feature.
- Joe-SJan 03, 2020Copper Contributor
I found your thread searching for the same solution, how to backup Mac files/folders to OneDrive when symlinks don't seem to work. https://www.howtogeek.com/204595/how-to-move-special-folders-on-os-x-to-cloud-storage/ has an approach where symlinks can work if you move the original file/folder to the OneDrive folder and replace the original with a symlink sourced from OneDrive. Here is an example where I relocated my ~/.ssh folder to OneDrive.
sudo mv ~/.ssh ~/OneDrive/.ssh
ln -s ~/OneDrive/.ssh ~After these commands the .ssh folder is in the OneDrive folder, and ~/.ssh is just a link to it.
lrwxr-xr-x 1 XXXXXX XXXX 42 Jan 3 09:45 .ssh -> /Users/XXXXX/OneDrive/.ssh
As a test, I connected to a new ssh host, which updates the ~/.ssh/known_hosts file. I confirmed that OneDrive sync client detected the change and synced it to the cloud.
- Glen Ringkøbing JensenJan 10, 2020Iron Contributor
Thanks Joe-S
It worked but only for 2 days, now I lost connection to OneDrive Desktop - Trying to figure out what went wrong
/Glen