Home

Blog

Fatcats BBS

Popular Projects
DrugLord, a Dope Wars style door game
FatFish, a fishing simulation door game
Haiku OS ports and stuff
SyncHack, multiplayer rogue-like BBS shell
Synkroban, Sokoban for Synchronet

10/03/2017 13:05 GMT | How to link any directory to OneDrive
With 1TB of OneDrive storage per user (up to 5 users) on Office 365 Home editions, that gives plenty of space to back up substantial amounts of data.

But how you can backup anything outside your OneDrive folder from other disks, network shared folders, etc?

Easy: mklink.exe is your friend. Simply create a directory link (/d argument) in an administrative command prompt, inside your OneDrive folder:

- Open an Administrative Command Prompt.
- Browse to some point within your OneDrive directory, for example:

> cd C:\Users\big_jokester\OneDrive\Backups

Example 1: Network Share
> mklink /d example1 "\\NAS\thingy\example1"
symbolic link created for example1 <<===>> \\NAS\thingy\example1

Example 2: Folders on other Disks
> mklink /d example2 "Z:\thangy\example2"
symbolic link created for example2 <<===>> Z:\thangy\example2

You can use mklink to add as many directory links as you want. This avoids having to duplicate data locally inside the OneDrive folder. It's fine when you've only got a few GB of storage, but having everything residing inside one folder is a nightmare when you have 1 TB of data.

One of the benefits of OneDrive is that it actually uses my full upstream bandwidth, it doesn't rate limit me like some other cloud backup apps.

Enjoy!

Click here for past posts.

Show/Hide Comments