how do u backup a hard drive with onedrive?

John Hill 0 Reputation points
2024-07-04T17:59:19.3466667+00:00

i was wondering if there's a way to have onedrive installed on 2 drives at the same time?

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
991 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ganeshkumar R 590 Reputation points
    2024-07-04T18:21:31.04+00:00

    As of now, Microsoft OneDrive does not natively support installing or syncing to two different drives simultaneously on the same machine. OneDrive is designed to sync with a single local directory, which can be located on one specific drive.

    However, You can use symbolic links (symlinks) to create a connection between directories on different drives. This way, OneDrive believes it is syncing to a single directory, but the actual data is spread across multiple drives.

    Steps:

    1. Set Up OneDrive on Primary Drive:
      • Install OneDrive and set up the sync folder on your primary drive (e.g., C:\OneDrive).
    2. Create a Directory on the Secondary Drive:
      • Create a directory on your secondary drive where you want to sync some of your OneDrive data (e.g., D:\OneDriveSecondary).
    3. Create Symbolic Links:
      • Use the mklink command to create symbolic links for the folders or files you want to sync to the secondary drive.
      
         mklink /d C:\OneDrive\SecondaryFolder D:\OneDriveSecondary
      
      
      This command creates a symbolic link named SecondaryFolder in the OneDrive directory on the primary drive, pointing to the directory on the secondary drive.

    Example:

    
    mklink /d C:\OneDrive\Photos D:\OneDriveSecondary\Photos